8244730: Shenandoah: gc/shenandoah/options/TestHeuristicsUnlock.java should only verify the heuristics

Reviewed-by: rkennke
This commit is contained in:
Aleksey Shipilev 2020-05-11 18:33:18 +02:00
parent 39670b0e57
commit 68e55bdf72

View File

@ -45,14 +45,10 @@ public class TestHeuristicsUnlock {
}
public static void main(String[] args) throws Exception {
testWith("-XX:ShenandoahGCHeuristics=adaptive", Mode.PRODUCT);
testWith("-XX:ShenandoahGCHeuristics=static", Mode.PRODUCT);
testWith("-XX:ShenandoahGCHeuristics=compact", Mode.PRODUCT);
testWith("-XX:ShenandoahGCMode=iu", Mode.EXPERIMENTAL);
testWith("-XX:ShenandoahGCHeuristics=adaptive", Mode.PRODUCT);
testWith("-XX:ShenandoahGCHeuristics=static", Mode.PRODUCT);
testWith("-XX:ShenandoahGCHeuristics=compact", Mode.PRODUCT);
testWith("-XX:ShenandoahGCHeuristics=aggressive", Mode.DIAGNOSTIC);
testWith("-XX:ShenandoahGCHeuristics=passive", Mode.DIAGNOSTIC);
}
private static void testWith(String h, Mode mode) throws Exception {