equal
deleted
inserted
replaced
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"); |