< prev index next >

src/hotspot/share/runtime/threadSMR.cpp

Print this page

        

*** 777,787 **** } bool ThreadsSMRSupport::delete_notify() { // Use load_acquire() in order to see any updates to _delete_notify // earlier than when delete_lock is grabbed. ! return (OrderAccess::load_acquire(&_delete_notify) != 0); } // Safely free a ThreadsList after a Threads::add() or Threads::remove(). // The specified ThreadsList may not get deleted during this call if it // is still in-use (referenced by a hazard ptr). Other ThreadsLists --- 777,787 ---- } bool ThreadsSMRSupport::delete_notify() { // Use load_acquire() in order to see any updates to _delete_notify // earlier than when delete_lock is grabbed. ! return (Atomic::load_acquire(&_delete_notify) != 0); } // Safely free a ThreadsList after a Threads::add() or Threads::remove(). // The specified ThreadsList may not get deleted during this call if it // is still in-use (referenced by a hazard ptr). Other ThreadsLists
< prev index next >