diff options
author | Ulya Trafimovich <skvadrik@google.com> | 2021-03-02 12:25:02 +0000 |
---|---|---|
committer | Ulya Trafimovich <skvadrik@google.com> | 2021-03-02 12:32:23 +0000 |
commit | 4a13acb07d254aba1a3143ca0c27ead1905b863c (patch) | |
tree | f98d95e92fec6dfc51529ce7310989dd84509c43 /java/java.go | |
parent | fe927a265e260aa70e95e2cb4cadd0e00ea62728 (diff) |
Use compiler filter "verify" for dexpreopt w/o class loader context.
In cases when class loader context cannot be computed at build time and
verify_uses_libraries check is relaxed (RELAX_USES_LIBRARY_CHECK=true)
dexpreopt uses a special compiler filter that suppresses AOT-compilation
to native code and applies only those optimizations that do not require
class loader context. Previously the "extract" filter was used. Now ART
supports using "verify" filter in this configuration.
Bug: 132357300
Test: lunch cf_x86_64_phone-userdebug && m && launch_cvd \
adb wait-for-device && adb root && adb logcat \
| grep -E 'ClassLoaderContext [a-z ]+ mismatch'
# empty grep output, no errors
Change-Id: Id4933aa94ea96894278355283383c16d103e98c9
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions