diff --git a/src/hotspot/share/runtime/mutexLocker.cpp b/src/hotspot/share/runtime/mutexLocker.cpp index ea46300d145..e62b29a328c 100644 --- a/src/hotspot/share/runtime/mutexLocker.cpp +++ b/src/hotspot/share/runtime/mutexLocker.cpp @@ -292,8 +292,8 @@ void mutex_init() { } #if INCLUDE_JFR - MUTEX_DEFN(JfrBuffer_lock , PaddedMutex , nosafepoint); - MUTEX_DEFN(JfrMsg_lock , PaddedMonitor, nosafepoint-3); + MUTEX_DEFN(JfrBuffer_lock , PaddedMutex , event); + MUTEX_DEFN(JfrMsg_lock , PaddedMonitor, event); MUTEX_DEFN(JfrStacktrace_lock , PaddedMutex , stackwatermark-1); MUTEX_DEFN(JfrThreadSampler_lock , PaddedMonitor, nosafepoint); #endif