test/gc/arguments/TestG1HeapSizeFlags.java
Print this page
rev 7249 : 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
@@ -23,10 +23,11 @@
/*
* @test TestG1HeapSizeFlags
* @key gc
* @bug 8006088
+ * @requires vm.gc=="G1" | vm.gc=="null"
* @summary Tests argument processing for initial and maximum heap size for the G1 collector
* @library /testlibrary /testlibrary/whitebox
* @build TestG1HeapSizeFlags TestMaxHeapSizeTools
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission