Age | Commit message (Collapse) | Author |
|
Change-Id: I4894b9c0e5cf5d4a6814466cde3b27d77151fbe1
|
|
Change-Id: Idd3adbb74e6b7c4d503740d0902875df4bd8661e
|
|
Change-Id: Ib0f86fd3b44c2f41e64b9d89fc74b2c65163e032
|
|
When opening and closing activities in Settings, a significant amount of
CPU time is spent checking whether ATrace tags are enabled, as measured
by simpleperf:
0.12% /system/lib64/libcutils.so atrace_get_enabled_tag
ART debug tracing (via PALette) is responsible for a significant
portion of the time spent in the checks:
0.10% 0.07% /system/lib64/libcutils.so atrace_get_enabled_tags
|
-- atrace_get_enabled_tags
|
|--30.47%-- PaletteTraceEnabled
| |
| |--96.11%-- art::Monitor::TryLock(art::Thread*, bool)
| | void art::Monitor::Lock<(art::LockReason)1>(art::Thread*)
| | art::Monitor::MonitorEnter(art::Thread*, art::ObjPtr<art::mirror::Object>, bool)
| | artLockObjectFromCode
| | art_quick_lock_object_no_inline
| | |--8.63%-- [hit in function]
| | |
| | |--18.62%-- android.os.Parcel.obtain
|
|--2.44%-- PaletteTraceIntegerValue
| |
| |--25.86%-- art::mirror::String::AllocFromModifiedUtf8(art::Thread*, int, char const*, int)
| |
| |--22.90%-- art::mirror::Object* art::gc::Heap::AllocLargeObject<false, art::mirror::SetLengthVisitor>(art::Thread*, art::ObjPtr<art::mirror::Class>*, unsigned long, art::mirror::SetLengthVisitor const&)
| |
| |--19.85%-- artAllocArrayFromCodeResolvedRegionTLAB
| |
| |--19.71%-- art::mirror::String::AllocFromUtf16(art::Thread*, int, unsigned short const*)
| |
| --11.70%-- art::mirror::Object::Clone(art::Handle<art::mirror::Object>, art::Thread*)
We aren't going to use ATrace for ART in production systems, so disable
debug tracing in non-debug builds.
Test: simpleperf record -a; verify that PaletteTraceEnabled no longer
appears under atrace_get_enabled_tags
Change-Id: If5cdb18adb17b04f5f7eb7c59cfb3f9ceaecb5be
|
|
Setting this to true effectively disables the zygote native fork
loop, either for testing/measurement purposes, or as a fallback.
Bug: 192020504
Test: Check logcat with and without the flag.
Change-Id: I83c401d21ae2797442011d9ac6f23c78990920bd
|
|
... to allow the zygote to check whether it needs to keep the jit thread
around.
Bug: 159631815
Bug: 174211442
Test: Boot AOSP
Change-Id: I4d32aee36993cf063d2464d839f2cabda1ee8ff5
|
|
Porting a part of StringFactory.newStringFromBytes from libcore to
native
for UTF-8 character set. It can improve the UX score of Antutu v8 a
little
bit.
Only watch UX score. We test 10 times and average the total score.
Bechmark results
- before(Java implementation):
10 times avg,: 13133.9
- after (Native implementation):
10 times avg.: 13324.2
Diff.: +1.4%
Bug: 176514597
Test: ./test.py --host
Change-Id: I6b601c09663b21fdacde7f14b0db1ac4f0a94c0f
|
|
staging/lineage-18.1_merge-android-11.0.0_r38
Android 11.0.0 Release 38 (RQ3A.210605.005)
* tag 'android-11.0.0_r38':
Fix dm-test invocation
dex2oat_vdex_test: add missing dependency on core boot image.
dex2oat_vdex_test: add missing dependency on core boot image.
Do not accept vdex with dex sections from .dm files
Do not accept vdex with dex sections from .dm files
Do not accept vdex with dex sections from .dm files
Do not crash on out-of-date oat files.
Do not accept vdex with dex sections from .dm files
Added extra safety in veridex
Change-Id: Ia9861e4c35dc0b3af42a64b8fc285e4066b9165c
|
|
14214972, 14217508, 14216278, 14216279, 14217530, 14217281, 14215011] into rvc-qpr3-release
Change-Id: I9ab828d79dd609f34af2143f906d67160e918337
|
|
Due to a bad merge --copy-dex-files=false was passed to the vdex_cmdline
instead of the dex2oat_cmdline.
Test: test-art-host
Bug: 178055795
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
Change-Id: Ieb6e324232996ec8ad5119fcbf20b81d62678fd2
(cherry picked from commit 6c9431c02e739de83c7c804d64e4a4656d24d55f)
|
|
14161321, 14164586, 14163920, 14161700] into rvc-qpr3-release
Change-Id: Ib506f255b839b429ef097fb03cb050bad93fac63
|
|
Bug: 178055795
Test: lunch armv8 \
&& rm out/host/linux-x86/framework/x86_64/core.art \
; m SOONG_ALLOW_MISSING_DEPENDENCIES=true \
test-art-host-gtest-dex2oat_vdex_test64
# failed before this CL, now passes
Change-Id: I2bc5dde0916393842cd444d256022c9b1c36343b
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
(cherry picked from commit c60638a44e3d0b78b704665650d58044cf0195e3)
|
|
rvc-qpr3-release
Change-Id: I44b3e9154a119f9fc1b0c336419cbff793a857ef
|
|
image. am: c60638a44e -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 e28d339a00 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14126910
Change-Id: I1c34da3c23986752f79be5d4e8465833ccaf57ee
|
|
Bug: 178055795
Test: lunch armv8 \
&& rm out/host/linux-x86/framework/x86_64/core.art \
; m SOONG_ALLOW_MISSING_DEPENDENCIES=true \
test-art-host-gtest-dex2oat_vdex_test64
# failed before this CL, now passes
Change-Id: I2bc5dde0916393842cd444d256022c9b1c36343b
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
|
|
rvc-qpr3-release
Change-Id: Iab70f1ab3aee6120b1f95b6c9e37874c890b8ec0
|
|
faf5aa5271 -s ours am: dfe674eb22 -s ours am: ce3d558cb0 -s ours am: 6154594587 -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 e28d339a00 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14056893
Change-Id: I541eaee4e407bb6b2626a8589a3dd33bb99d38d6
|
|
faf5aa5271 -s ours am: dfe674eb22 -s ours am: ce3d558cb0 -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 e28d339a00 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14056893
Change-Id: I57d701279566eed0e0bc38b5f18d6a11f89fa82b
|
|
faf5aa5271 -s ours am: dfe674eb22 -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 e28d339a00 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14056893
Change-Id: I27bbaeff52361c61e8b8c7d219ff3e60222bf627
|
|
faf5aa5271 -s ours
am skip reason: skipped by user calin
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14056893
Change-Id: Id1903f98d71ccdd5cfe594f6411431627e83c9dc
|
|
e28d339a00 am: 5d02d201c7 -s ours am: 3cbcdb8bd8 -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 2c4ee9b7ff is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14058121
Change-Id: Iac4a6a906fd3b2a57d6e1ab3eaeb54ae74fae795
|
|
e28d339a00 am: 5d02d201c7 -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 2c4ee9b7ff is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14058121
Change-Id: Idc5ee78099f16ba209c44f7be71e207ba572daf6
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14058121
Change-Id: Id82488c773f0b5d459a6fbacd0e22bc0395c4e5b
|
|
2c4ee9b7ff -s ours
am skip reason: skip tag Change-Id I5b104329af899ea62dc1779800264bad6b5424a4 with SHA-1 eb21b02108 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/14071366
Change-Id: I0e29d917d9cab83ff212b8c2110e4746cd2943ac
|
|
Check that the input vdex does not contain dex files when it originates
from dex metadata files.
(cherry-pick from commit 046cecfed5a4df1e180e3491ba7b566bf50a2026)
(partial cherry-pick from commit
33787687f52798fd5b584edb4c88717d134c367a)
(partial cherry-pick from commit
858cfd81c4fddbc950f9be2e3599b15aabaa501a)
Bug: 111442216
Bug: 178055795
Test: test-art-host
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
Change-Id: I5b104329af899ea62dc1779800264bad6b5424a4
(cherry picked from commit eb21b021080547fbddb446935e5a23ec5db8f8e5)
|
|
Check that the input vdex does not contain dex files when it originates
from dex metadata files.
(cherry-pick from commit 046cecfed5a4df1e180e3491ba7b566bf50a2026)
(partial cherry-pick from commit
33787687f52798fd5b584edb4c88717d134c367a)
(partial cherry-pick from commit
858cfd81c4fddbc950f9be2e3599b15aabaa501a)
Bug: 111442216
Bug: 178055795
Test: test-art-host
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
Change-Id: I5b104329af899ea62dc1779800264bad6b5424a4
|
|
Check that the input vdex does not contain dex files when it originates
from dex metadata files.
(cherry-pick from commit 046cecfed5a4df1e180e3491ba7b566bf50a2026)
(partial cherry-pick from commit
33787687f52798fd5b584edb4c88717d134c367a)
(partial cherry-pick from commit
858cfd81c4fddbc950f9be2e3599b15aabaa501a)
Bug: 111442216
Bug: 178055795
Test: test-art-host
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
Change-Id: I5b104329af899ea62dc1779800264bad6b5424a4
|
|
rvc-qpr3-release
Change-Id: I9192c937c8c6d96add99008bf4333f636f6de39f
|
|
Check that the OatHeader is valid before searching
the key-value store for "debuggable".
(cherry picked from commit ef8c3376a812e943d4e7c4ef96f17e218d11bc7c)
Test: New test in dex2oat_test.cc .
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 179221298
Change-Id: I77585ae3e78d19117e31a6ad0ebee6e32bff8730
Merged-In: Ib10c919883b31b71810cc876fb38105b48a58bcb
|
|
staging/lineage-18.1_merge-android-11.0.0_r32
Android 11.0.0 Release 32 (RQ2A.210305.006)
* tag 'android-11.0.0_r32':
Add SafetyNet logging to JNI::NewStringUTF.
Validate input of JNI::NewStringUTF().
Add SafetyNet logging to JNI::NewStringUTF.
Validate input of JNI::NewStringUTF().
Add SafetyNet logging to JNI::NewStringUTF.
Add SafetyNet logging to JNI::NewStringUTF.
Validate input of JNI::NewStringUTF().
Validate input of JNI::NewStringUTF().
Change-Id: Ie53288d1e8e43cfc2aa198ed8b3595c50c174656
|
|
rvc-qpr3-release
Change-Id: I0b1247a2f62e35f3cbc55eb08fdac1dcdc1353ea
|
|
Check that the input vdex does not contain dex files when it originates
from dex metadata files.
(cherry-pick from commit 046cecfed5a4df1e180e3491ba7b566bf50a2026)
(partial cherry-pick from commit
33787687f52798fd5b584edb4c88717d134c367a)
(partial cherry-pick from commit
858cfd81c4fddbc950f9be2e3599b15aabaa501a)
Bug: 111442216
Bug: 178055795
Test: test-art-host
Merged-In: I5b104329af899ea62dc1779800264bad6b5424a4
Change-Id: I5b104329af899ea62dc1779800264bad6b5424a4
|
|
rvc-qpr3-release
Change-Id: I80e7d42088d3cc6bf62f42dedd7c6e366af50ba1
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13364445
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0eac7e98166d7fa8b1ee02a8c800b5ac10e9f7e0
|
|
We need extra safeguard prevents segfaulting
on run away instructions.
Test: veridex apk, GtsUnofficialApisUsageTestCases
Bug: 177480896
Change-Id: I3779b5f4a675b7d3bf75461019ad2f8740d22a53
Merged-In: I3779b5f4a675b7d3bf75461019ad2f8740d22a53
(cherry picked from commit 7eb5a95d96175ab6bfca3e9b19673443651ac997)
|
|
Userdebug device builds are providing a debug ART module
(com.android.art.debug), which prevents the override_apex()
soong function to properly override com.android.art module,
leading to multiple art modules on a device image.
BUG: 173331738
BUG: 173662703
Test: TH
Merged-In: I0cdc4b43bd56156ba5f0bcbafec77701dede2bb0
Change-Id: Ic9b3d470b86500b5acb70540c0ac2bdb83e775dc
|
|
* This check is redundant as devices that lack
the memfd_create syscall will fail to boot
regardless of the check.
This conditionally reverts commit 51f89d9.
Change-Id: Ife2cebde713e14bd787f48628092650866e2ac09
|
|
rvc-qpr2-release
Change-Id: I0e610ee0d91ac2fba2932c3c47f9e17af075914b
|
|
4b56bb8ce2 am: a575d6f7e4 am: 90825620b4 -s ours am: 340de1c79a -s ours am: dbb1a04dfd -s ours am: beae23cc57 -s ours am: 1b500e8ed2 -s ours am: 47c448bedd -s ours
am skip reason: Change-Id I653db8be0c0a45302f0d1c54285c02d2d052a9f4 with SHA-1 69fc841b84 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13184710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3035ffc2832c6f79538f527d38776ce129410638
|
|
am: 2f2621c48b am: 04e10e45d5 -s ours am: 3a4b50c7c3 -s ours am: ad5529d6cc -s ours am: 1052774e0e -s ours am: 2104c82f69 -s ours am: b95316533d -s ours
am skip reason: Change-Id I683c142fe5972599297d604f775bb8cfe6154bb7 with SHA-1 d0b9403492 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13137935
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3476314d0f6bdae006026c6867461bf3dc7ab42a
|
|
4b56bb8ce2 am: a575d6f7e4 am: 90825620b4 -s ours am: 340de1c79a -s ours am: dbb1a04dfd -s ours am: beae23cc57 -s ours am: 1b500e8ed2 -s ours
am skip reason: Change-Id I653db8be0c0a45302f0d1c54285c02d2d052a9f4 with SHA-1 69fc841b84 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13184710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9512621c44106819a667c92c2fabd47aa3c95edc
|
|
am: 2f2621c48b am: 04e10e45d5 -s ours am: 3a4b50c7c3 -s ours am: ad5529d6cc -s ours am: 1052774e0e -s ours am: 2104c82f69 -s ours
am skip reason: Change-Id I683c142fe5972599297d604f775bb8cfe6154bb7 with SHA-1 d0b9403492 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13137935
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I32e19d9bc60aede6f1471a98c6b9610277311232
|
|
4b56bb8ce2 am: a575d6f7e4 am: 90825620b4 -s ours am: 340de1c79a -s ours am: dbb1a04dfd -s ours am: beae23cc57 -s ours
am skip reason: Change-Id I653db8be0c0a45302f0d1c54285c02d2d052a9f4 with SHA-1 69fc841b84 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13184710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7d8559478927a9653ab0a6355baa220d1cda7c15
|
|
am: 2f2621c48b am: 04e10e45d5 -s ours am: 3a4b50c7c3 -s ours am: ad5529d6cc -s ours am: 1052774e0e -s ours
am skip reason: Change-Id I683c142fe5972599297d604f775bb8cfe6154bb7 with SHA-1 d0b9403492 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13137935
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I14a69f2ef4b397daf2b70c29511abf9c0c0f8c6d
|
|
4b56bb8ce2 am: a575d6f7e4 am: 90825620b4 -s ours am: 340de1c79a -s ours am: dbb1a04dfd -s ours
am skip reason: Change-Id I653db8be0c0a45302f0d1c54285c02d2d052a9f4 with SHA-1 69fc841b84 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13184710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3c15894efefbe052fd1e92e9077592143f2af3f1
|
|
am: 2f2621c48b am: 04e10e45d5 -s ours am: 3a4b50c7c3 -s ours am: ad5529d6cc -s ours
am skip reason: Change-Id I683c142fe5972599297d604f775bb8cfe6154bb7 with SHA-1 d0b9403492 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13137935
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2e486c4d29e34231093eab2f8c8813aab0113f25
|
|
4b56bb8ce2 am: a575d6f7e4 am: 90825620b4 -s ours am: 340de1c79a -s ours
am skip reason: Change-Id I653db8be0c0a45302f0d1c54285c02d2d052a9f4 with SHA-1 69fc841b84 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13184710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie66cdd38c3d6ef6cff79573ba2c47f9e06f326aa
|
|
am: 2f2621c48b am: 04e10e45d5 -s ours am: 3a4b50c7c3 -s ours
am skip reason: Change-Id I683c142fe5972599297d604f775bb8cfe6154bb7 with SHA-1 d0b9403492 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13137935
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7081cce67ed105913c6e91bca96bd1a3ff19185c
|
|
4b56bb8ce2 am: a575d6f7e4 am: 90825620b4 -s ours
am skip reason: Change-Id I9e9ed17377c9723d07169e7bcdbb8e36f995988e with SHA-1 6444277041 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13184710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2ee5ba3bc439ae0453b00958586e281e4dd90a66
|
|
am: 2f2621c48b am: 04e10e45d5 -s ours
am skip reason: Change-Id Ieda5a89b738bbb624872512a400855866e120acd with SHA-1 1358c9faa9 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/13137935
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0cdd065c7d8a2358efc4fc5e6561d2c9554d3c33
|