comparison src/share/vm/runtime/mutexLocker.cpp @ 14770:beea13269eab

removed GraalDeoptLeafGraphIds_lock
author Doug Simon <doug.simon@oracle.com>
date Wed, 26 Mar 2014 20:33:16 +0100
parents 359f7e70ae7f
children 4062efea018b
comparison
equal deleted inserted replaced
14769:141d570b397c 14770:beea13269eab
131 Mutex* JfrBuffer_lock = NULL; 131 Mutex* JfrBuffer_lock = NULL;
132 Mutex* JfrStream_lock = NULL; 132 Mutex* JfrStream_lock = NULL;
133 Mutex* JfrThreadGroups_lock = NULL; 133 Mutex* JfrThreadGroups_lock = NULL;
134 #endif 134 #endif
135 135
136 #ifdef GRAAL
137 Mutex* GraalDeoptLeafGraphIds_lock = NULL;
138 #endif // GRAAL
139
140 #define MAX_NUM_MUTEX 128 136 #define MAX_NUM_MUTEX 128
141 static Monitor * _mutex_array[MAX_NUM_MUTEX]; 137 static Monitor * _mutex_array[MAX_NUM_MUTEX];
142 static int _num_mutex; 138 static int _num_mutex;
143 139
144 #ifdef ASSERT 140 #ifdef ASSERT
282 def(JfrBuffer_lock , Mutex, nonleaf+1, true); 278 def(JfrBuffer_lock , Mutex, nonleaf+1, true);
283 def(JfrThreadGroups_lock , Mutex, nonleaf+1, true); 279 def(JfrThreadGroups_lock , Mutex, nonleaf+1, true);
284 def(JfrStream_lock , Mutex, nonleaf+2, true); 280 def(JfrStream_lock , Mutex, nonleaf+2, true);
285 def(JfrStacktrace_lock , Mutex, special, true ); 281 def(JfrStacktrace_lock , Mutex, special, true );
286 #endif 282 #endif
287
288 #ifdef GRAAL
289 def(GraalDeoptLeafGraphIds_lock , Mutex, special, true);
290 #endif // GRAAL
291 } 283 }
292 284
293 GCMutexLocker::GCMutexLocker(Monitor * mutex) { 285 GCMutexLocker::GCMutexLocker(Monitor * mutex) {
294 if (SafepointSynchronize::is_at_safepoint()) { 286 if (SafepointSynchronize::is_at_safepoint()) {
295 _locked = false; 287 _locked = false;