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, \ |