hotspot/src/share/vm/runtime/globals.hpp
changeset 2534 08dac9ce0cd7
parent 2352 00450e8ad728
child 2536 041a415cdea9
--- a/hotspot/src/share/vm/runtime/globals.hpp	Wed Apr 08 00:12:59 2009 -0700
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Wed Apr 08 10:56:49 2009 -0700
@@ -3298,6 +3298,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")\
                                                                             \