805 STEP("printing VM operation")
806
807 if (_verbose && _thread && _thread->is_VM_thread()) {
808 VMThread* t = (VMThread*)_thread;
809 VM_Operation* op = t->vm_operation();
810 if (op) {
811 op->print_on_error(st);
812 st->cr();
813 st->cr();
814 }
815 }
816
817 STEP("printing process")
818
819 if (_verbose) {
820 st->cr();
821 st->print_cr("--------------- P R O C E S S ---------------");
822 st->cr();
823 }
824
825 STEP("printing all threads")
826
827 // all threads
828 if (_verbose && _thread) {
829 Threads::print_on_error(st, _thread, buf, sizeof(buf));
830 st->cr();
831 }
832
833 STEP("printing VM state")
834
835 if (_verbose) {
836 // Safepoint state
837 st->print("VM state:");
838
839 if (SafepointSynchronize::is_synchronizing()) st->print("synchronizing");
840 else if (SafepointSynchronize::is_at_safepoint()) st->print("at safepoint");
841 else st->print("not at safepoint");
842
843 // Also see if error occurred during initialization or shutdown
844 if (!Universe::is_fully_initialized()) {
|
805 STEP("printing VM operation")
806
807 if (_verbose && _thread && _thread->is_VM_thread()) {
808 VMThread* t = (VMThread*)_thread;
809 VM_Operation* op = t->vm_operation();
810 if (op) {
811 op->print_on_error(st);
812 st->cr();
813 st->cr();
814 }
815 }
816
817 STEP("printing process")
818
819 if (_verbose) {
820 st->cr();
821 st->print_cr("--------------- P R O C E S S ---------------");
822 st->cr();
823 }
824
825 #ifndef _WIN32
826 STEP("printing user info")
827
828 if (ExtensiveErrorReports && _verbose) {
829 os::Posix::print_user_info(st);
830 } else {
831 st->print_cr("no extensive user info");
832 st->cr();
833 }
834 #endif
835
836 STEP("printing all threads")
837
838 // all threads
839 if (_verbose && _thread) {
840 Threads::print_on_error(st, _thread, buf, sizeof(buf));
841 st->cr();
842 }
843
844 STEP("printing VM state")
845
846 if (_verbose) {
847 // Safepoint state
848 st->print("VM state:");
849
850 if (SafepointSynchronize::is_synchronizing()) st->print("synchronizing");
851 else if (SafepointSynchronize::is_at_safepoint()) st->print("at safepoint");
852 else st->print("not at safepoint");
853
854 // Also see if error occurred during initialization or shutdown
855 if (!Universe::is_fully_initialized()) {
|