mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
Deoptimization doesn't set up callee frames so that they restore caller frames correctly. Reviewed-by: kvn
This commit is contained in:
parent
5d0afe6210
commit
05b1c69fc0
11 changed files with 295 additions and 14 deletions
|
@ -186,7 +186,8 @@ class AbstractInterpreter: AllStatic {
|
|||
int caller_actual_parameters,
|
||||
int callee_params,
|
||||
int callee_locals,
|
||||
bool is_top_frame) {
|
||||
bool is_top_frame,
|
||||
bool is_bottom_frame) {
|
||||
return layout_activation(method,
|
||||
temps,
|
||||
popframe_args,
|
||||
|
@ -196,7 +197,8 @@ class AbstractInterpreter: AllStatic {
|
|||
callee_locals,
|
||||
(frame*)NULL,
|
||||
(frame*)NULL,
|
||||
is_top_frame);
|
||||
is_top_frame,
|
||||
is_bottom_frame);
|
||||
}
|
||||
|
||||
static int layout_activation(Method* method,
|
||||
|
@ -208,7 +210,8 @@ class AbstractInterpreter: AllStatic {
|
|||
int callee_locals,
|
||||
frame* caller,
|
||||
frame* interpreter_frame,
|
||||
bool is_top_frame);
|
||||
bool is_top_frame,
|
||||
bool is_bottom_frame);
|
||||
|
||||
// Runtime support
|
||||
static bool is_not_reached( methodHandle method, int bci);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue