summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-10-12 11:27:58 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2022-10-13 06:59:13 +0000
commit76ba256abebc903df767837c6b15bb42960bec4a (patch)
tree301c6883cdbd8381301c54d3db27ceb20055faa5 /dex2oat/driver/compiler_driver_test.cc
parentebd76406bf5fa74185998bc29f0f27c20fa2e683 (diff)
ART: Faster debug build image checks.
Rewrite `ImageChecker` to make debug build checks faster. The `Runtime` initialization for each gtest that uses the boot image is roughly halved on a certain low end device. Verify only the objects in the image being added. Verifying all heap objects was unnecessarily repeating the work for previosly added images. (Note that chroot on-device testing is currently using a multi-image boot image.) Avoid read barriers as there can be no GC at that point, make the pointer size a template argument and simplify some other bits. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: run-gtests.sh Test: testrunner.py --target --optimizing Change-Id: I44ccd8e302bde9f88844a452863365865da4ba50
Diffstat (limited to 'dex2oat/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions