diff -r a7c0f60a1294 -r 294e48b4f704 hotspot/src/share/vm/runtime/mutexLocker.cpp --- a/hotspot/src/share/vm/runtime/mutexLocker.cpp Mon Sep 28 15:05:02 2015 +0200 +++ b/hotspot/src/share/vm/runtime/mutexLocker.cpp Tue Sep 29 11:02:08 2015 +0200 @@ -156,7 +156,7 @@ // see if invoker of VM operation owns it VM_Operation* op = VMThread::vm_operation(); if (op != NULL && op->calling_thread() == lock->owner()) return; - fatal(err_msg("must own lock %s", lock->name())); + fatal("must own lock %s", lock->name()); } // a stronger assertion than the above @@ -164,7 +164,7 @@ if (IgnoreLockingAssertions) return; assert(lock != NULL, "Need non-NULL lock"); if (lock->owned_by_self()) return; - fatal(err_msg("must own lock %s", lock->name())); + fatal("must own lock %s", lock->name()); } #endif