< prev index next >

src/hotspot/share/jfr/jfr.cpp

Print this page

        

@@ -87,13 +87,13 @@
   if (JfrRecorder::is_recording()) {
     JfrCheckpointManager::write_thread_checkpoint(jt);
   }
 }
 
-void Jfr::on_vm_shutdown(bool exception_handler) {
+void Jfr::on_vm_shutdown(Thread* thread, bool exception_handler) {
   if (JfrRecorder::is_recording()) {
-    JfrEmergencyDump::on_vm_shutdown(exception_handler);
+    JfrEmergencyDump::on_vm_shutdown(thread, exception_handler);
   }
 }
 
 void Jfr::weak_oops_do(BoolObjectClosure* is_alive, OopClosure* f) {
   if (LeakProfiler::is_running()) {
< prev index next >