7042052: Xcomp crash with PopSynchronousTest
authornever
Wed, 04 May 2011 22:31:18 -0700
changeset 9447 b4c536dd62da
parent 9446 748a37b25d10
child 9448 6002f46558d8
7042052: Xcomp crash with PopSynchronousTest Reviewed-by: kvn, iveresov
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