diff options
author | Alex Light <allight@google.com> | 2019-12-06 10:49:17 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2019-12-10 22:51:35 +0000 |
commit | abd8f052512fa2bb404f1eb0a42ffe0e5d802b7e (patch) | |
tree | 28bec78b6866aae9713c9eb471680c7aa4fb746b /compiler/optimizing/graph_visualizer.cc | |
parent | 3bdb97798d9a00c498833e00b49927f62b9e7f90 (diff) |
Proactively dequicken on debuggable switch.
Previously we would generally not really consider dex2dex quickening
with debuggable processes. This could cause problems for structural
redefinition since the -quick opcodes are incompatible with the types
of changes structural redefinition allows. Furthermore this can cause
some unexpected behavior where (for example) check-casts might appear
to pass even if debugger activity should cause it to fail.
In order to fix these issues we make the runtime more proactively
dequicken dex-files when we start or switch to JAVA_DEBUGGABLE mode.
Test: ./test.py --target --host
Test: adb install -t ~/misc/Bandhook-Kotlin/app/build/outputs/apk/debug/app-debug.apk && adb shell monkey -p com.antonioleiva.bandhookkotlin -c android.intent.category.LAUNCHER 1
Bug: 134162467
Bug: 144168550
Change-Id: I2673c91b72ae7048d2ff71a1cf68cf552d4e8004
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions