8176096: Wrong macro checks for INCLUDE_TRACE
Reviewed-by: dholmes, coleenp, mgronlun
This commit is contained in:
parent
b9ba95a6f3
commit
2ea73551ba
hotspot/src/share/vm/runtime
@ -124,7 +124,7 @@ Monitor* Service_lock = NULL;
|
||||
Monitor* PeriodicTask_lock = NULL;
|
||||
Monitor* RedefineClasses_lock = NULL;
|
||||
|
||||
#ifdef INCLUDE_TRACE
|
||||
#if INCLUDE_TRACE
|
||||
Mutex* JfrStacktrace_lock = NULL;
|
||||
Monitor* JfrMsg_lock = NULL;
|
||||
Mutex* JfrBuffer_lock = NULL;
|
||||
@ -276,7 +276,7 @@ void mutex_init() {
|
||||
def(Compilation_lock , PaddedMonitor, leaf, false, Monitor::_safepoint_check_never);
|
||||
}
|
||||
|
||||
#ifdef INCLUDE_TRACE
|
||||
#if INCLUDE_TRACE
|
||||
def(JfrMsg_lock , PaddedMonitor, leaf, true, Monitor::_safepoint_check_always);
|
||||
def(JfrBuffer_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_never);
|
||||
def(JfrThreadGroups_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_always);
|
||||
|
@ -124,7 +124,7 @@ extern Monitor* Service_lock; // a lock used for service thre
|
||||
extern Monitor* PeriodicTask_lock; // protects the periodic task structure
|
||||
extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition
|
||||
|
||||
#ifdef INCLUDE_TRACE
|
||||
#if INCLUDE_TRACE
|
||||
extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
|
||||
extern Monitor* JfrMsg_lock; // protects JFR messaging
|
||||
extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
|
||||
|
Loading…
x
Reference in New Issue
Block a user