8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration

Reviewed-by: dholmes, kbarrett, mgronlun
This commit is contained in:
Marcus Larsson 2016-01-04 11:37:18 +01:00
parent 803c430cee
commit 230a27a60d
9 changed files with 59 additions and 64 deletions

View file

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