changeset 7158:46f9331baed5

8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...) Reviewed-by: iveresov, roland, coleenp
author vlivanov
date Tue, 04 Mar 2014 02:23:16 -0800
parents 7301840ea20e
children 134f18d0174b
files src/share/vm/runtime/thread.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Tue Mar 11 15:06:34 2014 +0400
+++ b/src/share/vm/runtime/thread.cpp	Tue Mar 04 02:23:16 2014 -0800
@@ -940,7 +940,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()));
         }
       }
     }