Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vframe.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 | 1d1603768966 |
children | 957c266d8bc5 da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
408 // This is Method.invoke() -- skip it | 408 // This is Method.invoke() -- skip it |
409 } else if (use_new_reflection && | 409 } else if (use_new_reflection && |
410 Klass::cast(method()->method_holder()) | 410 Klass::cast(method()->method_holder()) |
411 ->is_subclass_of(SystemDictionary::reflect_MethodAccessorImpl_klass())) { | 411 ->is_subclass_of(SystemDictionary::reflect_MethodAccessorImpl_klass())) { |
412 // This is an auxilary frame -- skip it | 412 // This is an auxilary frame -- skip it |
413 } else if (method()->is_method_handle_adapter()) { | 413 } else if (method()->is_method_handle_intrinsic() || |
414 // This is an internal adapter frame from the MethodHandleCompiler -- skip it | 414 method()->is_compiled_lambda_form()) { |
415 // This is an internal adapter frame for method handles -- skip it | |
415 } else { | 416 } else { |
416 // This is non-excluded frame, we need to count it against the depth | 417 // This is non-excluded frame, we need to count it against the depth |
417 if (depth-- <= 0) { | 418 if (depth-- <= 0) { |
418 // we have reached the desired depth, we are done | 419 // we have reached the desired depth, we are done |
419 break; | 420 break; |