Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/mutexLocker.cpp @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | e522a00b91aa |
children | 291ffc492eb6 |
comparison
equal
deleted
inserted
replaced
7153:c421c19b7bf8 | 7154:5d0bb7d52783 |
---|---|
290 def(JfrMsg_lock , Monitor, nonleaf+2, true); | 290 def(JfrMsg_lock , Monitor, nonleaf+2, true); |
291 def(JfrBuffer_lock , Mutex, nonleaf+3, true); | 291 def(JfrBuffer_lock , Mutex, nonleaf+3, true); |
292 def(JfrStream_lock , Mutex, nonleaf+4, true); | 292 def(JfrStream_lock , Mutex, nonleaf+4, true); |
293 def(PeriodicTask_lock , Monitor, nonleaf+5, true); | 293 def(PeriodicTask_lock , Monitor, nonleaf+5, true); |
294 #ifdef GRAAL | 294 #ifdef GRAAL |
295 def(GraalDeoptLeafGraphIds_lock , Mutex, special, true); | 295 def(GraalDeoptLeafGraphIds_lock , Mutex, special, true); |
296 #endif // GRAAL | 296 #endif // GRAAL |
297 } | 297 } |
298 | 298 |
299 GCMutexLocker::GCMutexLocker(Monitor * mutex) { | 299 GCMutexLocker::GCMutexLocker(Monitor * mutex) { |
300 if (SafepointSynchronize::is_at_safepoint()) { | 300 if (SafepointSynchronize::is_at_safepoint()) { |