From a9ca8905dfac06b45dd0ba8f0a760b7337a882d0 Mon Sep 17 00:00:00 2001 From: vlivanov Date: Tue, 4 Mar 2014 02:23:16 -0800 Subject: [PATCH] 8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...) Reviewed-by: iveresov, roland, coleenp --- src/share/vm/runtime/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/runtime/thread.cpp b/src/share/vm/runtime/thread.cpp index f82945b79..afb7e805e 100644 --- a/src/share/vm/runtime/thread.cpp +++ b/src/share/vm/runtime/thread.cpp @@ -940,7 +940,7 @@ void Thread::check_for_valid_safepoint_state(bool potential_vm_operation) { 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())); } } } -- GitLab