diff src/share/vm/runtime/globals.hpp @ 1173:73b22f919c34

6912065: final fields in objects need to support inlining optimizations for JSR 292 Reviewed-by: twisti, kvn
author jrose
date Wed, 13 Jan 2010 23:05:52 -0800
parents c3b315a0d58a
children 3d6016e040d6
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue Jan 12 14:37:35 2010 -0800
+++ b/src/share/vm/runtime/globals.hpp	Wed Jan 13 23:05:52 2010 -0800
@@ -3370,6 +3370,9 @@
   diagnostic(bool, OptimizeMethodHandles, true,                             \
           "when constructing method handles, try to improve them")          \
                                                                             \
+  experimental(bool, TrustFinalNonStaticFields, false,                      \
+          "trust final non-static declarations for constant folding")       \
+                                                                            \
   experimental(bool, EnableInvokeDynamic, false,                            \
           "recognize the invokedynamic instruction")                        \
                                                                             \