Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 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 | 90d5a592ea8f |
children | 957c266d8bc5 bb3f6194fedb |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
3085 UseCounterDecay = false; | 3085 UseCounterDecay = false; |
3086 } | 3086 } |
3087 } | 3087 } |
3088 #endif // PRODUCT | 3088 #endif // PRODUCT |
3089 | 3089 |
3090 // Transitional | |
3091 if (EnableMethodHandles || AnonymousClasses) { | |
3092 if (!EnableInvokeDynamic && !FLAG_IS_DEFAULT(EnableInvokeDynamic)) { | |
3093 warning("EnableMethodHandles and AnonymousClasses are obsolete. Keeping EnableInvokeDynamic disabled."); | |
3094 } else { | |
3095 EnableInvokeDynamic = true; | |
3096 } | |
3097 } | |
3098 | |
3099 // JSR 292 is not supported before 1.7 | 3090 // JSR 292 is not supported before 1.7 |
3100 if (!JDK_Version::is_gte_jdk17x_version()) { | 3091 if (!JDK_Version::is_gte_jdk17x_version()) { |
3101 if (EnableInvokeDynamic) { | 3092 if (EnableInvokeDynamic) { |
3102 if (!FLAG_IS_DEFAULT(EnableInvokeDynamic)) { | 3093 if (!FLAG_IS_DEFAULT(EnableInvokeDynamic)) { |
3103 warning("JSR 292 is not supported before 1.7. Disabling support."); | 3094 warning("JSR 292 is not supported before 1.7. Disabling support."); |