6610420: Debug VM crashes during monitor lock rank checking

Make SerializePage lock as raw lock and add name for mutex locks

Reviewed-by: never, dice, dholmes
This commit is contained in:
Xiaobin Lu 2008-02-05 23:21:57 -08:00
parent f7eb451719
commit f804a7e9f9
5 changed files with 24 additions and 24 deletions

View file

@ -188,10 +188,6 @@ void mutex_init() {
def(Safepoint_lock , Monitor, safepoint, true ); // locks SnippetCache_lock/Threads_lock
if (!UseMembar) {
def(SerializePage_lock , Monitor, leaf, true );
}
def(Threads_lock , Monitor, barrier, true );
def(VMOperationQueue_lock , Monitor, nonleaf, true ); // VM_thread allowed to block on these