Skip to content

Commit c5c91a8

Browse files
committed
8345285: [s390x] test failures: foreign/normalize/TestNormalize.java with C2
Reviewed-by: mdoerr, aph
1 parent 26bf445 commit c5c91a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/hotspot/cpu/s390/abstractInterpreter_s390.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void AbstractInterpreter::layout_activation(Method* method,
190190
assert(is_bottom_frame && (sender_sp == caller->unextended_sp()),
191191
"must initialize sender_sp of bottom skeleton frame when pushing it");
192192
} else {
193-
assert(caller->is_entry_frame(), "is there a new frame type??");
193+
assert(caller->is_entry_frame() || caller->is_upcall_stub_frame(), "is there a new frame type??");
194194
sender_sp = caller->sp(); // Call_stub only uses it's fp.
195195
}
196196

@@ -200,6 +200,8 @@ void AbstractInterpreter::layout_activation(Method* method,
200200
interpreter_frame->interpreter_frame_set_monitor_end((BasicObjectLock *)monitor);
201201
*interpreter_frame->interpreter_frame_cache_addr() = method->constants()->cache();
202202
interpreter_frame->interpreter_frame_set_tos_address(tos);
203-
interpreter_frame->interpreter_frame_set_sender_sp(sender_sp);
203+
if (!is_bottom_frame) {
204+
interpreter_frame->interpreter_frame_set_sender_sp(sender_sp);
205+
}
204206
interpreter_frame->interpreter_frame_set_top_frame_sp(top_frame_sp);
205207
}

0 commit comments

Comments
 (0)