summaryrefslogtreecommitdiff
path: root/openjdkjvmti/deopt_manager.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2021-11-01 11:48:06 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2021-11-01 14:31:37 +0000
commit72be14ed06b76cd0e83392145cec9025ff43d174 (patch)
treeaa186f70ea70011d428ab91a1f4a3fb0c2e39de5 /openjdkjvmti/deopt_manager.cc
parent667584d95926af5f0f6e392ab2dc575cc2906c51 (diff)
Revert "Add support for calling entry / exit hooks directly from JIT code"
This reverts commit 2d4feeb67912d64b9e980e6687794826a5c22f9d. Reason for revert: This breaks no-image tests. Example failure: https://android-build.googleplex.com/builds/submitted/7871904/art-no-image/latest/view/logs/build_error.log Change-Id: I0f97c672c2d48f125931171ee1041a7c1cf20127
Diffstat (limited to 'openjdkjvmti/deopt_manager.cc')
-rw-r--r--openjdkjvmti/deopt_manager.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/openjdkjvmti/deopt_manager.cc b/openjdkjvmti/deopt_manager.cc
index cf28a71932..bf1b4f0714 100644
--- a/openjdkjvmti/deopt_manager.cc
+++ b/openjdkjvmti/deopt_manager.cc
@@ -492,12 +492,7 @@ void DeoptManager::DeoptimizeThread(art::Thread* target) {
art::gc::GcCause::kGcCauseDebugger,
art::gc::CollectorType::kCollectorTypeDebugger);
art::ScopedSuspendAll ssa("Instrument thread stack");
- // Prepare the stack so methods can be deoptimized as and when required.
- // This by itself doesn't cause any methods to deoptimize but enables
- // deoptimization on demand.
- art::Runtime::Current()->GetInstrumentation()->InstrumentThreadStack(
- target,
- /* deopt_all_frames= */ false);
+ art::Runtime::Current()->GetInstrumentation()->InstrumentThreadStack(target);
}
extern DeoptManager* gDeoptManager;