summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_simplifier_test.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-02-27 11:48:27 +0000
committer Mythri Alle <mythria@google.com> 2023-02-28 13:32:16 +0000
commit614357ba76aa4b9b930a083cd4d5b95fad0c5db8 (patch)
treeea743f1582834f05595a6fd5c5d34c884dd9597e /compiler/optimizing/instruction_simplifier_test.cc
parent0b9b330c94c6779464abf89ffaee0d6068c19026 (diff)
Only tracing listeners need method entry for on stack methods
We need to report method entry events for on stack methods when enabling tracing. This is required to match method exit events (that will be reported when method exits) to method entry events. This is only needed when starting method tracing and not required for jvmti listeners or even tracing listeners once method tracing has already started. Earlier we used to check for this by checking if there are method entry / exit listeners and if interpreter stubs are installed. This used to work because we forced interpreter whenever method entry / exit listeners are installed. This is no longer the case and hence explicitly call method enter events when starting method tracing. Bug: 270380293 Test: art/test.py Change-Id: I91b2aa473f2a2e5753fdac9d6f5ffcaed8a1749a
Diffstat (limited to 'compiler/optimizing/instruction_simplifier_test.cc')
0 files changed, 0 insertions, 0 deletions