src/hotspot/share/runtime/mutex.cpp
changeset 52311 274ba8fbd96d
parent 51376 181e6a03249b
child 52356 19c4a3eec4d7
equal deleted inserted replaced
52310:a8e43293b4c4 52311:274ba8fbd96d
   874     Self->clear_unhandled_oops();
   874     Self->clear_unhandled_oops();
   875   }
   875   }
   876 #endif // CHECK_UNHANDLED_OOPS
   876 #endif // CHECK_UNHANDLED_OOPS
   877 
   877 
   878   debug_only(check_prelock_state(Self, StrictSafepointChecks));
   878   debug_only(check_prelock_state(Self, StrictSafepointChecks));
   879   assert(_owner != Self, "invariant");
   879   assert(_owner != Self, "this lock %s is already held by this thread", name());
   880   assert(_OnDeck != Self->_MutexEvent, "invariant");
   880   assert(_OnDeck != Self->_MutexEvent, "invariant");
   881 
   881 
   882   if (TryFast()) {
   882   if (TryFast()) {
   883  Exeunt:
   883  Exeunt:
   884     assert(ILocked(), "invariant");
   884     assert(ILocked(), "invariant");