Skip to content

Commit 0057c95

Browse files
author
duke
committed
Backport d46f769e70f6c0e8effcb78310cacc391a14fd6f
1 parent 35d219b commit 0057c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hotspot/src/cpu/aarch64/vm/frame_aarch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ bool frame::safe_for_sender(JavaThread *thread) {
8484
// So unextended sp must be within the stack but we need not to check
8585
// that unextended sp >= sp
8686

87-
bool unextended_sp_safe = (unextended_sp < thread->stack_base());
87+
bool unextended_sp_safe = (unextended_sp < thread->stack_base() && unextended_sp >= thread->stack_end());
8888

8989
if (!unextended_sp_safe) {
9090
return false;

0 commit comments

Comments
 (0)