We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f8aaef commit 0491da3Copy full SHA for 0491da3
src/hotspot/cpu/loongarch/frame_loongarch.cpp
@@ -63,8 +63,11 @@ bool frame::safe_for_sender(JavaThread *thread) {
63
return false;
64
}
65
66
- // unextended sp must be within the stack and above or equal sp
67
- if (!thread->is_in_stack_range_incl(unextended_sp, sp)) {
+ // unextended sp must be within the stack
+ // Note: sp can be greater than unextended_sp in the case of
68
+ // interpreted -> interpreted calls that go through a method handle linker,
69
+ // since those pop the last argument (the appendix) from the stack.
70
+ if (!thread->is_in_stack_range_incl(unextended_sp, sp - Interpreter::stackElementSize)) {
71
72
73
src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s
0 commit comments