src/hotspot/share/runtime/vmThread.cpp
changeset 55514 03468b206457
parent 55128 35192d9c2b76
child 57758 91a758925be7
--- a/src/hotspot/share/runtime/vmThread.cpp	Wed Jun 26 11:25:51 2019 -0400
+++ b/src/hotspot/share/runtime/vmThread.cpp	Wed Jun 26 18:22:28 2019 +0200
@@ -388,7 +388,7 @@
   // For concurrent vm operations, the thread id is set to 0 indicating thread is unknown.
   // This is because the caller thread could have exited already.
   event->set_caller(is_concurrent ? 0 : JFR_THREAD_ID(op->calling_thread()));
-  event->set_safepointId(evaluate_at_safepoint ? SafepointSynchronize::safepoint_counter() : 0);
+  event->set_safepointId(evaluate_at_safepoint ? SafepointSynchronize::safepoint_id() : 0);
   event->commit();
 }