src/hotspot/share/runtime/vmThread.cpp
changeset 54663 f03d5a093093
parent 54645 05aaccf7d558
child 54786 ebf733a324d4
--- a/src/hotspot/share/runtime/vmThread.cpp	Wed May 01 07:12:14 2019 -0400
+++ b/src/hotspot/share/runtime/vmThread.cpp	Wed May 01 08:56:38 2019 -0400
@@ -623,10 +623,8 @@
     }
 
     //
-    //  Notify (potential) waiting Java thread(s) - lock without safepoint
-    //  check so that sneaking is not possible
-    { MutexLocker mu(VMOperationRequest_lock,
-                     Mutex::_no_safepoint_check_flag);
+    //  Notify (potential) waiting Java thread(s)
+    { MutexLocker mu(VMOperationRequest_lock, Mutex::_no_safepoint_check_flag);
       VMOperationRequest_lock->notify_all();
     }