Is option "ShenandoahAllocationThreshold" still experimental in OpenJDK15 ?

Frederic Thevenet thevenet.fred at free.fr
Wed Sep 16 18:59:11 UTC 2020


On 16/09/2020 20:39, Zhengyu Gu wrote:
> Hi Frederic and Holger,
>
>>>> Starting with 15, I was under the impression I no longer needed to
>>>> set +UnlockExperimentalVMOptions, to use the above options. Yet
>>>> starting a JVM with without unlocking experimental options yields the
>>>> following error: "Error: VM option 'ShenandoahAllocationThreshold' is
>>>> experimental and must be enabled via
>>>> -XX:+UnlockExperimentalVMOptions."
>>>>
>>>> If I simply omit "ShenandoahAllocationThreshold", then the JVM
>>>> starts.
>>>>
>
> Although UseShenandoahGC is no longer an experimental option, 
> ShenandoahAllocationThreshold remains, so you still need 
> +UnlockExperimentalVMOptions for ShenandoahAllocationThreshold option.
>
> It is the expected behavior.
>
> Thanks,
>
> -Zhengyu

Thank you for the clarification.

I think it would be helpful to have a list of features that remain 
experimental in jdk15 on the OpenJDK Wiki page for Shenandoah [1] .

Thanks,

-- Fred

[1] https://wiki.openjdk.java.net/display/shenandoah/Main




More information about the shenandoah-dev mailing list