--- a/hotspot/src/share/vm/runtime/deoptimization.cpp Wed May 04 13:12:42 2011 -0700
+++ b/hotspot/src/share/vm/runtime/deoptimization.cpp Wed May 04 22:31:18 2011 -0700
@@ -437,7 +437,7 @@
deopt_sender.interpreter_frame_bci());
Symbol* signature = method->constants()->signature_ref_at(cur.index());
ArgumentSizeComputer asc(signature);
- sender_callee_parameters = asc.size() + cur.has_receiver() ? 1 : 0;
+ sender_callee_parameters = asc.size() + (cur.has_receiver() ? 1 : 0);
}
// Compute the amount the oldest interpreter frame will have to adjust