RFR: 8221212: ZGC: Command-line flags should be marked experimental

Per Liden per.liden at oracle.com
Thu Mar 21 08:46:18 UTC 2019

Thanks Stefan!


On 3/21/19 9:41 AM, Stefan Karlsson wrote:
> Looks good.
> StefanK
> On 2019-03-21 08:28, Per Liden wrote:
>> ZGC (the -XX:+UseZGC command-line flag) is marked experimental, which 
>> means that you always need to use -XX:+UnlockExperimentalVMOptions to 
>> unlock that option. However, some of ZGC's flags are incorrectly 
>> marked as product flags. This can be a bit confusing, since those 
>> flags (but not the -XX:+UseZGC flag) will show up when using 
>> -XX:PrintFlagsFinal, even though they are effectively experimental and 
>> has no use/meaning unless ZGC is enabled.
>> We should not mark any ZGC flags as product flags, until the 
>> -XX:+UseZGC flag is made a product flag.
>> I have not filed a CSR for this, since these flags are effectively 
>> experimental already today, but just aren't properly marked as such.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8221212
>> Webrev: http://cr.openjdk.java.net/~pliden/8221212/webrev.0
>> /Per

More information about the hotspot-gc-dev mailing list