hotspot/src/share/vm/runtime/thread.cpp
changeset 33105 294e48b4f704
parent 33097 96e348cb0442
child 33107 77bf0d2069a3
--- a/hotspot/src/share/vm/runtime/thread.cpp	Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Tue Sep 29 11:02:08 2015 +0200
@@ -880,7 +880,7 @@
            cur != VMOperationRequest_lock &&
            cur != VMOperationQueue_lock) ||
            cur->rank() == Mutex::special) {
-        fatal(err_msg("Thread holding lock at safepoint that vm can block on: %s", cur->name()));
+        fatal("Thread holding lock at safepoint that vm can block on: %s", cur->name());
       }
     }
   }
@@ -4103,7 +4103,7 @@
   ALL_JAVA_THREADS(p) {
     const int thread_parity = p->oops_do_parity();
     assert((thread_parity == _thread_claim_parity),
-        err_msg("Thread " PTR_FORMAT " has incorrect parity %d != %d", p2i(p), thread_parity, _thread_claim_parity));
+           "Thread " PTR_FORMAT " has incorrect parity %d != %d", p2i(p), thread_parity, _thread_claim_parity);
   }
 }
 #endif // ASSERT