summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-01-16 13:20:01 +0000
committer Mythri Alle <mythria@google.com> 2023-01-18 16:29:26 +0000
commit95d135717c29a94b07cbe90390568dc13152a566 (patch)
tree05b6e55ccf700e09043d0df6424a8a24237315a2 /compiler/optimizing/code_generator.cc
parent5cbed863e5ce65d311459338e7109a187c31eff0 (diff)
Don't turn off method exit hooks if a frame needs force deopt
Check if there is any frame on the stack that requires a force deopt before turning off method entry / exit hooks. JITed frames are marked for a force deopt after structurally redefining any method. Since the offsets of the fields are embedded in the JITed code it's not safe to use the code. As long as some frame on the stack requires a force deopt we enable method exit hooks. Bug: 206029744 Test: art/test.py Change-Id: Iad9a6c79f96f41a55ab1d24a52662d37fc8e7e64
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions