RFR(XS): 8001424: G1: Rename certain G1-specific flags

Bengt Rutisson bengt.rutisson at oracle.com
Thu Dec 20 04:45:41 UTC 2012

Hi John,

This looks good. But I think that instead of your change in 
arguments.cpp you could make use of the obsolete_jvm_flags list that 
exist in the same file. I think that is intended for exactly this 
purpose. Accepting a removed flag name for a little while. The nice 
thing about it it that you specify how long you will accept the old name.

static ObsoleteFlag obsolete_jvm_flags[] = {
   { "UseTrainGC",                    JDK_Version::jdk(5), 
JDK_Version::jdk(7) },

If you use this you also have to remove the old flag names from globals.hpp.


On 12/20/12 1:56 AM, John Cuthbertson wrote:
> Hi Everyone,
> Some flag name changes suggested by the JVM performance team based 
> upon feedback they have received. The webrev can found at: 
> http://cr.openjdk.java.net/~johnc/8001424/webrev.0/
> Basically the changes are those listed in the webrev:
> G1DefaultMinNewGenPercent is being replaced by G1NewSizePercent
> G1DefaultMaxNewGenPercent is being replaced by G1MaxNewSizePercent
> G1OldCSetRegionLiveThresholdPercent is being replaced by 
> G1MixedGCLiveThresholdPercent
> Thanks,
> JohnC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20121220/32cc4d03/attachment.htm>

More information about the hotspot-gc-dev mailing list