comparison src/share/vm/runtime/mutexLocker.cpp @ 55:2a8eb116ebbe

6610420: Debug VM crashes during monitor lock rank checking Summary: Make SerializePage lock as raw lock and add name for mutex locks Reviewed-by: never, dice, dholmes
author xlu
date Tue, 05 Feb 2008 23:21:57 -0800
parents a61af66fc99e
children d1605aabd0a1 37f87013dfd8
comparison
equal deleted inserted replaced
54:d4a0f561287a 55:2a8eb116ebbe
186 // CMS_bitMap_lock leaf + 1 186 // CMS_bitMap_lock leaf + 1
187 // CMS_freeList_lock leaf + 2 187 // CMS_freeList_lock leaf + 2
188 188
189 def(Safepoint_lock , Monitor, safepoint, true ); // locks SnippetCache_lock/Threads_lock 189 def(Safepoint_lock , Monitor, safepoint, true ); // locks SnippetCache_lock/Threads_lock
190 190
191 if (!UseMembar) {
192 def(SerializePage_lock , Monitor, leaf, true );
193 }
194
195 def(Threads_lock , Monitor, barrier, true ); 191 def(Threads_lock , Monitor, barrier, true );
196 192
197 def(VMOperationQueue_lock , Monitor, nonleaf, true ); // VM_thread allowed to block on these 193 def(VMOperationQueue_lock , Monitor, nonleaf, true ); // VM_thread allowed to block on these
198 def(VMOperationRequest_lock , Monitor, nonleaf, true ); 194 def(VMOperationRequest_lock , Monitor, nonleaf, true );
199 def(RetData_lock , Mutex , nonleaf, false); 195 def(RetData_lock , Mutex , nonleaf, false);