mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points. Reviewed-by: twisti, kvn
This commit is contained in:
parent
bce45e9222
commit
f5adc57f94
44 changed files with 1209 additions and 760 deletions
|
@ -418,24 +418,20 @@ void vframeArrayElement::unpack_on_stack(int caller_actual_parameters,
|
|||
|
||||
}
|
||||
|
||||
int vframeArrayElement::on_stack_size(int caller_actual_parameters,
|
||||
int callee_parameters,
|
||||
int vframeArrayElement::on_stack_size(int callee_parameters,
|
||||
int callee_locals,
|
||||
bool is_top_frame,
|
||||
bool is_bottom_frame,
|
||||
int popframe_extra_stack_expression_els) const {
|
||||
assert(method()->max_locals() == locals()->size(), "just checking");
|
||||
int locks = monitors() == NULL ? 0 : monitors()->number_of_monitors();
|
||||
int temps = expressions()->size();
|
||||
return Interpreter::size_activation(method(),
|
||||
return Interpreter::size_activation(method()->max_stack(),
|
||||
temps + callee_parameters,
|
||||
popframe_extra_stack_expression_els,
|
||||
locks,
|
||||
caller_actual_parameters,
|
||||
callee_parameters,
|
||||
callee_locals,
|
||||
is_top_frame,
|
||||
is_bottom_frame);
|
||||
is_top_frame);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue