src/hotspot/share/runtime/vmOperations.cpp
changeset 57699 4aea554692aa
parent 55479 80b27dc96ca3
child 57758 91a758925be7
equal deleted inserted replaced
57698:9dc92e89243a 57699:4aea554692aa
   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() {