--- old/test/hotspot/jtreg/gc/shenandoah/options/TestWrongBarrierDisable.java 2020-04-04 02:23:33.593193525 +0200 +++ new/test/hotspot/jtreg/gc/shenandoah/options/TestWrongBarrierDisable.java 2020-04-04 02:23:33.486194514 +0200 @@ -40,6 +40,12 @@ public static void main(String[] args) throws Exception { String[] concurrent = { "ShenandoahLoadRefBarrier", + "ShenandoahSATBBarrier", + "ShenandoahCASBarrier", + "ShenandoahCloneBarrier", + }; + String[] iu = { + "ShenandoahLoadRefBarrier", "ShenandoahCASBarrier", "ShenandoahCloneBarrier", }; @@ -48,7 +54,9 @@ shouldFailAll("-XX:ShenandoahGCHeuristics=static", concurrent); shouldFailAll("-XX:ShenandoahGCHeuristics=compact", concurrent); shouldFailAll("-XX:ShenandoahGCHeuristics=aggressive", concurrent); + shouldFailAll("-XX:ShenandoahGCMode=iu", iu); shouldPassAll("-XX:ShenandoahGCMode=passive", concurrent); + shouldPassAll("-XX:ShenandoahGCMode=passive", iu); } private static void shouldFailAll(String h, String[] barriers) throws Exception {