Skip to content

Conversation

@swesonga
Copy link
Member

On Windows, r18_tls is used store the pointer to the current thread's TEB. Therefore, this register should never be modified (see details in register_aarch64.hpp). This issue was identified when investigating hangs and crashes in virtual threads on the Windows AArch64 jdk25u build. See microsoft/openjdk-jdk25u#19 for details.

@swesonga swesonga removed their assignment Dec 23, 2025
Copy link

@macarte macarte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@swesonga swesonga merged commit 5f1ae82 into ms-patches/win-aarch64-fixes Jan 6, 2026
33 checks passed
@swesonga swesonga deleted the swesonga/win-aarch64-fixes-c1-r18-tls branch January 6, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants