Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
4776:5da7201222d5 | 4777:e9a5e0a812c8 |
---|---|
3158 | 3158 |
3159 #ifdef COMPILER2 | 3159 #ifdef COMPILER2 |
3160 if (!UseBiasedLocking || EmitSync != 0) { | 3160 if (!UseBiasedLocking || EmitSync != 0) { |
3161 UseOptoBiasInlining = false; | 3161 UseOptoBiasInlining = false; |
3162 } | 3162 } |
3163 if (!EliminateLocks) { | |
3164 EliminateNestedLocks = false; | |
3165 } | |
3163 #endif | 3166 #endif |
3164 | 3167 |
3165 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { | 3168 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { |
3166 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); | 3169 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); |
3167 DebugNonSafepoints = true; | 3170 DebugNonSafepoints = true; |