Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/mutexLocker.cpp @ 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 | 359f7e70ae7f |
comparison
equal
deleted
inserted
replaced
12058:ccb4f2af2319 | 12355:cefad50507d8 |
---|---|
43 Mutex* CompiledIC_lock = NULL; | 43 Mutex* CompiledIC_lock = NULL; |
44 Mutex* InlineCacheBuffer_lock = NULL; | 44 Mutex* InlineCacheBuffer_lock = NULL; |
45 Mutex* VMStatistic_lock = NULL; | 45 Mutex* VMStatistic_lock = NULL; |
46 Mutex* JNIGlobalHandle_lock = NULL; | 46 Mutex* JNIGlobalHandle_lock = NULL; |
47 Mutex* JNIHandleBlockFreeList_lock = NULL; | 47 Mutex* JNIHandleBlockFreeList_lock = NULL; |
48 Mutex* JNICachedItableIndex_lock = NULL; | |
49 Mutex* MemberNameTable_lock = NULL; | 48 Mutex* MemberNameTable_lock = NULL; |
50 Mutex* JmethodIdCreation_lock = NULL; | 49 Mutex* JmethodIdCreation_lock = NULL; |
51 Mutex* JfieldIdCreation_lock = NULL; | 50 Mutex* JfieldIdCreation_lock = NULL; |
52 Monitor* JNICritical_lock = NULL; | 51 Monitor* JNICritical_lock = NULL; |
53 Mutex* JvmtiThreadState_lock = NULL; | 52 Mutex* JvmtiThreadState_lock = NULL; |
122 | 121 |
123 Monitor* GCTaskManager_lock = NULL; | 122 Monitor* GCTaskManager_lock = NULL; |
124 | 123 |
125 Mutex* Management_lock = NULL; | 124 Mutex* Management_lock = NULL; |
126 Monitor* Service_lock = NULL; | 125 Monitor* Service_lock = NULL; |
127 Mutex* Stacktrace_lock = NULL; | 126 Monitor* PeriodicTask_lock = NULL; |
128 | 127 |
129 Monitor* JfrQuery_lock = NULL; | 128 #ifdef INCLUDE_TRACE |
129 Mutex* JfrStacktrace_lock = NULL; | |
130 Monitor* JfrMsg_lock = NULL; | 130 Monitor* JfrMsg_lock = NULL; |
131 Mutex* JfrBuffer_lock = NULL; | 131 Mutex* JfrBuffer_lock = NULL; |
132 Mutex* JfrStream_lock = NULL; | 132 Mutex* JfrStream_lock = NULL; |
133 Monitor* PeriodicTask_lock = NULL; | 133 Mutex* JfrThreadGroups_lock = NULL; |
134 #endif | |
134 | 135 |
135 #ifdef GRAAL | 136 #ifdef GRAAL |
136 Mutex* GraalDeoptLeafGraphIds_lock = NULL; | 137 Mutex* GraalDeoptLeafGraphIds_lock = NULL; |
137 #endif // GRAAL | 138 #endif // GRAAL |
138 | 139 |
208 def(OopMapCacheAlloc_lock , Mutex, leaf, true ); // used for oop_map_cache allocation. | 209 def(OopMapCacheAlloc_lock , Mutex, leaf, true ); // used for oop_map_cache allocation. |
209 | 210 |
210 def(Patching_lock , Mutex , special, true ); // used for safepointing and code patching. | 211 def(Patching_lock , Mutex , special, true ); // used for safepointing and code patching. |
211 def(ObjAllocPost_lock , Monitor, special, false); | 212 def(ObjAllocPost_lock , Monitor, special, false); |
212 def(Service_lock , Monitor, special, true ); // used for service thread operations | 213 def(Service_lock , Monitor, special, true ); // used for service thread operations |
213 def(Stacktrace_lock , Mutex, special, true ); // used for JFR stacktrace database | |
214 def(JmethodIdCreation_lock , Mutex , leaf, true ); // used for creating jmethodIDs. | 214 def(JmethodIdCreation_lock , Mutex , leaf, true ); // used for creating jmethodIDs. |
215 | 215 |
216 def(SystemDictionary_lock , Monitor, leaf, true ); // lookups done by VM thread | 216 def(SystemDictionary_lock , Monitor, leaf, true ); // lookups done by VM thread |
217 def(PackageTable_lock , Mutex , leaf, false); | 217 def(PackageTable_lock , Mutex , leaf, false); |
218 def(InlineCacheBuffer_lock , Mutex , leaf, true ); | 218 def(InlineCacheBuffer_lock , Mutex , leaf, true ); |
254 def(SLT_lock , Monitor, nonleaf, false ); | 254 def(SLT_lock , Monitor, nonleaf, false ); |
255 // used in CMS GC for locking PLL lock | 255 // used in CMS GC for locking PLL lock |
256 } | 256 } |
257 def(Heap_lock , Monitor, nonleaf+1, false); | 257 def(Heap_lock , Monitor, nonleaf+1, false); |
258 def(JfieldIdCreation_lock , Mutex , nonleaf+1, true ); // jfieldID, Used in VM_Operation | 258 def(JfieldIdCreation_lock , Mutex , nonleaf+1, true ); // jfieldID, Used in VM_Operation |
259 def(JNICachedItableIndex_lock , Mutex , nonleaf+1, false); // Used to cache an itable index during JNI invoke | |
260 def(MemberNameTable_lock , Mutex , nonleaf+1, false); // Used to protect MemberNameTable | 259 def(MemberNameTable_lock , Mutex , nonleaf+1, false); // Used to protect MemberNameTable |
261 | 260 |
262 def(CompiledIC_lock , Mutex , nonleaf+2, false); // locks VtableStubs_lock, InlineCacheBuffer_lock | 261 def(CompiledIC_lock , Mutex , nonleaf+2, false); // locks VtableStubs_lock, InlineCacheBuffer_lock |
263 def(CompileTaskAlloc_lock , Mutex , nonleaf+2, true ); | 262 def(CompileTaskAlloc_lock , Mutex , nonleaf+2, true ); |
264 def(CompileStatistics_lock , Mutex , nonleaf+2, false); | 263 def(CompileStatistics_lock , Mutex , nonleaf+2, false); |
274 def(MethodCompileQueue_lock , Monitor, nonleaf+4, true ); | 273 def(MethodCompileQueue_lock , Monitor, nonleaf+4, true ); |
275 def(Debug2_lock , Mutex , nonleaf+4, true ); | 274 def(Debug2_lock , Mutex , nonleaf+4, true ); |
276 def(Debug3_lock , Mutex , nonleaf+4, true ); | 275 def(Debug3_lock , Mutex , nonleaf+4, true ); |
277 def(ProfileVM_lock , Monitor, special, false); // used for profiling of the VMThread | 276 def(ProfileVM_lock , Monitor, special, false); // used for profiling of the VMThread |
278 def(CompileThread_lock , Monitor, nonleaf+5, false ); | 277 def(CompileThread_lock , Monitor, nonleaf+5, false ); |
279 | 278 def(PeriodicTask_lock , Monitor, nonleaf+5, true); |
279 | |
280 #ifdef INCLUDE_TRACE | |
280 def(JfrMsg_lock , Monitor, leaf, true); | 281 def(JfrMsg_lock , Monitor, leaf, true); |
281 def(JfrBuffer_lock , Mutex, nonleaf+1, true); | 282 def(JfrBuffer_lock , Mutex, nonleaf+1, true); |
283 def(JfrThreadGroups_lock , Mutex, nonleaf+1, true); | |
282 def(JfrStream_lock , Mutex, nonleaf+2, true); | 284 def(JfrStream_lock , Mutex, nonleaf+2, true); |
283 def(PeriodicTask_lock , Monitor, nonleaf+5, true); | 285 def(JfrStacktrace_lock , Mutex, special, true ); |
286 #endif | |
284 #ifdef GRAAL | 287 #ifdef GRAAL |
285 def(GraalDeoptLeafGraphIds_lock , Mutex, special, true); | 288 def(GraalDeoptLeafGraphIds_lock , Mutex, special, true); |
286 #endif // GRAAL | 289 #endif // GRAAL |
287 } | 290 } |
288 | 291 |