RFR: 8350201: Out of bounds access on Linux aarch64 in os::print_register_info
Kim Barrett
kbarrett at openjdk.org
Thu Feb 20 08:49:56 UTC 2025
On Tue, 18 Feb 2025 08:39:21 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> > aarch64.ad has a comment that probably ought to be fixed: https://github.com/openjdk/jdk/blame/8df804005ed772936fd77a4c0335a5620f909570/src/hotspot/cpu/aarch64/aarch64.ad#L71
> > It also has SP as R31, but I guess that's okay.
>
> Should I change the comment from 'r27-r32 system (no save, no allocate)' to 'r27-r31 system (no save, no allocate)' ?
Sorry, I didn't notice this question earlier, and now this PR has been integrated.
Yes, I think s/r32/r31/. There doesn't seem to be an r32 at all (that would be a 33rd register with 0-based numbering).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23667#issuecomment-2670825864
More information about the hotspot-runtime-dev
mailing list