RFR (round 1), JDK-8214259: Implementation: JEP 189: Shenandoah: A Low-Pause Garbage Collector (original) (raw)
Roman Kennke rkennke at redhat.com
Tue Nov 27 17:54:05 UTC 2018
- Previous message (by thread): RFR (round 1), JDK-8214259: Implementation: JEP 189: Shenandoah: A Low-Pause Garbage Collector
- Next message (by thread): RFR (round 1), JDK-8214259: Implementation: JEP 189: Shenandoah: A Low-Pause Garbage Collector
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You need to check if shenandoahgc is disabled first - check DISABLEDJVMFEATURES list (see code for jvmci).
Why? If Shenandoah is disabled, it will be on this list, and therefore not be built (see JvmFeatures.gmk). Did you test with --with-jvm-variants=-shenandoahgc to make sure it is disabled?
Test: Built the Shenandoah-patched tree with --with-jvm-features=-shenandoahgc. Then:
java -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC --version Error occurred during initialization of VM Option -XX:+UseShenandoahGC not supported
Also, we regularily build minimal and zero, and those disable Shenandoah too, that's how we know this works reliably.
Thanks, Roman
- Previous message (by thread): RFR (round 1), JDK-8214259: Implementation: JEP 189: Shenandoah: A Low-Pause Garbage Collector
- Next message (by thread): RFR (round 1), JDK-8214259: Implementation: JEP 189: Shenandoah: A Low-Pause Garbage Collector
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]