summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-06-07 15:18:44 -0700
committerMathieu Chartier <mathieuc@google.com>2017-07-11 13:51:01 -0700
commit5594f11fa8a8a1efc24d1b258592f68cf462eec8 (patch)
tree8b077a4ee54f0c49aaced410f57ce03a7467a7a0 /compiler/optimizing/codegen_test_utils.h
parent65f1c2edd02f3936aef94c7313932069e66a1167 (diff)
Record post startup methods in profile
Record post startup methods in the profile by visiting the methods for all the loaded classes. This data will be used for layout optimizations and generating the boot image profile. The maps profile size doesn't seem to get larger after doing a basic post launch use case. The change in profile size is hard to reliably measure. Verified by dumping a profile with profman and confirming that there are post startup methods in the profile. Added test to 595-profile-saving. Did a test for maps to see how long we hold the class table lock. The results are 4ms in the longest case. This should be short enough to not cause jank if run every 20s or so. Test: test-art-host Bug: 36457259 Change-Id: I82e36957fcdc8d9e072c0193478bd1ef0ce09a67
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions