hotspot/src/share/vm/runtime/globals.hpp
changeset 2536 041a415cdea9
parent 2364 7c9f46e9d37c
parent 2534 08dac9ce0cd7
child 2570 ecc7862946d4
--- a/hotspot/src/share/vm/runtime/globals.hpp	Thu Apr 09 13:59:45 2009 -0700
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Tue Apr 14 12:25:54 2009 -0700
@@ -3301,6 +3301,21 @@
   product(bool, AnonymousClasses, false,                                    \
           "support sun.misc.Unsafe.defineAnonymousClass")                   \
                                                                             \
+  product(bool, EnableMethodHandles, false,                                 \
+          "support method handles (true by default under JSR 292)")         \
+                                                                            \
+  diagnostic(intx, MethodHandlePushLimit, 3,                                \
+          "number of additional stack slots a method handle may push")      \
+                                                                            \
+  develop(bool, TraceMethodHandles, false,                                  \
+          "trace internal method handle operations")                        \
+                                                                            \
+  diagnostic(bool, VerifyMethodHandles, trueInDebug,                        \
+          "perform extra checks when constructing method handles")          \
+                                                                            \
+  diagnostic(bool, OptimizeMethodHandles, true,                             \
+          "when constructing method handles, try to improve them")          \
+                                                                            \
   product(bool, TaggedStackInterpreter, false,                              \
           "Insert tags in interpreter execution stack for oopmap generaion")\
                                                                             \