On Fri, 27 Feb 2026 16:48:05 GMT, Chris Plummer <[email protected]> wrote:

> 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: all tier1 plus tier2, tier3, and tier5 svc testing.

This pull request has now been integrated.

Changeset: 9bd99b9d
Author:    Chris Plummer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/9bd99b9d68d998dbb0158ed9d31e64b499159856
Stats:     261 lines in 77 files changed: 94 ins; 91 del; 76 mod

8378854: Disable SA tests when ZGC is being used

Reviewed-by: ysuenaga, kevinw, syan, stefank

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

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

Reply via email to