On Wed, 19 Aug 2026 05:40:42 GMT, Yasumasa Suenaga <[email protected]> wrote:

> This is a part of [JDK-8382392](https://bugs.openjdk.org/browse/JDK-8382392).
> 
> `LinuxAMD64CFrame` validates sender frame with CFA and FP. But SP should also 
> be validated because return address would be pushed onto stack - it means SP 
> should grow always when the function is called (`CALL` instruction for 
> example).
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/amd64/LinuxAMD64CFrame.java
 line 82:

> 80:    }
> 81: 
> 82:    // In SysV AMD64, the stack must be consumed because return address 
> would be stored on the stack.

I'm not sure what you mean by "consumed".

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/32435#discussion_r3834115732

Reply via email to