summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2020-03-13 17:19:06 +0000
committerVladimir Marko <vmarko@google.com>2020-03-17 16:09:07 +0000
commit4b90b86153819c84f672eeb25f88247f4ce56931 (patch)
tree2dd843ce8aa679261589473f1f52f9fe6c4dd58b /test/MultiDexModifiedSecondary
parentbf7705509ea10d1f172bd37200ebbb6472a139a3 (diff)
Do not preload dex caches for assume-verified.
And completely clear dex caches when in the pruning phase. The preloading, if requested, will fill it later. This reduces the time it takes to compile the boot image extension in memory by over 120ms on aosp_taimen-userdebug with --compiler-filter=assume-verified. Measured with adb root && \ adb shell stop && \ adb shell setprop dalvik.vm.boot-image \ 'boot.art:/nonx/boot-framework.art!/system/etc/boot-image.prof' && \ adb shell setprop dalvik.vm.image-dex2oat-filter \ assume-verified && \ adb shell 'setprop dalvik.vm.extra-opts \ "-Ximage-compiler-option --dump-timings"' && \ adb shell start # Collect dex2oat lines from logcat. (To avoid dex2oat crashes, we have to revert https://android-review.googlesource.com/1240047 and https://android-review.googlesource.com/1246288 . TODO: Investigate and fix those crashes.) Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots. Test: boot-framework.art checksums are unchanged with the default filter, i.e. "verify" (and therefore all the boot images should be unchanged). Bug: 119800099 Change-Id: I2de4d672accd2272dd39e403dc08f2d608269fa1
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions