Integrated: 8353365: TOUCH_ASSERT_POISON clears GetLastError()

David Holmes dholmes at openjdk.org
Mon Apr 7 23:39:18 UTC 2025


On Fri, 4 Apr 2025 05:43:36 GMT, David Holmes <dholmes at openjdk.org> wrote:

> This is a very simple fix to save/restore the "last error" value on Windows, so that the TOUCH_ASSERT_POISON mechanism used in assert/guarantee/fatal, does not clear it.
> 
> Testing
>  - new Windows-only gtest added to vmErrors test group
>  - tiers 103 sanity
> 
> Thanks.

This pull request has now been integrated.

Changeset: 3951a8e0
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3951a8e01945d262cdd6ebbe4e1548ddf8e3c02a
Stats:     12 lines in 2 files changed: 12 ins; 0 del; 0 mod

8353365: TOUCH_ASSERT_POISON clears GetLastError()

Reviewed-by: kbarrett, stuefe, jwaters

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

PR: https://git.openjdk.org/jdk/pull/24435


More information about the hotspot-dev mailing list