test/gc/arguments/TestSerialHeapSizeFlags.java

Print this page
rev 7249 : 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests

@@ -22,10 +22,11 @@
 */
 
 /*
  * @test TestSerialHeapSizeFlags
  * @key gc
+ * @requires vm.gc=="Serial" | vm.gc=="null"
  * @bug 8006088
  * @summary Tests argument processing for initial and maximum heap size for the Serial collector
  * @library /testlibrary /testlibrary/whitebox
  * @build TestSerialHeapSizeFlags TestMaxHeapSizeTools
  * @run main ClassFileInstaller sun.hotspot.WhiteBox