JDK-8294152 : AArch64: frame::id() and frame::is_older() broken for interpreted frames with large max_stack
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-09-21
  • Updated: 2024-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25Unresolved
Related Reports
Blocks :  
Relates :  
Description
It should be possible to assert

  f.sender().is_older(f.id())

on any platform, but this breaks on aarch64 when the caller frame has a large max_stack value.  In this case unextended_sp() of an interpreted frame can point outside the current frame into younger callee frames.