RFR: 8350201: Out of bounds access on Linux aarch64 in os::print_register_info

Matthias Baesken mbaesken at openjdk.org
Tue Feb 18 08:38:11 UTC 2025


On Tue, 18 Feb 2025 04:54:40 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Looks good. I've updated the bug report with the history. Interesting BSD and Windows use completely different register sets on Aarch64 compared to linux.
> 
> Thanks

The arm docu says that
"X30 is typically used as the link register (LR)"
and X29 might (depending on compile options) also have some special  meaning.  Maybe that's why they are omitted on Windows/BSD/macOS . On the other hand it seems not to hurt to output them too.
Maybe some arm/aarch64 experts want to comment?

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

PR Comment: https://git.openjdk.org/jdk/pull/23667#issuecomment-2664939757


More information about the hotspot-runtime-dev mailing list