File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ public class RISCV64Frame extends Frame {
4747 }
4848
4949 // Java frames
50- private static final int LINK_OFFSET = 0 ;
51- private static final int RETURN_ADDR_OFFSET = 1 ;
52- private static final int SENDER_SP_OFFSET = 2 ;
50+ private static final int LINK_OFFSET = - 2 ;
51+ private static final int RETURN_ADDR_OFFSET = - 1 ;
52+ private static final int SENDER_SP_OFFSET = 0 ;
5353
5454 // Interpreter frames
55- private static final int INTERPRETER_FRAME_SENDER_SP_OFFSET = -1 ;
55+ private static final int INTERPRETER_FRAME_SENDER_SP_OFFSET = -3 ;
5656 private static final int INTERPRETER_FRAME_LAST_SP_OFFSET = INTERPRETER_FRAME_SENDER_SP_OFFSET - 1 ;
5757 private static final int INTERPRETER_FRAME_METHOD_OFFSET = INTERPRETER_FRAME_LAST_SP_OFFSET - 1 ;
5858 private static int INTERPRETER_FRAME_MDX_OFFSET ; // Non-core builds only
@@ -66,7 +66,7 @@ public class RISCV64Frame extends Frame {
6666 private static int INTERPRETER_FRAME_MONITOR_BLOCK_BOTTOM_OFFSET ;
6767
6868 // Entry frames
69- private static int ENTRY_FRAME_CALL_WRAPPER_OFFSET = -8 ;
69+ private static int ENTRY_FRAME_CALL_WRAPPER_OFFSET = -10 ;
7070
7171 // Native frames
7272 private static final int NATIVE_FRAME_INITIAL_PARAM_OFFSET = 2 ;
You can’t perform that action at this time.
0 commit comments