src/hotspot/share/runtime/vmOperations.cpp
changeset 57699 4aea554692aa
parent 55479 80b27dc96ca3
child 57758 91a758925be7
--- a/src/hotspot/share/runtime/vmOperations.cpp	Fri Aug 09 10:06:44 2019 +0200
+++ b/src/hotspot/share/runtime/vmOperations.cpp	Fri Aug 09 11:04:08 2019 +0200
@@ -522,7 +522,7 @@
       Thread::current_or_null() != _shutdown_thread) {
     // _vm_exited is set at safepoint, and the Threads_lock is never released
     // we will block here until the process dies
-    Threads_lock->lock_without_safepoint_check();
+    Threads_lock->lock();
     ShouldNotReachHere();
   }
 }