Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/mutexLocker.cpp @ 1584:b812ff5abc73
6958292: C1: Enable parallel compilation
Summary: Enable parallel compilation in C1
Reviewed-by: never, kvn
author | iveresov |
---|---|
date | Fri, 04 Jun 2010 11:18:04 -0700 |
parents | c18cbe5936b8 |
children | 4e5661ba9d98 |
comparison
equal
deleted
inserted
replaced
1583:02e771df338e | 1584:b812ff5abc73 |
---|---|
80 Mutex* ParGCRareEvent_lock = NULL; | 80 Mutex* ParGCRareEvent_lock = NULL; |
81 Mutex* EvacFailureStack_lock = NULL; | 81 Mutex* EvacFailureStack_lock = NULL; |
82 Mutex* DerivedPointerTableGC_lock = NULL; | 82 Mutex* DerivedPointerTableGC_lock = NULL; |
83 Mutex* Compile_lock = NULL; | 83 Mutex* Compile_lock = NULL; |
84 Monitor* MethodCompileQueue_lock = NULL; | 84 Monitor* MethodCompileQueue_lock = NULL; |
85 #ifdef TIERED | |
86 Monitor* C1_lock = NULL; | |
87 #endif // TIERED | |
88 Monitor* CompileThread_lock = NULL; | 85 Monitor* CompileThread_lock = NULL; |
89 Mutex* CompileTaskAlloc_lock = NULL; | 86 Mutex* CompileTaskAlloc_lock = NULL; |
90 Mutex* CompileStatistics_lock = NULL; | 87 Mutex* CompileStatistics_lock = NULL; |
91 Mutex* MultiArray_lock = NULL; | 88 Mutex* MultiArray_lock = NULL; |
92 Monitor* Terminator_lock = NULL; | 89 Monitor* Terminator_lock = NULL; |
253 def(MethodCompileQueue_lock , Monitor, nonleaf+4, true ); | 250 def(MethodCompileQueue_lock , Monitor, nonleaf+4, true ); |
254 def(Debug2_lock , Mutex , nonleaf+4, true ); | 251 def(Debug2_lock , Mutex , nonleaf+4, true ); |
255 def(Debug3_lock , Mutex , nonleaf+4, true ); | 252 def(Debug3_lock , Mutex , nonleaf+4, true ); |
256 def(ProfileVM_lock , Monitor, nonleaf+4, false); // used for profiling of the VMThread | 253 def(ProfileVM_lock , Monitor, nonleaf+4, false); // used for profiling of the VMThread |
257 def(CompileThread_lock , Monitor, nonleaf+5, false ); | 254 def(CompileThread_lock , Monitor, nonleaf+5, false ); |
258 #ifdef TIERED | |
259 def(C1_lock , Monitor, nonleaf+5, false ); | |
260 #endif // TIERED | |
261 | |
262 | |
263 } | 255 } |
264 | 256 |
265 GCMutexLocker::GCMutexLocker(Monitor * mutex) { | 257 GCMutexLocker::GCMutexLocker(Monitor * mutex) { |
266 if (SafepointSynchronize::is_at_safepoint()) { | 258 if (SafepointSynchronize::is_at_safepoint()) { |
267 _locked = false; | 259 _locked = false; |