hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 9447 b4c536dd62da
parent 9446 748a37b25d10
child 9636 363ca5579aff
equal deleted inserted replaced
9446:748a37b25d10 9447:b4c536dd62da
   435     methodHandle method = deopt_sender.interpreter_frame_method();
   435     methodHandle method = deopt_sender.interpreter_frame_method();
   436     Bytecode_invoke cur = Bytecode_invoke_check(method,
   436     Bytecode_invoke cur = Bytecode_invoke_check(method,
   437                                                 deopt_sender.interpreter_frame_bci());
   437                                                 deopt_sender.interpreter_frame_bci());
   438     Symbol* signature = method->constants()->signature_ref_at(cur.index());
   438     Symbol* signature = method->constants()->signature_ref_at(cur.index());
   439     ArgumentSizeComputer asc(signature);
   439     ArgumentSizeComputer asc(signature);
   440     sender_callee_parameters = asc.size() + cur.has_receiver() ? 1 : 0;
   440     sender_callee_parameters = asc.size() + (cur.has_receiver() ? 1 : 0);
   441   }
   441   }
   442 
   442 
   443   // Compute the amount the oldest interpreter frame will have to adjust
   443   // Compute the amount the oldest interpreter frame will have to adjust
   444   // its caller's stack by. If the caller is a compiled frame then
   444   // its caller's stack by. If the caller is a compiled frame then
   445   // we pretend that the callee has no parameters so that the
   445   // we pretend that the callee has no parameters so that the