RFR: 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
Jeremy Manson
jeremymanson at google.com
Mon May 4 20:51:40 UTC 2015
Not sure who might be willing to sponsor this. David? You did the last
one. :)
Context: A number of command line options are not settable via
JAVA_TOOL_OPTIONS and _JAVA_OPTIONS:
- PrintVMOptions
- IgnoreUnrecognizedVMOptions
- PrintFlagsInitial
- NativeMemoryTracking
- PrintFlagsWithComments
This is because these flags have to be processed before processing other
flags, and no one ever bothered to do that for the flags coming from
environment variables. This patch fixes that problem.
I have a test, but it is a modification to a JDK test instead of a HS test,
so it can go in separately (I guess).
Bug:
https://bugs.openjdk.java.net/browse/JDK-8079301
Webrev:
http://cr.openjdk.java.net/~jmanson/8079301/webrev.00/
Jeremy
More information about the hotspot-runtime-dev
mailing list