< prev index next >
test/gc/shenandoah/acceptance/AllocIntArrays.java
Print this page
rev 9546 : [backport] Tests should use all heuristics and pass heap verification + Disable aggressive+verification test configs
rev 9549 : [backport] Disable aggressive+verification test configs (jtreg eats up last configuration)
@@ -22,12 +22,21 @@
*/
/*
* @test AllocIntArrays
* @summary Acceptance tests: collector can withstand allocation
- * @run main/othervm -XX:+UseShenandoahGC AllocIntArrays
+ *
* @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=passive AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=adaptive AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=dynamic AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=aggressive AllocIntArrays
+ *
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=passive -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=adaptive -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify AllocIntArrays
+ * @run main/othervm -XX:+UseShenandoahGC -Xmx2g -Xms2g -XX:ShenandoahGCHeuristics=dynamic -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify AllocIntArrays
*/
public class AllocIntArrays {
static final long TARGET_MB = Long.getLong("target", 20_000); // 20 Gb allocation
@@ -44,7 +53,6 @@
sink = new int[s];
}
}
}
-
}
< prev index next >