Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 2416:38fea01eb669
6817525: turn on method handle functionality by default for JSR 292
Summary: After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
author | twisti |
---|---|
date | Thu, 31 Mar 2011 02:31:57 -0700 |
parents | 1927db75dd85 |
children | 4f978fb6c81a c2323e2ea62b |
comparison
equal
deleted
inserted
replaced
2415:09f96c3ff1ad | 2416:38fea01eb669 |
---|---|
3691 \ | 3691 \ |
3692 diagnostic(bool, SharedSkipVerify, false, \ | 3692 diagnostic(bool, SharedSkipVerify, false, \ |
3693 "Skip assert() and verify() which page-in unwanted shared " \ | 3693 "Skip assert() and verify() which page-in unwanted shared " \ |
3694 "objects. ") \ | 3694 "objects. ") \ |
3695 \ | 3695 \ |
3696 diagnostic(bool, EnableInvokeDynamic, true, \ | |
3697 "support JSR 292 (method handles, invokedynamic, " \ | |
3698 "anonymous classes") \ | |
3699 \ | |
3696 product(bool, AnonymousClasses, false, \ | 3700 product(bool, AnonymousClasses, false, \ |
3697 "support sun.misc.Unsafe.defineAnonymousClass") \ | 3701 "support sun.misc.Unsafe.defineAnonymousClass (deprecated)") \ |
3698 \ | 3702 \ |
3699 experimental(bool, EnableMethodHandles, false, \ | 3703 experimental(bool, EnableMethodHandles, false, \ |
3700 "support method handles (true by default under JSR 292)") \ | 3704 "support method handles (deprecated)") \ |
3701 \ | 3705 \ |
3702 diagnostic(intx, MethodHandlePushLimit, 3, \ | 3706 diagnostic(intx, MethodHandlePushLimit, 3, \ |
3703 "number of additional stack slots a method handle may push") \ | 3707 "number of additional stack slots a method handle may push") \ |
3704 \ | 3708 \ |
3705 develop(bool, TraceMethodHandles, false, \ | 3709 develop(bool, TraceMethodHandles, false, \ |
3711 diagnostic(bool, OptimizeMethodHandles, true, \ | 3715 diagnostic(bool, OptimizeMethodHandles, true, \ |
3712 "when constructing method handles, try to improve them") \ | 3716 "when constructing method handles, try to improve them") \ |
3713 \ | 3717 \ |
3714 experimental(bool, TrustFinalNonStaticFields, false, \ | 3718 experimental(bool, TrustFinalNonStaticFields, false, \ |
3715 "trust final non-static declarations for constant folding") \ | 3719 "trust final non-static declarations for constant folding") \ |
3716 \ | |
3717 experimental(bool, EnableInvokeDynamic, false, \ | |
3718 "recognize the invokedynamic instruction") \ | |
3719 \ | 3720 \ |
3720 experimental(bool, AllowTransitionalJSR292, true, \ | 3721 experimental(bool, AllowTransitionalJSR292, true, \ |
3721 "recognize pre-PFD formats of invokedynamic") \ | 3722 "recognize pre-PFD formats of invokedynamic") \ |
3722 \ | 3723 \ |
3723 experimental(bool, PreferTransitionalJSR292, false, \ | 3724 experimental(bool, PreferTransitionalJSR292, false, \ |