Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 4777:e9a5e0a812c8
7125896: Eliminate nested locks
Summary: Nested locks elimination done before lock nodes expansion by looking for outer locks of the same object.
Reviewed-by: never, twisti
author | kvn |
---|---|
date | Sat, 07 Jan 2012 13:26:43 -0800 |
parents | d725f0affb1a |
children | 31a5b9aad4bc |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Sat Jan 07 10:39:23 2012 -0800 +++ b/src/share/vm/runtime/arguments.cpp Sat Jan 07 13:26:43 2012 -0800 @@ -3160,6 +3160,9 @@ if (!UseBiasedLocking || EmitSync != 0) { UseOptoBiasInlining = false; } + if (!EliminateLocks) { + EliminateNestedLocks = false; + } #endif if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {