RFR: 8378854: Disable SA tests when ZGC is being used [v2]
Chris Plummer
cjplummer at openjdk.org
Fri Feb 27 18:29:38 UTC 2026
> We currently problem list all the SA tests when ZGC is being used. However, recently the CR they are problem listed under ([JDK-8307393](https://bugs.openjdk.org/browse/JDK-8307393)) was closed as WNF. Tests are not suppose to be problem listed under closed CRs. The proposed solution is to use the following in all the SA tests:
>
> ` * @requires vm.gc != "Z"`
>
> Note I kept `serviceability/sa/TestUniverse.java` enabled for ZGC as it was explicitly called out in the problem list comment as a sanity check to keep enabled.
>
> While adding the `@requires` I also did some minor cleanup in a few places to keep the `@requires` less cluttered and consistent between tests. Specifically I made it so `@requires vm.hasSA` is always on its own line and always first.
>
> Testing in progress. Will cover all tier1 plus tier2, tier3, and tier5 svc testing.
Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:
fix missed copyright upate
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29959/files
- new: https://git.openjdk.org/jdk/pull/29959/files/123237f8..e5861858
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29959&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29959&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/29959.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29959/head:pull/29959
PR: https://git.openjdk.org/jdk/pull/29959
More information about the serviceability-dev
mailing list