< prev index next >

src/hotspot/share/utilities/vmError.cpp

Print this page

        

*** 1402,1411 **** --- 1402,1412 ---- // WatcherThread can kill JVM if the error handler hangs. ShowMessageBoxOnError = false; } os::check_dump_limit(buffer, sizeof(buffer)); + JFR_ONLY(Jfr::setup_emergency_dump_file_descriptor();) // reset signal handlers or exception filter; make sure recursive crashes // are handled properly. reset_signal_handlers();
*** 1413,1424 **** if (e.should_commit()) { e.set_reason("VM Error"); e.commit(); } - JFR_ONLY(Jfr::on_vm_shutdown(true);) - } else { // If UseOsErrorReporting we call this for each level of the call stack // while searching for the exception handler. Only the first level needs // to be reported. if (UseOSErrorReporting && log_done) return; --- 1414,1423 ----
*** 1536,1545 **** --- 1535,1546 ---- } log.set_fd(-1); } + JFR_ONLY(Jfr::on_vm_shutdown(true);) + if (PrintNMTStatistics) { fdStream fds(fd_out); MemTracker::final_report(&fds); }
< prev index next >