Wed, 04 May 2011 22:31:18 -0700
7042052: Xcomp crash with PopSynchronousTest
Reviewed-by: kvn, iveresov
src/share/vm/runtime/deoptimization.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/runtime/deoptimization.cpp Wed May 04 13:12:42 2011 -0700 1.2 +++ b/src/share/vm/runtime/deoptimization.cpp Wed May 04 22:31:18 2011 -0700 1.3 @@ -437,7 +437,7 @@ 1.4 deopt_sender.interpreter_frame_bci()); 1.5 Symbol* signature = method->constants()->signature_ref_at(cur.index()); 1.6 ArgumentSizeComputer asc(signature); 1.7 - sender_callee_parameters = asc.size() + cur.has_receiver() ? 1 : 0; 1.8 + sender_callee_parameters = asc.size() + (cur.has_receiver() ? 1 : 0); 1.9 } 1.10 1.11 // Compute the amount the oldest interpreter frame will have to adjust