src/share/vm/runtime/mutexLocker.hpp

changeset 9931
fd44df5e3bc3
parent 9756
2be326848943
parent 9896
1b8c45b8216a
     1.1 --- a/src/share/vm/runtime/mutexLocker.hpp	Wed Oct 14 16:43:13 2020 +0800
     1.2 +++ b/src/share/vm/runtime/mutexLocker.hpp	Wed Oct 14 17:44:48 2020 +0800
     1.3 @@ -143,12 +143,17 @@
     1.4  extern Monitor* PeriodicTask_lock;               // protects the periodic task structure
     1.5  extern Monitor* RedefineClasses_lock;            // locks classes from parallel redefinition
     1.6  
     1.7 -#ifdef INCLUDE_TRACE
     1.8 +#if INCLUDE_JFR
     1.9  extern Mutex*   JfrStacktrace_lock;              // used to guard access to the JFR stacktrace table
    1.10  extern Monitor* JfrMsg_lock;                     // protects JFR messaging
    1.11  extern Mutex*   JfrBuffer_lock;                  // protects JFR buffer operations
    1.12  extern Mutex*   JfrStream_lock;                  // protects JFR stream access
    1.13  extern Mutex*   JfrThreadGroups_lock;            // protects JFR access to Thread Groups
    1.14 +
    1.15 +#ifndef SUPPORTS_NATIVE_CX8
    1.16 +extern Mutex*   JfrCounters_lock;                // provides atomic updates of JFR counters
    1.17 +#endif
    1.18 +
    1.19  #endif
    1.20  
    1.21  #ifndef SUPPORTS_NATIVE_CX8

mercurial