506 507 508 void VM_Exit::wait_if_vm_exited() { 509 if (_vm_exited && 510 Thread::current_or_null() != _shutdown_thread) { 511 // _vm_exited is set at safepoint, and the Threads_lock is never released 512 // we will block here until the process dies 513 Threads_lock->lock_without_safepoint_check(); 514 ShouldNotReachHere(); 515 } 516 } 517 518 void VM_PrintCompileQueue::doit() { 519 CompileBroker::print_compile_queues(_out); 520 } 521 522 #if INCLUDE_SERVICES 523 void VM_PrintClassHierarchy::doit() { 524 KlassHierarchy::print_class_hierarchy(_out, _print_interfaces, _print_subclasses, _classname); 525 } 526 #endif | 506 507 508 void VM_Exit::wait_if_vm_exited() { 509 if (_vm_exited && 510 Thread::current_or_null() != _shutdown_thread) { 511 // _vm_exited is set at safepoint, and the Threads_lock is never released 512 // we will block here until the process dies 513 Threads_lock->lock_without_safepoint_check(); 514 ShouldNotReachHere(); 515 } 516 } 517 518 void VM_PrintCompileQueue::doit() { 519 CompileBroker::print_compile_queues(_out); 520 } 521 522 #if INCLUDE_SERVICES 523 void VM_PrintClassHierarchy::doit() { 524 KlassHierarchy::print_class_hierarchy(_out, _print_interfaces, _print_subclasses, _classname); 525 } 526 527 void VM_PrintClassLayout::doit() { 528 PrintClassLayout::print_class_layout(_out, _class_name); 529 } 530 #endif |