RFR: 8278826: Print error if Shenandoah flags are empty (instead of crashing)
Dmitry Chuyko
dchuyko at openjdk.java.net
Wed Dec 15 15:18:55 UTC 2021
On Tue, 14 Dec 2021 23:11:46 GMT, Dmitry Chuyko <dchuyko at openjdk.org> wrote:
> ShouldNotReachHere() is replaced by vm_exit_during_initialization() in few places where ShenandoahGCMode and ShenandoahGCHeuristics are examined.
>
> Generic testing: gc/shenandoah jtreg tests.
It is 'Flag='. Consider following command lines:
java -XX:+UseShenandoahGC -XX:ShenandoahGCMode= -version
java -XX:+UseShenandoahGC -XX:ShenandoahGCMode=satb -XX:ShenandoahGCHeuristics= -version
java -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics= -version
java -XX:+UseShenandoahGC -XX:+UnlockDiagnosticVMOptions -XX:ShenandoahGCMode=passive -XX:ShenandoahGCHeuristics= -version
-------------
PR: https://git.openjdk.java.net/jdk/pull/6842
More information about the shenandoah-dev
mailing list