src/hotspot/share/runtime/synchronizer.cpp
changeset 58291 a013100f7a35
parent 58177 4932dce35882
child 58679 9c3209ff7550
child 59156 14fa9e70ae71
--- a/src/hotspot/share/runtime/synchronizer.cpp	Mon Sep 23 16:53:16 2019 +0100
+++ b/src/hotspot/share/runtime/synchronizer.cpp	Tue Sep 24 10:12:56 2019 -0400
@@ -419,7 +419,7 @@
 ObjectLocker::ObjectLocker(Handle obj, Thread* thread, bool do_lock) {
   _dolock = do_lock;
   _thread = thread;
-  _thread->check_for_valid_safepoint_state(false);
+  _thread->check_for_valid_safepoint_state();
   _obj = obj;
 
   if (_dolock) {