Skip to content

Conversation

@swesonga
Copy link
Member

@swesonga swesonga commented Aug 6, 2025

The Windows AArch64 OpenJDK build uses vectored exception handling. The implementation registers a custom vectored exception handler, which calls the exception filter function that is shared with the x64 platform. However, this call only happens when using -xcomp. This has the side effect of not running the JVM error handling code that would create a core dump if only the interpreter is used. This change fixes this issue by unconditionally using the same exception filter as Windows x64 for handling EXCEPTION_ACCESS_VIOLATION and EXCEPTION_STACK_OVERFLOW. The CreateCoredumpOnCrash test now passes with this change.

@swesonga swesonga requested a review from mo-beck August 14, 2025 18:13
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.

2 participants