--- a/hotspot/test/gc/stress/TestStressG1Humongous.java Tue Jun 21 18:37:04 2016 +0400
+++ b/hotspot/test/gc/stress/TestStressG1Humongous.java Fri Jun 24 19:52:31 2016 +0400
@@ -26,7 +26,7 @@
* @key gc
* @key stress
* @summary Stress G1 by humongous allocations in situation near OOM
- * @requires vm.gc == "G1" | vm.gc == "null"
+ * @requires vm.gc.G1
* @requires !vm.flightRecorder
* @run main/othervm/timeout=200 -Xlog:gc=debug -Xmx1g -XX:+UseG1GC -XX:G1HeapRegionSize=4m
* -Dtimeout=120 -Dthreads=3 -Dhumongoussize=1.1 -Dregionsize=4 TestStressG1Humongous