diff src/share/vm/runtime/globals.hpp @ 192:6d13fcb3663f

6714404: Add UseStringCache switch to enable String caching under AggressiveOpts Summary: Poke String.stringCacheEnabled during vm initialization Reviewed-by: never
author kvn
date Fri, 13 Jun 2008 14:49:07 -0700
parents 510f98a80563
children d1605aabd0a1 ab65a4c9b2e8 69fefd031e6c
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue Jun 10 11:14:27 2008 -0700
+++ b/src/share/vm/runtime/globals.hpp	Fri Jun 13 14:49:07 2008 -0700
@@ -2246,6 +2246,9 @@
   product(bool, AggressiveOpts, false,                                      \
           "Enable aggressive optimizations - see arguments.cpp")            \
                                                                             \
+  product(bool, UseStringCache, false,                                      \
+          "Enable String cache capabilities on String.java")                \
+                                                                            \
   /* statistics */                                                          \
   develop(bool, UseVTune, false,                                            \
           "enable support for Intel's VTune profiler")                      \