Skip to content
Permalink
Browse files

8244730: Shenandoah: gc/shenandoah/options/TestHeuristicsUnlock.java …

…should only verify the heuristics

Reviewed-by: rkennke
  • Loading branch information
shipilev committed May 11, 2020
1 parent 39670b0 commit 68e55bdf72f82ecf48041dc34a82723d14622d84
Showing with 3 additions and 7 deletions.
  1. +3 −7 test/hotspot/jtreg/gc/shenandoah/options/TestHeuristicsUnlock.java
@@ -45,14 +45,10 @@
}

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 {

0 comments on commit 68e55bd

Please sign in to comment.