src/share/vm/runtime/mutexLocker.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/mutexLocker.hpp	Thu Nov  6 12:39:42 2014
--- new/src/share/vm/runtime/mutexLocker.hpp	Thu Nov  6 12:39:41 2014

*** 204,220 **** --- 204,220 ---- MutexLockerEx(Monitor * mutex, bool no_safepoint_check = !Mutex::_no_safepoint_check_flag) { _mutex = mutex; if (_mutex != NULL) { assert(mutex->rank() > Mutex::special || no_safepoint_check, "Mutexes with rank special or lower should not do safepoint checks"); + if (no_safepoint_check) _mutex->lock_without_safepoint_check(); else _mutex->lock(); } } ~MutexLockerEx() { if (_mutex != NULL) { _mutex->unlock(); } }

src/share/vm/runtime/mutexLocker.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File