hotspot/src/share/vm/opto/bytecodeInfo.cpp
changeset 5420 586d3988e72b
parent 4586 f1c484fca023
child 5687 b862d1f189bd
child 5547 f4b087cbb361
equal deleted inserted replaced
5419:f2e8cc8c12ea 5420:586d3988e72b
   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) {