mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI Remove assembly code for JDK 7 chained method handles Co-authored-by: John Rose <john.r.rose@oracle.com> Co-authored-by: Michael Haupt <michael.haupt@oracle.com> Reviewed-by: jrose, twisti, kvn, mhaupt
This commit is contained in:
parent
893817c28d
commit
12901d0e5b
181 changed files with 5760 additions and 14402 deletions
|
@ -410,8 +410,9 @@ void vframeStreamCommon::security_get_caller_frame(int depth) {
|
|||
Klass::cast(method()->method_holder())
|
||||
->is_subclass_of(SystemDictionary::reflect_MethodAccessorImpl_klass())) {
|
||||
// This is an auxilary frame -- skip it
|
||||
} else if (method()->is_method_handle_adapter()) {
|
||||
// This is an internal adapter frame from the MethodHandleCompiler -- skip it
|
||||
} else if (method()->is_method_handle_intrinsic() ||
|
||||
method()->is_compiled_lambda_form()) {
|
||||
// This is an internal adapter frame for method handles -- skip it
|
||||
} else {
|
||||
// This is non-excluded frame, we need to count it against the depth
|
||||
if (depth-- <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue