summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-20Add support for aggregation counters in the profile Calin Juravle
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
2018-12-11Merge "Add buildbot target using linux_bionic zipapex" Alex Light
2018-12-11Merge "Revert "Add ICU's .dat to the runtime APEX"" Neil Fuller
2018-12-11Revert "Add ICU's .dat to the runtime APEX" Neil Fuller
This reverts commit 3b2319008cb95051dfeef3422c463db290fb0c23. Reason for revert: Broke ART test environments and emulator devices. Bug: 119293618 Change-Id: Ibad58feac6a919452d2da2437309e40d2480afcf
2018-12-11Merge "Add ICU's .dat to the runtime APEX" Neil Fuller
2018-12-11Merge "Cleanup native debug interface api." David Srbecky
2018-12-11Cleanup native debug interface api. David Srbecky
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
2018-12-11Merge "Refactor image object visitors for image relocation" Mathieu Chartier
2018-12-11Merge "ART: Fix or nolint cert-dcl16-c" Andreas Gampe
2018-12-10Merge "veridex: fix a sketchy switch scope" Treehugger Robot
2018-12-10Merge "Remove denver from art" Haibo Huang
2018-12-10Add buildbot target using linux_bionic zipapex Alex Light
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
2018-12-10ART: Fix or nolint cert-dcl16-c Andreas Gampe
Bug: 32619234 Bug: 120614316 Test: m Change-Id: I9ab82cbf3bdcb52a2f85e37d06bbd6d8f415cb15
2018-12-10Refactor image object visitors for image relocation Mathieu Chartier
Repurpose the boot image visitors for future use in app images. Test: test-art-host Bug: 116052292 Change-Id: Ic3b30bb0450ce8533f4d93d694b9916f2b2eff12
2018-12-10Merge "Revert "RFC: ART: ARM64: Support SDOT/UDOT instructions."" Nicolas Geoffray
2018-12-10Revert "RFC: ART: ARM64: Support SDOT/UDOT instructions." Nicolas Geoffray
This reverts commit 3a16a8f56e989a13419abb554a6f14a9a35570b7. Reason for revert: Didn't realize the instruction set on pixel3 is still in progress. bug: 120778346 Change-Id: Ib9b037d4ff98a9ff2b1db695c036f2a58746e3f3
2018-12-10Merge "ART: Clean up base/utils.h" Treehugger Robot
2018-12-10Merge "ART: Hide mutex in TimingLogger" Treehugger Robot
2018-12-10Merge "ART: Hide Mutex & ConditionVariable in Barrier" Andreas Gampe
2018-12-10Merge changes I347037eb,Iaeb79aeb Alex Light
* changes: Make PrettyMethod note when a method is obsolete Adjust instrumentation CHECK to be correct WRT obsolete methods
2018-12-10Merge "Create thread pool only during app image loading" Mathieu Chartier
2018-12-10Merge "Fix ComputeModifiedUtf8Hash()." Treehugger Robot
2018-12-10Merge "Support specifying multiple implicit member signatures per class" Paul Duffin
2018-12-10Fix ComputeModifiedUtf8Hash(). Vladimir Marko
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
2018-12-10Merge "RFC: ART: ARM64: Support SDOT/UDOT instructions." Treehugger Robot
2018-12-10Merge "ART: fix overflow in weighted allocated bytes metrics" Treehugger Robot
2018-12-10Create thread pool only during app image loading Mathieu Chartier
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
2018-12-10Merge "Store additional information in image header." Vladimir Marko
2018-12-10Store additional information in image header. Vladimir Marko
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
2018-12-10Merge "Fix scheduler_stats may resize to negative value" Treehugger Robot
2018-12-10Fix scheduler_stats may resize to negative value Evan Cheng
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
2018-12-10Merge "Revert^2 "Pass boot class path to ImageSpace::LoadBootImage."" Vladimir Marko
2018-12-09Add ICU's .dat to the runtime APEX Neil Fuller
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
2018-12-08Merge "Duplicate small time zone files in runtime apex" Neil Fuller
2018-12-08Merge "Remove CHECK given jvmti deallocates memory." Nicolas Geoffray
2018-12-08Remove CHECK given jvmti deallocates memory. Nicolas Geoffray
Missed from https://android-review.googlesource.com/c/platform/art/+/844516 bug: 120632268 Test: com.android.server.wifi.test Change-Id: I18eacc329ddb7a3708e45fc2b4fefe448c8757f2
2018-12-08Merge "Fix ModifyCardsAtomic comment" Hans Boehm
2018-12-07Make PrettyMethod note when a method is obsolete Alex Light
This should make debugging issues surrounding obsolete methods easier. Test: ./test.py --host -j72 Change-Id: I347037eb77fe9790a99ff9cd5f87faeb795d2ee2
2018-12-07Adjust instrumentation CHECK to be correct WRT obsolete methods Alex Light
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
2018-12-07Fix ModifyCardsAtomic comment Hans Boehm
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
2018-12-07Merge "ART: Hide mutex in Instrumentation" Treehugger Robot
2018-12-07Revert^2 "Pass boot class path to ImageSpace::LoadBootImage." Vladimir Marko
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
2018-12-07ART: fix overflow in weighted allocated bytes metrics Albert Mingkun Yang
Test: Run art with -XX:DumpGCPerformanceOnShutdown on some benchmarks. Bug: 112187497 Change-Id: I59f7e8998ee055aac28e50884fcabf19b48fbf17
2018-12-07Merge "ART: Set Runtime fault message on abort" Andreas Gampe
2018-12-07Merge "Revert "Pass boot class path to ImageSpace::LoadBootImage."" Vladimir Marko
2018-12-07Revert "Pass boot class path to ImageSpace::LoadBootImage." Vladimir Marko
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
2018-12-07Merge "Remove CHECK and don't free code/data in zygote space." Nicolas Geoffray
2018-12-07Support specifying multiple implicit member signatures per class Paul Duffin
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
2018-12-07Remove CHECK and don't free code/data in zygote space. Nicolas Geoffray
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
2018-12-07Merge "Add xz decompression method." David Srbecky