summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_simplifier_test.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-01-12 14:08:02 +0000
committer Mythri Alle <mythria@google.com> 2023-01-17 15:43:20 +0000
commita7b75e6b115656a67347c122215f6984bdf15610 (patch)
tree30d95de8d066d51da246dd63aad06a7e8306560e /compiler/optimizing/instruction_simplifier_test.cc
parente63515506c4c5ba01ba98bd990b9500dd7e8bb51 (diff)
Switch to non debuggable only if entry/exit stubs are not required
We used to switch to non-debuggable at the end of method tracing or when jvmti event is being detached without any further checks. When there are multiple instrumentation agents active at the same time (for ex: tracing + debugger) this might mean we switch the state while entry / exit stubs are still needed by other agent. Fix method tracing and jvmti detach to first remove the instrumentation keys added by the agent and then check to see if entry / exit stubs are needed for some other reason before switching the runtime state. Bug: 206029744 Test: art/test.py Change-Id: I71b55ec109d84d8559f85eede6ccf1f45d5b72dd
Diffstat (limited to 'compiler/optimizing/instruction_simplifier_test.cc')
0 files changed, 0 insertions, 0 deletions