# HG changeset patch # User never # Date 1304573478 25200 # Node ID b4c536dd62da0f74a50dc25d658574336a63b726 # Parent 748a37b25d10f8c2857cc58341778b4e1244b56b 7042052: Xcomp crash with PopSynchronousTest Reviewed-by: kvn, iveresov diff -r 748a37b25d10 -r b4c536dd62da hotspot/src/share/vm/runtime/deoptimization.cpp --- 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