8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)

Reviewed-by: iveresov, roland, coleenp
This commit is contained in:
Vladimir Ivanov 2014-03-04 02:23:16 -08:00
parent 3ba019c8b2
commit 1dbe60a475

View file

@ -910,7 +910,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()));
}
}
}