| Age | Commit message (Collapse) | Author |
|
The profile can be configured to keep track of aggregation counters for
methods and classes.
On device, this is particular useful for the boot image profile. When
aggregating multiple profiles into one and keep track of counters we can
tell:
1. how many times we aggregated a method or a class. This tells us how
popular is a particular method or class amongst the apps.
2. how many times we aggregated the profile. This tells how many apps
contributed to the profile (on a single device).
NOTE: This expands the memory footprint and makes the aggregation slower.
As such it is disabled by default and not intended to use for the regular
profiling path of apps in prod.
Test: profile_compilation_info_test, profile_assistant_test
Bug: 112617266
Change-Id: I731abf31f65b12bf405c77fb7803bb0bda3b9908
|
|
|
|
|
|
This reverts commit 3b2319008cb95051dfeef3422c463db290fb0c23.
Reason for revert: Broke ART test environments and emulator devices.
Bug: 119293618
Change-Id: Ibad58feac6a919452d2da2437309e40d2480afcf
|
|
|
|
|
|
Strongly type the DEX file arguments.
Remove the need for callers to worry about locks.
Use std::map instead of std::unordered_map internally.
Test: ./art/test.py -b -r -t 137
Change-Id: I8bd79b796b5c7da265afc43a07ed227f550116c7
|
|
|
|
|
|
|
|
|
|
Adds art-linux-bionic-x64-zipapex target config. This target uses
binaries from the com.android.runtime.host zipapex to execute the art
run-test suite.
Test: ./test/testrunner/run_build_test_target.py -j72 art-linux-bionic-x64-zipapex
Bug: 120436895
Change-Id: Ie0cb1b7489f698dfb4f7f6d01a4c99701343cfff
|
|
Bug: 32619234
Bug: 120614316
Test: m
Change-Id: I9ab82cbf3bdcb52a2f85e37d06bbd6d8f415cb15
|
|
Repurpose the boot image visitors for future use in app images.
Test: test-art-host
Bug: 116052292
Change-Id: Ic3b30bb0450ce8533f4d93d694b9916f2b2eff12
|
|
|
|
This reverts commit 3a16a8f56e989a13419abb554a6f14a9a35570b7.
Reason for revert: Didn't realize the instruction set on pixel3 is still in progress.
bug: 120778346
Change-Id: Ib9b037d4ff98a9ff2b1db695c036f2a58746e3f3
|
|
|
|
|
|
|
|
* changes:
Make PrettyMethod note when a method is obsolete
Adjust instrumentation CHECK to be correct WRT obsolete methods
|
|
|
|
|
|
|
|
Explicitly cast the character to uint8_t so that we do not
produce different results depending on whether the platform
has a signed or unsigned char.
Test: Additional test in utf_test.
Bug: 120749178
Change-Id: Icf329baa9eb95c2db820b51873e72d95aabf398e
|
|
|
|
|
|
Prevent having a persistent thread pool that is only used during app
image loading. This saves RAM.
Bug: 116052292
Bug: 120622973
Test: test-art-host
Change-Id: I79ff75d593e001a6c48d50b95865550a24772078
|
|
|
|
Store the reservation needed for loading the boot image and
the number of boot class path components. The former helps
avoid one extra file open+read+close when loading the boot
image and the latter shall be used in subsequent CLs to load
boot image for a partial boot class path.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: Pixel 2 XL boots.
Bug: 119868597
Change-Id: I01dba923cfa3f8faf0e41a4139b8913c78404d54
|
|
|
|
scheduler_stats will be empty when thread had been exited.
Test: This issue occurred on MTBF-Monkey test, however,
the root cause can be verified on the source code.
Change-Id: Ie8e61683126432aa03edef9ebbbf4baaadbdeafd
|
|
|
|
Add ICU's .dat to the runtime APEX
There are associated changes in libcore
to reference the new location instead of /system.
There is an associated change in external/icu
to remove the /system copy of the file.
Bug: 119293618
Test: build / boot
Change-Id: I4400e5b3b6f92448117c8273fb649ec4cb03c6a1
|
|
|
|
|
|
Missed from https://android-review.googlesource.com/c/platform/art/+/844516
bug: 120632268
Test: com.android.server.wifi.test
Change-Id: I18eacc329ddb7a3708e45fc2b4fefe448c8757f2
|
|
|
|
This should make debugging issues surrounding obsolete methods easier.
Test: ./test.py --host -j72
Change-Id: I347037eb77fe9790a99ff9cd5f87faeb795d2ee2
|
|
Some instrumentation sanity-check code didn't take into account
obsolete methods and so could sometimes spuriously fail if the right
sequence of redefines and deoptimizations occur.
This can occur if one tries debugging a test using inline-mockito, for
example.
Test: atest -wbit RecentsAnimationTest and attach debugger with
breakpoint in test
Test: ./test.py --host
Bug: 120630577
Change-Id: Iaeb79aebb084990b397e59f56a186e0feaffd654
|
|
The function doesn't behave as it was previously specified. Its
actual semantics are arguably ugly, but that doesn't really seem to
break anything. Just specify what it really does, and add DCHECK
to validate previously undocumented assumption.
Deduplicate the comment.
Update card_table_test, so it no longer invokes ModifyCardsAtomic
with a now disallowed visitor. This was OK, because it's applied
to a card table containing no zeroes, and hence the misbehaving
visitor didn't matter. Now we check.
Test: Treehugger.
Change-Id: Id1ba1cb39c709a33c362d4e386ddcb065bd39049
|
|
|
|
This reverts commit db4b1deebf425be5f1d0f597d1ef540f19908324.
Fixed JDWP tests, see "Test:" stanzas below.
Change-Id: I6fb56ac990b78164cbd3f93c9f6df66e0dd9a813
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: Pixel 2 XL boots.
Test: m test-art-target-gtest
Test: testrunner.py --target --optimizing
Test: run-libcore-tests.sh --mode=device --variant=X64
Test: run-jdwp-tests.sh --mode=host --variant=X64
Test: run-jdwp-tests.sh --mode=device --variant=X64
Bug: 119868597
|
|
Test: Run art with -XX:DumpGCPerformanceOnShutdown on some benchmarks.
Bug: 112187497
Change-Id: I59f7e8998ee055aac28e50884fcabf19b48fbf17
|
|
|
|
|
|
This reverts commit d19085141ad9c71eae1b0ff585999ac8e27dadd4.
Also squash a revert of
Fix oatdump tests on target.
(commit 77eea0898aca2881a87afd177a0422870c39a318)
Reason for revert: Broke JDWP tests.
Bug: 119868597
Change-Id: I005097d2d96014c961e5a4c0b089e7675004febc
|
|
|
|
Add support for processing implicitMember property for
UnsupportedAppUsage and also for handling repeated
UnsupportedAppUsage annotations.
Bug: 119861512
Test: atest class2greylisttest, m -j20 framework
Change-Id: I4cb86b3f23160c06e06894974d44eeff4e7d2d27
|
|
jvmti can redefine classes and request free-ing code generated
by the zygote. In this case, don't free the memory, as that would
actually lead to dirty memory, which is opposite the idea of
saving memory.
bug: 120653173
Test: com.android.server.wifi.test
Change-Id: I8552f075e68e6646f06842a8abf7ec65da6be292
|
|
|