--- a/hotspot/src/share/vm/runtime/globals.hpp Tue Mar 04 02:19:04 2014 -0800
+++ b/hotspot/src/share/vm/runtime/globals.hpp Tue Mar 04 02:20:41 2014 -0800
@@ -3799,8 +3799,8 @@
experimental(bool, TrustFinalNonStaticFields, false, \
"trust final non-static declarations for constant folding") \
\
- experimental(bool, FoldStableValues, false, \
- "Private flag to control optimizations for stable variables") \
+ diagnostic(bool, FoldStableValues, true, \
+ "Optimize loads from stable fields (marked w/ @Stable)") \
\
develop(bool, TraceInvokeDynamic, false, \
"trace internal invoke dynamic operations") \