< prev index next >

src/hotspot/share/gc/shared/concurrentGCThread.cpp

Print this page

        

@@ -65,12 +65,11 @@
 
 void ConcurrentGCThread::terminate() {
   assert(_should_terminate, "Should only be called on terminate request.");
   // Signal that it is terminated
   {
-    MutexLockerEx mu(Terminator_lock,
-                     Mutex::_no_safepoint_check_flag);
+    MutexLocker mu(Terminator_lock);
     _has_terminated = true;
     Terminator_lock->notify();
   }
 }
 
< prev index next >