diff src/share/vm/opto/c2_globals.hpp @ 12190:edb5ab0f3fe5

8001107: @Stable annotation for constant folding of lazily evaluated variables Reviewed-by: rbackman, twisti, kvn Contributed-by: john.r.rose@oracle.com, vladimir.x.ivanov@oracle.com
author vlivanov
date Tue, 10 Sep 2013 14:51:48 -0700
parents bcc4f6f54d83
children 34bd5e86aadb
line wrap: on
line diff
--- a/src/share/vm/opto/c2_globals.hpp	Mon Sep 09 19:53:28 2013 +0200
+++ b/src/share/vm/opto/c2_globals.hpp	Tue Sep 10 14:51:48 2013 -0700
@@ -448,6 +448,9 @@
   product(bool, EliminateAutoBox, true,                                     \
           "Control optimizations for autobox elimination")                  \
                                                                             \
+  experimental(bool, UseImplicitStableValues, false,                        \
+          "Mark well-known stable fields as such (e.g. String.value)")      \
+                                                                            \
   product(intx, AutoBoxCacheMax, 128,                                       \
           "Sets max value cached by the java.lang.Integer autobox cache")   \
                                                                             \