Open code review for 8061999 Enhance VM option parsing to allow options to be specified

Gerard Ziemski gerard.ziemski at oracle.com
Tue Jun 23 19:19:00 UTC 2015



On 6/23/2015 12:11 AM, David Holmes wrote:
> Hi Ron,
>
> On 22/06/2015 10:52 PM, Ron Durbin wrote:
>> Webrev URL:
>> http://cr.openjdk.java.net/~rdurbin/8061999_OCR0_JDK9_webrev
>>
>>
>> RFE request:
>> https://bugs.openjdk.java.net/browse/JDK-8061999
>>
>> This RFE allows a file to be specified that holds VM Options that
>> would otherwise be specified on the command line or in an environment 
>> variable.
>> Only one options file may be specified on the command line and no 
>> options file
>> may be specified in either of the following environment variables
>> "JAVA_TOOL_OPTIONS" or "_JAVA_OPTIONS".
>
> How is this different to the existing: -XX:Flags=flags-file ???

According to the JDK-80161999 "flags-file" only supports Boolean flags.

The followup question then would be do we still need "flags-file" when 
we have this new "VMOptionsFile" flag? And should "flags-file" be then 
deprecated?


cheers


More information about the hotspot-runtime-dev mailing list