summaryrefslogtreecommitdiff
path: root/compiler/optimizing/execution_subgraph.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2021-05-20 14:35:51 +0100
committerVladimir Marko <vmarko@google.com>2021-06-03 09:20:40 +0100
commit61437483485304896f12fe35c587d3d699e6f86e (patch)
treef7e1d628aec063e482228d485138164e8e4ccf94 /compiler/optimizing/execution_subgraph.h
parent32de2a5a4eb44227896696be75f0f3d7673bcb52 (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. (cherry picked from commit dd446b17bedb28838f5866f7c29fb47265f332fc) 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 Merged-In: I76276d61551c16f532a0e34289bab4acb61b30c6 Change-Id: I0156b5ce27d14248606b5587505edb278a2a9c86
Diffstat (limited to 'compiler/optimizing/execution_subgraph.h')
0 files changed, 0 insertions, 0 deletions