src/hotspot/share/runtime/thread.cpp
changeset 57699 4aea554692aa
parent 57603 f9d9bed12d1a
child 57745 789e967c2731
--- a/src/hotspot/share/runtime/thread.cpp	Fri Aug 09 10:06:44 2019 +0200
+++ b/src/hotspot/share/runtime/thread.cpp	Fri Aug 09 11:04:08 2019 +0200
@@ -1804,7 +1804,7 @@
   if (_terminated == _vm_exited) {
     // _vm_exited is set at safepoint, and Threads_lock is never released
     // we will block here forever
-    Threads_lock->lock_without_safepoint_check();
+    Threads_lock->lock();
     ShouldNotReachHere();
   }
 }