Mercurial > hg > truffle
diff src/share/vm/services/memSnapshot.cpp @ 6233:d5bc62fcfac7
Merge
author | zgu |
---|---|
date | Thu, 19 Jul 2012 09:10:12 -0400 |
parents | f1f45dddb0bd |
children | 4acebbe310e1 |
line wrap: on
line diff
--- a/src/share/vm/services/memSnapshot.cpp Thu Jul 19 09:05:42 2012 -0400 +++ b/src/share/vm/services/memSnapshot.cpp Thu Jul 19 09:10:12 2012 -0400 @@ -173,7 +173,7 @@ _staging_area = new (std::nothrow)MemPointerArrayImpl<SeqMemPointerRecord>(); } - _lock = new (std::nothrow) Mutex(Monitor::native, "memSnapshotLock"); + _lock = new (std::nothrow) Mutex(Monitor::max_nonleaf - 1, "memSnapshotLock"); NOT_PRODUCT(_untracked_count = 0;) }