From a7241f5b86a9c6386b5a9ee3cdcec976036fad3b Mon Sep 17 00:00:00 2001 From: Hao Tang Date: Thu, 17 Nov 2022 17:40:09 +0800 Subject: [PATCH] [GC] Avoid testing TestSoftMaxHeapSizeFlag.java while using other GCs Test Plan: CI pipeline Reviewed-by: sendaoYan, weixlu Issue: https://github.com/alibaba/dragonwell11/issues/332 --- test/hotspot/jtreg/gc/z/TestSoftMaxHeapSizeFlag.java | 1 + 1 file changed, 1 insertion(+) 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