comparison src/share/vm/runtime/mutexLocker.hpp @ 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
50 extern Mutex* RetData_lock; // a lock on installation of RetData inside method data 50 extern Mutex* RetData_lock; // a lock on installation of RetData inside method data
51 extern Mutex* DerivedPointerTableGC_lock; // a lock to protect the derived pointer table 51 extern Mutex* DerivedPointerTableGC_lock; // a lock to protect the derived pointer table
52 extern Monitor* VMOperationQueue_lock; // a lock on queue of vm_operations waiting to execute 52 extern Monitor* VMOperationQueue_lock; // a lock on queue of vm_operations waiting to execute
53 extern Monitor* VMOperationRequest_lock; // a lock on Threads waiting for a vm_operation to terminate 53 extern Monitor* VMOperationRequest_lock; // a lock on Threads waiting for a vm_operation to terminate
54 extern Monitor* Safepoint_lock; // a lock used by the safepoint abstraction 54 extern Monitor* Safepoint_lock; // a lock used by the safepoint abstraction
55 extern Monitor* SerializePage_lock; // a lock used when VMThread changing serialize memory page permission during safepoint
56 extern Monitor* Threads_lock; // a lock on the Threads table of active Java threads 55 extern Monitor* Threads_lock; // a lock on the Threads table of active Java threads
57 // (also used by Safepoints too to block threads creation/destruction) 56 // (also used by Safepoints too to block threads creation/destruction)
58 extern Monitor* CGC_lock; // used for coordination between 57 extern Monitor* CGC_lock; // used for coordination between
59 // fore- & background GC threads. 58 // fore- & background GC threads.
60 extern Mutex* STS_init_lock; // coordinate initialization of SuspendibleThreadSets. 59 extern Mutex* STS_init_lock; // coordinate initialization of SuspendibleThreadSets.