summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-05-20 14:35:51 +0100
committer Vladimir Marko <vmarko@google.com> 2021-06-02 08:38:20 +0000
commitdd446b17bedb28838f5866f7c29fb47265f332fc (patch)
tree452e7b258216b720a9407ab0255a01636f0135e6 /libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp
parent20e77ff50047e62e90b3ce9b7849777ffcd55b0d (diff)
Collect array classes in profiles.
Collect array classes including primitive array classes for boot class path profile. Do not exclude resolved erroneous classes, they can still be useful as resolved even if the runtime intialization fails. Optimize the performance, especially the time we need to hold the mutator lock. Use that fact that most `ArtMethod` members can be queried without the mutator lock. Remove the GC critical section as it is unnecessary. Test: Collect a profile by manually running steps from BootImageProfileTest#testSystemServerProfile, pull and dump the profile and check that there are many array classes, including "[[[B" and "[[[I". Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --speed-profile Bug: 148067697 Change-Id: I76276d61551c16f532a0e34289bab4acb61b30c6
Diffstat (limited to 'libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp')
0 files changed, 0 insertions, 0 deletions