summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2014-11-26 22:11:27 +0100
committerSebastien Hertz <shertz@google.com>2015-01-17 15:28:49 +0100
commit7f418db815f0eaef5b2f43e1f06fb8773a415494 (patch)
tree12a091013ad3d3a48fbf5a7af5b1499392b3c760 /test/ProfileTestMultiDex/Main.java
parentf2df4941be3c48daee65f2ca1852994240872e4d (diff)
JDWP: fix breakpoint for method in the image
When we set a breakpoint in a compiled method, we deoptimize it by changing its entrypoint so it is executed with the interpreter. However, methods in the image can be called with their direct code pointer, ignoring the updated entrypoint. In that case, the method is not executed with the interpreter and we miss the breakpoint. This CL avoids that situation by forcing a full deoptimization so everything runs with the interpreter. However, if the image has been compiled in PIC mode, we keep using selective deoptimization because direct code pointer is not used in this mode. Bug: 17965285 (cherry picked from commit 6963e44331258b131bcc0599b868ba15902d6d22) Change-Id: I9bf738f89b9eb6d18733503216b376b8a1d181f5
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions