review request (S): 7199082 write warning messages to stderr

Coleen Phillimore coleen.phillimore at oracle.com
Wed Sep 19 07:42:19 PDT 2012


On 9/19/2012 3:27 AM, David Holmes wrote:
>
>> It seems to me that we already have a precedent for writing warnings 
>> about deprecated flags (the whole obsolete_jvm_flags list) and that 
>> the permgen flags are a perfect fit for this list. I think it is 
>> reasonable that we should issue warnings in jdk8 and error/abort in 
>> jdk9.
>
> My only counter to that is that in my opinion all of the other 
> deprecated flags are rather obscure and rarely used in practice. In 
> contrast setting the PermGen sizes is much more common.
>
> I have to ask myself what the value of the warning is compared to the 
> potential upset it causes for anything that examines stdout or stderr. 
> If we don't issue a warning and give people time to adjust to the 
> change then they factor such changes into their systems in a way that 
> suits them. In contrast if they test JDK8 and find that this warning 
> causes failures in their environment then they are forced to make 
> changes before they can even evaluate JDK8.
>
> But as I said in my Review, this can be considered Reviewed as we may 
> need a quick fix and making this change in the same place as the 
> permgen changes certainly simplifies things.

I agree with David here also.   I think we should silently ignore these 
permgen flags for jdk8 and warn in jdk9.   We're going to get a lot of 
disturbed customers over this.

Coleen


More information about the hotspot-runtime-dev mailing list