diff -r 1d037ecd7960 -r e5b0439ef4ae src/share/vm/runtime/globals.hpp --- a/src/share/vm/runtime/globals.hpp Wed Apr 08 00:12:59 2009 -0700 +++ b/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")\ \