RFR: 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
jeremymanson at google.com
Fri Jul 10 17:16:14 UTC 2015
On Thu, Jul 9, 2015 at 11:53 PM, David Holmes <david.holmes at oracle.com>
> Hi Jeremy,
> On 10/07/2015 10:23 AM, Jeremy Manson wrote:
>> Hey Dmitry,
>> Thanks for looking at it. The leak was deliberate (under the theory that
>> the command line flags were leaked, too), but it was silly that I didn't
>> fix it.
>> Anyway, fixed. See:
> I'm not sure you've changed anything in this regard but it seems to me to
> me that if -XX:Flags=flags-file is specified on the command-line, and the
> environment variable(s) then the last setting wins - which would be the
> _JAVA_OPTIONS setting.
> Or maybe that is the way this whole thing works ie last setting wins?
Yep - last setting is supposed to win. I tried to keep the behavior
consistent with what was there for the other flags.
More information about the hotspot-runtime-dev