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