8244730: Shenandoah: gc/shenandoah/options/TestHeuristicsUnlock.java should only verify the heuristics
Reviewed-by: rkennke
This commit is contained in:
parent
39670b0e57
commit
68e55bdf72
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user