RFR: 8366483: ShowRegistersOnAssertTest uses wrong register pattern string for Windows on AArch64

Aleksey Shipilev shade at openjdk.org
Mon Sep 1 09:42:42 UTC 2025


On Mon, 1 Sep 2025 07:02:38 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I have to ask though: why are the registers labelled X instead of R?

`X` is the common name for 64-bit register in AArch64 ISA, I think that's why. The external `CONTEXT` also labels them `X*`: https://github.com/openjdk/jdk/blob/98af18921aa3c274ef7ece03005337b58df3da96/src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp#L186

And:
https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-arm64_nt_context

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

PR Comment: https://git.openjdk.org/jdk/pull/27022#issuecomment-3241635412


More information about the hotspot-runtime-dev mailing list