diff --git a/test/hotspot/jtreg/gc/z/TestSoftMaxHeapSizeFlag.java b/test/hotspot/jtreg/gc/z/TestSoftMaxHeapSizeFlag.java index 001f41a835d..9fe339430ac 100644 --- a/test/hotspot/jtreg/gc/z/TestSoftMaxHeapSizeFlag.java +++ b/test/hotspot/jtreg/gc/z/TestSoftMaxHeapSizeFlag.java @@ -25,6 +25,7 @@ /* * @test TestSoftMaxHeapSizeFlag + * @requires vm.gc.Z & !vm.graal.enabled * @key gc * @library /test/lib * @modules java.base/jdk.internal.misc