RFR: 8371698: ZGC: Call GTEST_SKIP when OS is unsupported

Martin Doerr mdoerr at openjdk.org
Tue Nov 18 09:42:20 UTC 2025


On Mon, 17 Nov 2025 11:12:36 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> We have a ZGC-specific test fixture for our gtests. This fixture bails out if the OS is unsupported. In addition to that, all tests need to bail out as well. It turns out that we missed this bail-out in one of our tests.
> 
> I propose that we perform a stronger bail-out in the test fixture to make this error less likely to happen in the future.

This looks good and solves the issue. Thanks for improving it!

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28348#pullrequestreview-3476523010


More information about the hotspot-gc-dev mailing list