comparison src/share/vm/runtime/deoptimization.cpp @ 3346:dcfb3dede009

7042052: Xcomp crash with PopSynchronousTest Reviewed-by: kvn, iveresov
author never
date Wed, 04 May 2011 22:31:18 -0700
parents bad7ecd0b6ed
children 3d2ab563047a
comparison
equal deleted inserted replaced
3345:bad7ecd0b6ed 3346:dcfb3dede009
435 methodHandle method = deopt_sender.interpreter_frame_method(); 435 methodHandle method = deopt_sender.interpreter_frame_method();
436 Bytecode_invoke cur = Bytecode_invoke_check(method, 436 Bytecode_invoke cur = Bytecode_invoke_check(method,
437 deopt_sender.interpreter_frame_bci()); 437 deopt_sender.interpreter_frame_bci());
438 Symbol* signature = method->constants()->signature_ref_at(cur.index()); 438 Symbol* signature = method->constants()->signature_ref_at(cur.index());
439 ArgumentSizeComputer asc(signature); 439 ArgumentSizeComputer asc(signature);
440 sender_callee_parameters = asc.size() + cur.has_receiver() ? 1 : 0; 440 sender_callee_parameters = asc.size() + (cur.has_receiver() ? 1 : 0);
441 } 441 }
442 442
443 // Compute the amount the oldest interpreter frame will have to adjust 443 // Compute the amount the oldest interpreter frame will have to adjust
444 // its caller's stack by. If the caller is a compiled frame then 444 // its caller's stack by. If the caller is a compiled frame then
445 // we pretend that the callee has no parameters so that the 445 // we pretend that the callee has no parameters so that the