From d63a3a993b33d9ae42cc287101bfc54f7eb0d459 Mon Sep 17 00:00:00 2001 From: Tom Rodriguez Date: Wed, 4 May 2011 22:31:18 -0700 Subject: [PATCH] 7042052: Xcomp crash with PopSynchronousTest Reviewed-by: kvn, iveresov --- hotspot/src/share/vm/runtime/deoptimization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/runtime/deoptimization.cpp b/hotspot/src/share/vm/runtime/deoptimization.cpp index 112efd2e9b4..6313c547609 100644 --- a/hotspot/src/share/vm/runtime/deoptimization.cpp +++ b/hotspot/src/share/vm/runtime/deoptimization.cpp @@ -437,7 +437,7 @@ Deoptimization::UnrollBlock* Deoptimization::fetch_unroll_info_helper(JavaThread 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