1.1 --- a/src/share/vm/runtime/globals.hpp Wed Apr 08 00:12:59 2009 -0700 1.2 +++ b/src/share/vm/runtime/globals.hpp Wed Apr 08 10:56:49 2009 -0700 1.3 @@ -3298,6 +3298,21 @@ 1.4 product(bool, AnonymousClasses, false, \ 1.5 "support sun.misc.Unsafe.defineAnonymousClass") \ 1.6 \ 1.7 + product(bool, EnableMethodHandles, false, \ 1.8 + "support method handles (true by default under JSR 292)") \ 1.9 + \ 1.10 + diagnostic(intx, MethodHandlePushLimit, 3, \ 1.11 + "number of additional stack slots a method handle may push") \ 1.12 + \ 1.13 + develop(bool, TraceMethodHandles, false, \ 1.14 + "trace internal method handle operations") \ 1.15 + \ 1.16 + diagnostic(bool, VerifyMethodHandles, trueInDebug, \ 1.17 + "perform extra checks when constructing method handles") \ 1.18 + \ 1.19 + diagnostic(bool, OptimizeMethodHandles, true, \ 1.20 + "when constructing method handles, try to improve them") \ 1.21 + \ 1.22 product(bool, TaggedStackInterpreter, false, \ 1.23 "Insert tags in interpreter execution stack for oopmap generaion")\ 1.24 \