hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 30305 b92a97e1e9cb
parent 29070 b0a5fc9c59c8
child 30310 522ea430079f
equal deleted inserted replaced
30302:ecca632210ef 30305:b92a97e1e9cb
  1177     tty->print_cr(" at pc: " INTPTR_FORMAT " to code: " INTPTR_FORMAT, caller_frame.pc(), callee_method->code());
  1177     tty->print_cr(" at pc: " INTPTR_FORMAT " to code: " INTPTR_FORMAT, caller_frame.pc(), callee_method->code());
  1178   }
  1178   }
  1179 #endif
  1179 #endif
  1180 
  1180 
  1181   // JSR 292 key invariant:
  1181   // JSR 292 key invariant:
  1182   // If the resolved method is a MethodHandle invoke target the call
  1182   // If the resolved method is a MethodHandle invoke target, the call
  1183   // site must be a MethodHandle call site, because the lambda form might tail-call
  1183   // site must be a MethodHandle call site, because the lambda form might tail-call
  1184   // leaving the stack in a state unknown to either caller or callee
  1184   // leaving the stack in a state unknown to either caller or callee
  1185   // TODO detune for now but we might need it again
  1185   // TODO detune for now but we might need it again
  1186 //  assert(!callee_method->is_compiled_lambda_form() ||
  1186 //  assert(!callee_method->is_compiled_lambda_form() ||
  1187 //         caller_nm->is_method_handle_return(caller_frame.pc()), "must be MH call site");
  1187 //         caller_nm->is_method_handle_return(caller_frame.pc()), "must be MH call site");