< prev index next >

src/hotspot/share/runtime/mutexLocker.hpp

Print this page
rev 54697 : imported patch 8221734-v2-merge
rev 54698 : imported patch 8221734-v2


  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_RUNTIME_MUTEXLOCKER_HPP
  26 #define SHARE_RUNTIME_MUTEXLOCKER_HPP
  27 
  28 #include "memory/allocation.hpp"
  29 #include "runtime/flags/flagSetting.hpp"
  30 #include "runtime/mutex.hpp"
  31 
  32 // Mutexes used in the VM.
  33 
  34 extern Mutex*   Patching_lock;                   // a lock used to guard code patching of compiled code
  35 extern Mutex*   CompiledMethod_lock;
  36 extern Monitor* SystemDictionary_lock;           // a lock on the system dictionary
  37 extern Mutex*   ProtectionDomainSet_lock;        // a lock on the pd_set list in the system dictionary
  38 extern Mutex*   SharedDictionary_lock;           // a lock on the CDS shared dictionary
  39 extern Mutex*   Module_lock;                     // a lock on module and package related data structures
  40 extern Mutex*   CompiledIC_lock;                 // a lock used to guard compiled IC patching and access
  41 extern Mutex*   InlineCacheBuffer_lock;          // a lock used to guard the InlineCacheBuffer
  42 extern Mutex*   VMStatistic_lock;                // a lock used to guard statistics count increment
  43 extern Mutex*   JNIGlobalAlloc_lock;             // JNI global storage allocate list lock
  44 extern Mutex*   JNIGlobalActive_lock;            // JNI global storage active list lock
  45 extern Mutex*   JNIWeakAlloc_lock;               // JNI weak storage allocate list lock
  46 extern Mutex*   JNIWeakActive_lock;              // JNI weak storage active list lock
  47 extern Mutex*   StringTableWeakAlloc_lock;       // StringTable weak storage allocate list lock
  48 extern Mutex*   StringTableWeakActive_lock;      // STringTable weak storage active list lock
  49 extern Mutex*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
  50 extern Mutex*   VMWeakAlloc_lock;                // VM Weak Handles storage allocate list lock
  51 extern Mutex*   VMWeakActive_lock;               // VM Weak Handles storage active list lock
  52 extern Mutex*   ResolvedMethodTableWeakAlloc_lock;  // ResolvedMethodTable weak storage allocate list
  53 extern Mutex*   ResolvedMethodTableWeakActive_lock; // ResolvedMethodTable weak storage active list
  54 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
  55 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers




  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_RUNTIME_MUTEXLOCKER_HPP
  26 #define SHARE_RUNTIME_MUTEXLOCKER_HPP
  27 
  28 #include "memory/allocation.hpp"
  29 #include "runtime/flags/flagSetting.hpp"
  30 #include "runtime/mutex.hpp"
  31 
  32 // Mutexes used in the VM.
  33 
  34 extern Mutex*   Patching_lock;                   // a lock used to guard code patching of compiled code
  35 extern Mutex*   CompiledMethod_lock;             // a lock used to guard a compiled method
  36 extern Monitor* SystemDictionary_lock;           // a lock on the system dictionary
  37 extern Mutex*   ProtectionDomainSet_lock;        // a lock on the pd_set list in the system dictionary
  38 extern Mutex*   SharedDictionary_lock;           // a lock on the CDS shared dictionary
  39 extern Mutex*   Module_lock;                     // a lock on module and package related data structures
  40 extern Mutex*   CompiledIC_lock;                 // a lock used to guard compiled IC patching and access
  41 extern Mutex*   InlineCacheBuffer_lock;          // a lock used to guard the InlineCacheBuffer
  42 extern Mutex*   VMStatistic_lock;                // a lock used to guard statistics count increment
  43 extern Mutex*   JNIGlobalAlloc_lock;             // JNI global storage allocate list lock
  44 extern Mutex*   JNIGlobalActive_lock;            // JNI global storage active list lock
  45 extern Mutex*   JNIWeakAlloc_lock;               // JNI weak storage allocate list lock
  46 extern Mutex*   JNIWeakActive_lock;              // JNI weak storage active list lock
  47 extern Mutex*   StringTableWeakAlloc_lock;       // StringTable weak storage allocate list lock
  48 extern Mutex*   StringTableWeakActive_lock;      // STringTable weak storage active list lock
  49 extern Mutex*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
  50 extern Mutex*   VMWeakAlloc_lock;                // VM Weak Handles storage allocate list lock
  51 extern Mutex*   VMWeakActive_lock;               // VM Weak Handles storage active list lock
  52 extern Mutex*   ResolvedMethodTableWeakAlloc_lock;  // ResolvedMethodTable weak storage allocate list
  53 extern Mutex*   ResolvedMethodTableWeakActive_lock; // ResolvedMethodTable weak storage active list
  54 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
  55 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers


< prev index next >