src/share/vm/services/memSnapshot.cpp

changeset 3936
f1f45dddb0bd
parent 3900
d2a62e0f25eb
child 3986
4acebbe310e1
     1.1 --- a/src/share/vm/services/memSnapshot.cpp	Wed Jul 04 15:55:45 2012 -0400
     1.2 +++ b/src/share/vm/services/memSnapshot.cpp	Mon Jul 16 14:10:34 2012 -0400
     1.3 @@ -173,7 +173,7 @@
     1.4      _staging_area = new (std::nothrow)MemPointerArrayImpl<SeqMemPointerRecord>();
     1.5    }
     1.6  
     1.7 -  _lock = new (std::nothrow) Mutex(Monitor::native, "memSnapshotLock");
     1.8 +  _lock = new (std::nothrow) Mutex(Monitor::max_nonleaf - 1, "memSnapshotLock");
     1.9    NOT_PRODUCT(_untracked_count = 0;)
    1.10  }
    1.11  

mercurial