8204162: TestG1HeapRegion needs @requires vm.gc.G1
authorstefank
Tue, 05 Jun 2018 15:56:09 +0200
changeset 50403 4602de5feb24
parent 50402 42ed6e9af319
child 50404 5193c6b98cc7
8204162: TestG1HeapRegion needs @requires vm.gc.G1 Reviewed-by: eosterlund
test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java
--- a/test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java	Tue Jun 05 15:56:07 2018 +0200
+++ b/test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java	Tue Jun 05 15:56:09 2018 +0200
@@ -40,6 +40,7 @@
  * @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