equal
deleted
inserted
replaced
475 if (old_ilt != NULL) { |
475 if (old_ilt != NULL) { |
476 return old_ilt; |
476 return old_ilt; |
477 } |
477 } |
478 int new_depth_adjust = 0; |
478 int new_depth_adjust = 0; |
479 if (caller_jvms->method() != NULL) { |
479 if (caller_jvms->method() != NULL) { |
480 if ((caller_jvms->method()->name() == ciSymbol::invoke_name() && |
|
481 caller_jvms->method()->holder()->name() == ciSymbol::java_dyn_MethodHandle()) |
|
482 || caller_jvms->method()->holder()->name() == ciSymbol::java_dyn_InvokeDynamic()) |
|
483 /* @@@ FIXME: |
|
484 if (caller_jvms->method()->is_method_handle_adapter()) |
480 if (caller_jvms->method()->is_method_handle_adapter()) |
485 */ |
|
486 new_depth_adjust -= 1; // don't count actions in MH or indy adapter frames |
481 new_depth_adjust -= 1; // don't count actions in MH or indy adapter frames |
487 else if (callee_method->is_method_handle_invoke()) { |
482 else if (callee_method->is_method_handle_invoke()) { |
488 new_depth_adjust -= 1; // don't count method handle calls from java.dyn implem |
483 new_depth_adjust -= 1; // don't count method handle calls from java.dyn implem |
489 } |
484 } |
490 if (new_depth_adjust != 0 && PrintInlining) { |
485 if (new_depth_adjust != 0 && PrintInlining) { |