summaryrefslogtreecommitdiff
path: root/openjdkjvmti/ti_stack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'openjdkjvmti/ti_stack.cc')
-rw-r--r--openjdkjvmti/ti_stack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdkjvmti/ti_stack.cc b/openjdkjvmti/ti_stack.cc
index b43eaa0286..8ee150ee3e 100644
--- a/openjdkjvmti/ti_stack.cc
+++ b/openjdkjvmti/ti_stack.cc
@@ -891,7 +891,7 @@ struct MonitorInfoClosure : public art::Closure {
visitor.WalkStack(/* include_transitions */ false);
// Find any other monitors, including ones acquired in native code.
art::RootInfo root_info(art::kRootVMInternal);
- target->GetJniEnv()->monitors.VisitRoots(&visitor, root_info);
+ target->GetJniEnv()->VisitMonitorRoots(&visitor, root_info);
err_ = handle_results_(soa_, visitor);
}