comparison src/share/vm/runtime/mutexLocker.hpp @ 12355:cefad50507d8

Merge with hs25-b53
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 11 Oct 2013 10:38:03 +0200
parents 836a62f43af9 b2e698d2276c
children d8041d695d19
comparison
equal deleted inserted replaced
12058:ccb4f2af2319 12355:cefad50507d8
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
48 extern Mutex* CompiledIC_lock; // a lock used to guard compiled IC patching and access 48 extern Mutex* CompiledIC_lock; // a lock used to guard compiled IC patching and access
49 extern Mutex* InlineCacheBuffer_lock; // a lock used to guard the InlineCacheBuffer 49 extern Mutex* InlineCacheBuffer_lock; // a lock used to guard the InlineCacheBuffer
50 extern Mutex* VMStatistic_lock; // a lock used to guard statistics count increment 50 extern Mutex* VMStatistic_lock; // a lock used to guard statistics count increment
51 extern Mutex* JNIGlobalHandle_lock; // a lock on creating JNI global handles 51 extern Mutex* JNIGlobalHandle_lock; // a lock on creating JNI global handles
52 extern Mutex* JNIHandleBlockFreeList_lock; // a lock on the JNI handle block free list 52 extern Mutex* JNIHandleBlockFreeList_lock; // a lock on the JNI handle block free list
53 extern Mutex* JNICachedItableIndex_lock; // a lock on caching an itable index during JNI invoke
54 extern Mutex* MemberNameTable_lock; // a lock on the MemberNameTable updates 53 extern Mutex* MemberNameTable_lock; // a lock on the MemberNameTable updates
55 extern Mutex* JmethodIdCreation_lock; // a lock on creating JNI method identifiers 54 extern Mutex* JmethodIdCreation_lock; // a lock on creating JNI method identifiers
56 extern Mutex* JfieldIdCreation_lock; // a lock on creating JNI static field identifiers 55 extern Mutex* JfieldIdCreation_lock; // a lock on creating JNI static field identifiers
57 extern Monitor* JNICritical_lock; // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in 56 extern Monitor* JNICritical_lock; // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
58 extern Mutex* JvmtiThreadState_lock; // a lock on modification of JVMTI thread data 57 extern Mutex* JvmtiThreadState_lock; // a lock on modification of JVMTI thread data
135 // tracker data structures 134 // tracker data structures
136 extern Mutex* HotCardCache_lock; // protects the hot card cache 135 extern Mutex* HotCardCache_lock; // protects the hot card cache
137 136
138 extern Mutex* Management_lock; // a lock used to serialize JVM management 137 extern Mutex* Management_lock; // a lock used to serialize JVM management
139 extern Monitor* Service_lock; // a lock used for service thread operation 138 extern Monitor* Service_lock; // a lock used for service thread operation
140 extern Mutex* Stacktrace_lock; // used to guard access to the stacktrace table 139 extern Monitor* PeriodicTask_lock; // protects the periodic task structure
141 140
142 extern Monitor* JfrQuery_lock; // protects JFR use 141 #ifdef INCLUDE_TRACE
142 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
143 extern Monitor* JfrMsg_lock; // protects JFR messaging 143 extern Monitor* JfrMsg_lock; // protects JFR messaging
144 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations 144 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
145 extern Mutex* JfrStream_lock; // protects JFR stream access 145 extern Mutex* JfrStream_lock; // protects JFR stream access
146 extern Monitor* PeriodicTask_lock; // protects the periodic task structure 146 extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups
147 #endif
147 148
148 #ifdef GRAAL 149 #ifdef GRAAL
149 extern Mutex* GraalDeoptLeafGraphIds_lock; // protects access to the global array of deopt'ed leaf graphs 150 extern Mutex* GraalDeoptLeafGraphIds_lock; // protects access to the global array of deopt'ed leaf graphs
150 #endif // GRAAL 151 #endif // GRAAL
151 152