mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
7125896: Eliminate nested locks
Nested locks elimination done before lock nodes expansion by looking for outer locks of the same object. Reviewed-by: never, twisti
This commit is contained in:
parent
f99fb50071
commit
94927c382b
17 changed files with 366 additions and 145 deletions
|
@ -3160,6 +3160,9 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
|
|||
if (!UseBiasedLocking || EmitSync != 0) {
|
||||
UseOptoBiasInlining = false;
|
||||
}
|
||||
if (!EliminateLocks) {
|
||||
EliminateNestedLocks = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue