src/hotspot/share/runtime/mutex.cpp
changeset 52356 19c4a3eec4d7
parent 52311 274ba8fbd96d
child 52450 2790da836dc3
--- a/src/hotspot/share/runtime/mutex.cpp	Tue Oct 16 16:26:28 2018 -0400
+++ b/src/hotspot/share/runtime/mutex.cpp	Wed Oct 31 14:38:14 2018 -0400
@@ -876,7 +876,7 @@
 #endif // CHECK_UNHANDLED_OOPS
 
   debug_only(check_prelock_state(Self, StrictSafepointChecks));
-  assert(_owner != Self, "this lock %s is already held by this thread", name());
+  assert(_owner != Self, "invariant");
   assert(_OnDeck != Self->_MutexEvent, "invariant");
 
   if (TryFast()) {