8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event

Reviewed-by: egahlin
This commit is contained in:
Markus Grönlund 2023-08-09 13:34:04 +00:00
parent 19ae62ae2c
commit 0eb0997ae4

View File

@ -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