src/hotspot/share/runtime/vmOperations.cpp
changeset 54623 1126f0607c70
parent 53463 b2d1c3b0bd31
child 54645 05aaccf7d558
--- a/src/hotspot/share/runtime/vmOperations.cpp	Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/runtime/vmOperations.cpp	Thu Apr 25 10:56:31 2019 -0400
@@ -450,8 +450,8 @@
 
     attempts++;
 
-    MutexLockerEx ml(&timer, Mutex::_no_safepoint_check_flag);
-    timer.wait(Mutex::_no_safepoint_check_flag, 10);
+    MutexLocker ml(&timer, Mutex::_no_safepoint_check_flag);
+    timer.wait_without_safepoint_check(10);
   }
 }