RFR (M) round 3 8061999 Enhance VM option parsing to allow options to be specified
Coleen Phillimore
coleen.phillimore at oracle.com
Fri Sep 4 00:36:39 UTC 2015
Ron,
This looks good. Could you put a short comment at line, ie:
// Pass in vm_options_file_args to keep memory for flags_file from being
deallocated if found in the vm options file.
3871 ScopedVMInitArgs vm_options_file_args;
Or something like that? In case someone (formerly, me) thinks it should
be in a more local scope.
Thanks,
Coleen
On 9/3/15 6:34 PM, Ron Durbin wrote:
> Here is the round 3 webrev for 8061999.
>
> Here are the links to round 2 and 3 patch files.
>
> Round 2: : http://cr.openjdk.java.net/~rdurbin/8061999_OCR2_JDK9_webrev/hotspot.patch
> Round 3: : http://cr.openjdk.java.net/~rdurbin/8061999_OCR3_JDK9_webrev/hotspot.patch
>
> Diff the patch files to see what changed in round 3.
>
>
> Webrev link: http://cr.openjdk.java.net/~rdurbin/8061999_OCR3_JDK9_webrev
>
> RFE link: 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,
>
> 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.)
> Aurora,(Big Apps, JTREG,Tonga), Runtime SVC Nightly (in process)
More information about the hotspot-runtime-dev
mailing list