summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-07-06 10:04:35 +0100
committerVladimir Marko <vmarko@google.com>2018-07-20 13:55:09 +0100
commit6121aa69098e3496cf1a81bf3e5e7ae70f66eacb (patch)
tree4a09aaee7669821725b33f8d7c5a7fe087b5f324 /compiler/optimizing/codegen_test_utils.h
parent6250dfa22577160b270f3f3165260739707cf7d3 (diff)
Move .art.rel data to a section in .art, part 2.
And change the encoding to reduce the size of the data. Keep the checksum in the .art.rel file, it shall be removed later together with patchoat. Boot image sizes for aosp_taimen-userdebug: - before: arm/boot*.art: 9216000 arm/boot*.art.rel: 700767 arm64/boot*.art: 11399168 arm64/boot*.art.rel: 700808 oat/arm64/services.art: 192512 - after: arm/boot*.art: 9499351 (+276.7KiB) arm/boot*.art.rel: 480 (-683.9KiB) arm64/boot*.art: 11750203 (+342.8KiB) arm64/boot*.art.rel: 480 (-683.9KiB) oat/arm64/services.art: 202466 (+9.7KiB) Note that the new section is currently uncompressed in the boot image but we have the ability to compress it in the future using the same compression as the heap data. The extra data we now encode in app images is unused so far but it shall permit fast in-memory patching without looking at object types. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: Pixel 2 XL boots. Test: testrunner.py --target --optimizing Bug: 77856493 Change-Id: I20c9bed9797ce0f23f39c2fb0d64320b457e18d4
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions