mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration
Reviewed-by: dholmes, kbarrett, mgronlun
This commit is contained in:
parent
803c430cee
commit
230a27a60d
9 changed files with 59 additions and 64 deletions
|
@ -127,7 +127,6 @@ Monitor* GCTaskManager_lock = NULL;
|
|||
Mutex* Management_lock = NULL;
|
||||
Monitor* Service_lock = NULL;
|
||||
Monitor* PeriodicTask_lock = NULL;
|
||||
Mutex* LogConfiguration_lock = NULL;
|
||||
|
||||
#ifdef INCLUDE_TRACE
|
||||
Mutex* JfrStacktrace_lock = NULL;
|
||||
|
@ -284,7 +283,6 @@ void mutex_init() {
|
|||
if (WhiteBoxAPI) {
|
||||
def(Compilation_lock , Monitor, leaf, false, Monitor::_safepoint_check_never);
|
||||
}
|
||||
def(LogConfiguration_lock , Mutex, nonleaf, false, Monitor::_safepoint_check_always);
|
||||
|
||||
#ifdef INCLUDE_TRACE
|
||||
def(JfrMsg_lock , Monitor, leaf, true, Monitor::_safepoint_check_always);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue