Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 6266:1d7922586cf6
7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI
Summary: remove assembly code for JDK 7 chained method handles
Reviewed-by: jrose, twisti, kvn, mhaupt
Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author | twisti |
---|---|
date | Tue, 24 Jul 2012 10:51:00 -0700 |
parents | 3f1ab0c19c30 |
children | 957c266d8bc5 fce6d7280776 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
928 "Print additional statistics per compilation") \ | 928 "Print additional statistics per compilation") \ |
929 \ | 929 \ |
930 diagnostic(bool, PrintAdapterHandlers, false, \ | 930 diagnostic(bool, PrintAdapterHandlers, false, \ |
931 "Print code generated for i2c/c2i adapters") \ | 931 "Print code generated for i2c/c2i adapters") \ |
932 \ | 932 \ |
933 diagnostic(bool, VerifyAdapterCalls, trueInDebug, \ | |
934 "Verify that i2c/c2i adapters are called properly") \ | |
935 \ | |
933 develop(bool, VerifyAdapterSharing, false, \ | 936 develop(bool, VerifyAdapterSharing, false, \ |
934 "Verify that the code for shared adapters is the equivalent") \ | 937 "Verify that the code for shared adapters is the equivalent") \ |
935 \ | 938 \ |
936 diagnostic(bool, PrintAssembly, false, \ | 939 diagnostic(bool, PrintAssembly, false, \ |
937 "Print assembly code (using external disassembler.so)") \ | 940 "Print assembly code (using external disassembler.so)") \ |
3830 "anonymous classes") \ | 3833 "anonymous classes") \ |
3831 \ | 3834 \ |
3832 product(bool, AnonymousClasses, false, \ | 3835 product(bool, AnonymousClasses, false, \ |
3833 "support sun.misc.Unsafe.defineAnonymousClass (deprecated)") \ | 3836 "support sun.misc.Unsafe.defineAnonymousClass (deprecated)") \ |
3834 \ | 3837 \ |
3835 experimental(bool, EnableMethodHandles, false, \ | |
3836 "support method handles (deprecated)") \ | |
3837 \ | |
3838 diagnostic(intx, MethodHandlePushLimit, 3, \ | |
3839 "number of additional stack slots a method handle may push") \ | |
3840 \ | |
3841 diagnostic(bool, PrintMethodHandleStubs, false, \ | 3838 diagnostic(bool, PrintMethodHandleStubs, false, \ |
3842 "Print generated stub code for method handles") \ | 3839 "Print generated stub code for method handles") \ |
3843 \ | 3840 \ |
3844 develop(bool, TraceMethodHandles, false, \ | 3841 develop(bool, TraceMethodHandles, false, \ |
3845 "trace internal method handle operations") \ | 3842 "trace internal method handle operations") \ |
3846 \ | 3843 \ |
3847 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ | 3844 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ |
3848 "perform extra checks when constructing method handles") \ | 3845 "perform extra checks when constructing method handles") \ |
3849 \ | 3846 \ |
3850 diagnostic(bool, OptimizeMethodHandles, true, \ | 3847 diagnostic(bool, ShowHiddenFrames, false, \ |
3851 "when constructing method handles, try to improve them") \ | 3848 "show method handle implementation frames (usually hidden)") \ |
3852 \ | |
3853 develop(bool, StressMethodHandleWalk, false, \ | |
3854 "Process all method handles with MethodHandleWalk") \ | |
3855 \ | 3849 \ |
3856 experimental(bool, TrustFinalNonStaticFields, false, \ | 3850 experimental(bool, TrustFinalNonStaticFields, false, \ |
3857 "trust final non-static declarations for constant folding") \ | 3851 "trust final non-static declarations for constant folding") \ |
3858 \ | |
3859 experimental(bool, AllowInvokeGeneric, false, \ | |
3860 "accept MethodHandle.invoke and MethodHandle.invokeGeneric " \ | |
3861 "as equivalent methods") \ | |
3862 \ | 3852 \ |
3863 develop(bool, TraceInvokeDynamic, false, \ | 3853 develop(bool, TraceInvokeDynamic, false, \ |
3864 "trace internal invoke dynamic operations") \ | 3854 "trace internal invoke dynamic operations") \ |
3865 \ | 3855 \ |
3866 diagnostic(bool, PauseAtStartup, false, \ | 3856 diagnostic(bool, PauseAtStartup, false, \ |