equal
deleted
inserted
replaced
54 // inherently a bit more special than even locks of the 'special' rank. |
54 // inherently a bit more special than even locks of the 'special' rank. |
55 // NOTE: It is critical that the rank 'special' be the lowest (earliest) |
55 // NOTE: It is critical that the rank 'special' be the lowest (earliest) |
56 // (except for "event" and "access") for the deadlock detection to work correctly. |
56 // (except for "event" and "access") for the deadlock detection to work correctly. |
57 // The rank native is only for use in Mutex's created by JVM_RawMonitorCreate, |
57 // The rank native is only for use in Mutex's created by JVM_RawMonitorCreate, |
58 // which being external to the VM are not subject to deadlock detection. |
58 // which being external to the VM are not subject to deadlock detection. |
59 // The rank safepoint is used only for synchronization in reaching a |
59 // While at a safepoint no mutexes of rank safepoint are held by any thread. |
60 // safepoint and leaving a safepoint. It is only used for the Safepoint_lock |
|
61 // currently. While at a safepoint no mutexes of rank safepoint are held |
|
62 // by any thread. |
|
63 // The rank named "leaf" is probably historical (and should |
60 // The rank named "leaf" is probably historical (and should |
64 // be changed) -- mutexes of this rank aren't really leaf mutexes |
61 // be changed) -- mutexes of this rank aren't really leaf mutexes |
65 // at all. |
62 // at all. |
66 enum lock_types { |
63 enum lock_types { |
67 event, |
64 event, |