equal
deleted
inserted
replaced
520 void VM_Exit::wait_if_vm_exited() { |
520 void VM_Exit::wait_if_vm_exited() { |
521 if (_vm_exited && |
521 if (_vm_exited && |
522 Thread::current_or_null() != _shutdown_thread) { |
522 Thread::current_or_null() != _shutdown_thread) { |
523 // _vm_exited is set at safepoint, and the Threads_lock is never released |
523 // _vm_exited is set at safepoint, and the Threads_lock is never released |
524 // we will block here until the process dies |
524 // we will block here until the process dies |
525 Threads_lock->lock_without_safepoint_check(); |
525 Threads_lock->lock(); |
526 ShouldNotReachHere(); |
526 ShouldNotReachHere(); |
527 } |
527 } |
528 } |
528 } |
529 |
529 |
530 void VM_PrintCompileQueue::doit() { |
530 void VM_PrintCompileQueue::doit() { |