594
595
596 void VM_Exit::wait_if_vm_exited() {
597 if (_vm_exited &&
598 Thread::current_or_null() != _shutdown_thread) {
599 // _vm_exited is set at safepoint, and the Threads_lock is never released
600 // so we will block here until the process dies.
601 Threads_lock->lock();
602 ShouldNotReachHere();
603 }
604 }
605
606 void VM_PrintCompileQueue::doit() {
607 CompileBroker::print_compile_queues(_out);
608 }
609
610 #if INCLUDE_SERVICES
611 void VM_PrintClassHierarchy::doit() {
612 KlassHierarchy::print_class_hierarchy(_out, _print_interfaces, _print_subclasses, _classname);
613 }
614 #endif
|
594
595
596 void VM_Exit::wait_if_vm_exited() {
597 if (_vm_exited &&
598 Thread::current_or_null() != _shutdown_thread) {
599 // _vm_exited is set at safepoint, and the Threads_lock is never released
600 // so we will block here until the process dies.
601 Threads_lock->lock();
602 ShouldNotReachHere();
603 }
604 }
605
606 void VM_PrintCompileQueue::doit() {
607 CompileBroker::print_compile_queues(_out);
608 }
609
610 #if INCLUDE_SERVICES
611 void VM_PrintClassHierarchy::doit() {
612 KlassHierarchy::print_class_hierarchy(_out, _print_interfaces, _print_subclasses, _classname);
613 }
614
615 void VM_PrintClassLayout::doit() {
616 PrintClassLayout::print_class_layout(_out, _class_name);
617 }
618 #endif
|