On Fri, 4 Dec 2026 20:13:30 GMT, Ashay Rane <[email protected]> wrote:

> Nevertheless, perhaps the alternative is to add a test-specific vectored 
> exception handler that counts the number of stack overflow versus access 
> violation exceptions, but I'm not sure if both Windows/x64 and Windows/ARM64 
> would handle it the same way. Let me know what you think.

A test-specific vectored exception handler seems like overkill for this perhaps 
pedantic Codex suggestion.  But maybe there is a way to distinguish between the 
two paths using logging output?

> I did make one other change, which was to drop the disable_red_zone argument 
> to report_fatal_stack_overflow(), since I myself got confused when to set it, 
> often because of the double negation. I think it doesn't change the 
> semantics, but let me know please if you disagree. Thanks!

That makes sense and is simpler.

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

PR Comment: https://git.openjdk.org/jdk/pull/34043#issuecomment-7431527623

Reply via email to