mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 01:47:52 +00:00
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…
x
Reference in New Issue
Block a user