mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8266936: Add a finalization JFR event
Reviewed-by: coleenp, mchung, egahlin
This commit is contained in:
parent
bcbe3845d9
commit
72a976ef05
36 changed files with 1517 additions and 551 deletions
|
@ -305,6 +305,7 @@ void mutex_init() {
|
|||
|
||||
#if INCLUDE_JFR
|
||||
def(JfrBuffer_lock , PaddedMutex , nosafepoint, true);
|
||||
def(JfrMsg_lock , PaddedMonitor, nosafepoint-3, true);
|
||||
def(JfrStacktrace_lock , PaddedMutex , stackwatermark-1, true);
|
||||
def(JfrThreadSampler_lock , PaddedMonitor, nosafepoint, true);
|
||||
#endif
|
||||
|
@ -365,10 +366,6 @@ void mutex_init() {
|
|||
defl(Module_lock , PaddedMutex , ClassLoaderDataGraph_lock, false);
|
||||
defl(SystemDictionary_lock , PaddedMonitor, Module_lock, true);
|
||||
defl(JNICritical_lock , PaddedMonitor, MultiArray_lock, true); // used for JNI critical regions
|
||||
|
||||
#if INCLUDE_JFR
|
||||
defl(JfrMsg_lock , PaddedMonitor, Module_lock, true);
|
||||
#endif
|
||||
}
|
||||
|
||||
GCMutexLocker::GCMutexLocker(Mutex* mutex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue