diff --git a/test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java b/test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java index 22186683536..0941c538ce1 100644 --- a/test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java +++ b/test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java @@ -40,6 +40,7 @@ import jdk.test.lib.Utils; * @test * @library /test/lib * @requires os.family != "mac" + * @requires vm.gc.G1 * @modules jdk.hotspot.agent/sun.jvm.hotspot * jdk.hotspot.agent/sun.jvm.hotspot.gc.g1 * jdk.hotspot.agent/sun.jvm.hotspot.memory