RFR (S) round 0 for 8135198 Add -XX:VMOptionsFile support to JAVA_TOOL_OPTIONS and _JAVA_OPTIONS

Daniel D. Daugherty daniel.daugherty at oracle.com
Wed Jan 6 23:47:07 UTC 2016


On 1/6/16 4:39 PM, Ron Durbin wrote:
> This change adds -XX:VMOptionsFile support to the JAVA_TOOL_OPTIONS
> and _JAVA_OPTIONS environment variables. With this change, the
> -XX:VMOptionsFile option is supported in the following option
> containers:
>
> - the command line
> - JAVA_TOOL_OPTIONS env var
> - _JAVA_OPTIONS env var
>
> Webrev:
>     http://cr.openjdk.java.net/~rdurbin/8135198_OCR0_JDK9_webrev

src/share/vm/runtime/arguments.cpp
     No comments.

src/share/vm/runtime/arguments.hpp
     No comments.

test/runtime/CommandLine/VMOptionsFile/TestVMOptionsFile.java
     No comments.

Thumbs up!

Compared this patch with the one from JDK-8135198_PCR4_JDK9_webrev
and they match modulo line numbers and time stamps.

Dan


>
> Bug report:
>     https://bugs.openjdk.java.net/browse/JDK-8135198
>
> This bug fix has been tested on:
>       OS:
>         Solaris, MAC, Windows, Linux
>       Tests:
>         Manual unit tests
>         JPRT with -testset hotspot(including the SQE current test coverage for this feature.)
>



More information about the hotspot-runtime-dev mailing list