8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)
authorvlivanov
Tue, 04 Mar 2014 02:23:16 -0800
changeset 23193 32ed95bda2f0
parent 23192 f6a1c8866065
child 23194 e60d7409415b
8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...) Reviewed-by: iveresov, roland, coleenp
hotspot/src/share/vm/runtime/thread.cpp
--- a/hotspot/src/share/vm/runtime/thread.cpp	Tue Mar 04 02:20:41 2014 -0800
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Tue Mar 04 02:23:16 2014 -0800
@@ -910,7 +910,7 @@
               cur != VMOperationRequest_lock &&
               cur != VMOperationQueue_lock) ||
               cur->rank() == Mutex::special) {
-          warning("Thread holding lock at safepoint that vm can block on: %s", cur->name());
+          fatal(err_msg("Thread holding lock at safepoint that vm can block on: %s", cur->name()));
         }
       }
     }