aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/c2_globals.hpp
diff options
context:
space:
mode:
authorkvn <none@none>2012-01-07 13:26:43 -0800
committerkvn <none@none>2012-01-07 13:26:43 -0800
commit463881fa16cff120253ccb566e892e237a0a4e59 (patch)
tree69f06a71924a67c5ffb46433db743b515b8bcd80 /src/share/vm/opto/c2_globals.hpp
parent08667c66937ddf9298421c69002c46180f5819e7 (diff)
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
Diffstat (limited to 'src/share/vm/opto/c2_globals.hpp')
-rw-r--r--src/share/vm/opto/c2_globals.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/share/vm/opto/c2_globals.hpp b/src/share/vm/opto/c2_globals.hpp
index e7a0fff72..f73dcbde9 100644
--- a/src/share/vm/opto/c2_globals.hpp
+++ b/src/share/vm/opto/c2_globals.hpp
@@ -426,6 +426,9 @@
product(bool, EliminateLocks, true, \
"Coarsen locks when possible") \
\
+ product(bool, EliminateNestedLocks, true, \
+ "Eliminate nested locks of the same object when possible") \
+ \
notproduct(bool, PrintLockStatistics, false, \
"Print precise statistics on the dynamic lock usage") \
\