diff -r 0bf9477626ef -r 03468b206457 src/hotspot/share/runtime/vmThread.cpp --- 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(); }