Open code review for 8061999 Enhance VM option parsing to allow options to be specified
Daniel D. Daugherty
daniel.daugherty at oracle.com
Fri Jun 26 18:07:55 UTC 2015
On 6/26/15 12:07 AM, David Holmes wrote:
> Hi Ron,
>
> On a different note, this work should also examine Jeremy Manson's
> contribution to improve on the processing of the argument-specifying
> environment variables:
>
> http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2015-May/014689.html
>
>
> If nothing else you (and others close to this work) should be able to
> review what Jeremy has done.
>
> And I apologise to Jeremy for not getting back to his proposal yet.
We (Ron, Mary, Jerry and I) considered adapting Ron's current
solution to Jeremy's work on the environment variable mechanisms
for passing options. We decided to continue with Ron's work as
it is and address possible tweaks as a follow-up RFE.
Dan
>
> Thanks,
> David
>
> 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".
>>
>> The options file feature supports all VM options currently supported on
>> the command line, except the options file option. The option to
>> specify an
>> options file is "-XX:VMOptionsFile=<Filename>".
>> The options file feature supports an options file up to 1024 bytes in
>> size
>> and up to 64 options.
>>
>> This feature has been tested on:
>> OS:
>> Solaris, MAC, Windows, Linux
>> Tests:
>> Manual unit tests
>> JPRT with -testset hotspot (including the SQE proposed test
>> coverage for this feature.)
>>
>>
More information about the hotspot-runtime-dev
mailing list