Skip to content

Commit c7d4dbf

Browse files
committed
adds
1 parent f8040ac commit c7d4dbf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/hotspot/cpu/s390/frame_s390.inline.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ inline void frame::setup() {
5454
// The back link for compiled frames on the heap is not valid
5555
if (is_heap_frame()) {
5656
// fp for interpreted frames should have been derelativized and passed to the constructor
57-
assert(is_compiled_frame(), "");
58-
// TODO: I am not sure about back link part for this comment.
57+
assert(is_compiled_frame()
58+
|| is_native_frame() // native wrapper (nmethod) for j.l.Object::wait0
59+
|| is_runtime_frame(), // e.g. Runtime1::monitorenter, SharedRuntime::complete_monitor_locking_C
60+
"sp:" PTR_FORMAT " fp:" PTR_FORMAT " name:%s", p2i(_sp), p2i(_unextended_sp + _cb->frame_size()), _cb->name());
5961
// The back link for compiled frames on the heap is invalid.
6062
_fp = _unextended_sp + _cb->frame_size();
6163
} else {

0 commit comments

Comments
 (0)