hotspot/test/gc/g1/TestHumongousShrinkHeap.java
changeset 27692 11c231c781dc
parent 26695 18baf1a5a8ce
child 27694 543f6042c268
--- a/hotspot/test/gc/g1/TestHumongousShrinkHeap.java	Tue Oct 21 15:07:25 2014 +0200
+++ b/hotspot/test/gc/g1/TestHumongousShrinkHeap.java	Wed Nov 19 17:43:19 2014 +0300
@@ -24,6 +24,7 @@
 /**
  * @test TestHumongousShrinkHeap
  * @bug 8036025 8056043
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Verify that heap shrinks after GC in the presence of fragmentation due to humongous objects
  * @library /testlibrary
  * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=12 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc TestHumongousShrinkHeap