equal
deleted
inserted
replaced
629 if (old_ilt != NULL) { |
629 if (old_ilt != NULL) { |
630 return old_ilt; |
630 return old_ilt; |
631 } |
631 } |
632 int max_inline_level_adjust = 0; |
632 int max_inline_level_adjust = 0; |
633 if (caller_jvms->method() != NULL) { |
633 if (caller_jvms->method() != NULL) { |
634 if (caller_jvms->method()->is_compiled_lambda_form()) |
634 if (caller_jvms->method()->is_compiled_lambda_form()) { |
635 max_inline_level_adjust += 1; // don't count actions in MH or indy adapter frames |
635 max_inline_level_adjust += 1; // don't count actions in MH or indy adapter frames |
636 else if (callee_method->is_method_handle_intrinsic() || |
636 } else if (callee_method->is_method_handle_intrinsic() || |
637 callee_method->is_compiled_lambda_form()) { |
637 callee_method->is_compiled_lambda_form()) { |
638 max_inline_level_adjust += 1; // don't count method handle calls from java.lang.invoke implem |
638 max_inline_level_adjust += 1; // don't count method handle calls from java.lang.invoke implementation |
639 } |
639 } |
640 if (max_inline_level_adjust != 0 && C->print_inlining() && (Verbose || WizardMode)) { |
640 if (max_inline_level_adjust != 0 && C->print_inlining() && (Verbose || WizardMode)) { |
641 CompileTask::print_inline_indent(inline_level()); |
641 CompileTask::print_inline_indent(inline_level()); |
642 tty->print_cr(" \\-> discounting inline depth"); |
642 tty->print_cr(" \\-> discounting inline depth"); |
643 } |
643 } |