< prev index next >

src/hotspot/share/utilities/vmError.cpp

Print this page
rev 52472 : 8211326: add OS user related information to hs_err file


 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      }
 831 #endif
 832 
 833   STEP("printing all threads")
 834 
 835      // all threads
 836      if (_verbose && _thread) {
 837        Threads::print_on_error(st, _thread, buf, sizeof(buf));
 838        st->cr();
 839      }
 840 
 841   STEP("printing VM state")
 842 
 843      if (_verbose) {
 844        // Safepoint state
 845        st->print("VM state:");
 846 
 847        if (SafepointSynchronize::is_synchronizing()) st->print("synchronizing");
 848        else if (SafepointSynchronize::is_at_safepoint()) st->print("at safepoint");
 849        else st->print("not at safepoint");
 850 
 851        // Also see if error occurred during initialization or shutdown
 852        if (!Universe::is_fully_initialized()) {


< prev index next >