@@ -1413,11 +1413,11 @@ if (e.should_commit()) { e.set_reason("VM Error"); e.commit(); } - JFR_ONLY(Jfr::on_vm_shutdown(true);) + JFR_ONLY(Jfr::on_vm_shutdown(thread, 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.