< prev index next >

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

Print this page

        

*** 65,76 **** 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); _has_terminated = true; Terminator_lock->notify(); } } --- 65,75 ---- void ConcurrentGCThread::terminate() { assert(_should_terminate, "Should only be called on terminate request."); // Signal that it is terminated { ! MutexLocker mu(Terminator_lock); _has_terminated = true; Terminator_lock->notify(); } }
< prev index next >