Skip to content

Commit 0491da3

Browse files
authored
Update (2025.03.04, 4th)
30722: AsyncGetCallTrace obtains too few frames while testing ASGCTBaseTest.java 34466: removed os_cpu/linux_loongarch/linux_loongarch.s
1 parent 2f8aaef commit 0491da3

File tree

2 files changed

+5
-27
lines changed

2 files changed

+5
-27
lines changed

src/hotspot/cpu/loongarch/frame_loongarch.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@ bool frame::safe_for_sender(JavaThread *thread) {
6363
return false;
6464
}
6565

66-
// unextended sp must be within the stack and above or equal sp
67-
if (!thread->is_in_stack_range_incl(unextended_sp, sp)) {
66+
// unextended sp must be within the stack
67+
// 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)) {
6871
return false;
6972
}
7073

src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)