diff options
| author | Vladimir Marko <vmarko@google.com> | 2020-02-20 17:07:55 +0000 |
|---|---|---|
| committer | Vladimir Marko <vmarko@google.com> | 2020-02-24 14:16:09 +0000 |
| commit | f639bf4c6b542553f727dc1a3262d9a4fd887fe5 (patch) | |
| tree | 3f9b226a7a546665a7da18a375e48576251fcd53 /test/MultiDexModifiedSecondary | |
| parent | 26f7d102394748f8ec5f8c5342bf55e21bfb8ba5 (diff) | |
Avoid dex2dex initialization if not compiling.
Reduces the compilation time for the boot image extension
in memory by ~0.1s.
Also record timing for ImageWriter::PreloadDexCaches() and
and fix naming for CompilerDriver::SetVerifiedDexFile()
timing to not be confused with VerifyDexFile().
Test: aosp_taimen-userdebug boots;
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.extra-opts \
"-Ximage-compiler-option --dump-timings"' && \
adb shell start # Starts correctly
# Check dex2oat timing in logcat
Bug: 119800099
Change-Id: I72d1916164906cab593c1437eeb4b3aa094b8493
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions
