Passing command line options to Java [Was: Re: Heap Size Ergonomics in docker containers]

mandy chung mandy.chung at
Thu Nov 2 17:16:47 UTC 2017

On 11/2/17 2:09 AM, Thomas Schatzl wrote:
>>> There is JAVA_TOOL_OPTIONS, which are always prepended to the java
>>> VM command line. See the description [0] for more information.

You may want to check out the JDK_JAVA_OPTIONS environment variable and 
@argfile support introduced in JDK 9 java launcher [1].


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list