Proposal for a new JVM command line option or improvement to -XX:+PrintVMOptions to print all options passed to the VM possibly indicating the source of the options (_JAVA_OPTIONS, JAVA_TOOL_OPTIONS, -XX:VMOptionsFile, -XX:Flags and JNI Invocation API) as well.
Currently -XX:+PrintVMOptions only prints -XX flags and also drops the "-XX:" portion.
For example,
java -XX:+IgnoreUnrecognizedVMOptions —bad-option -XX:+PrintVMOptions Test
This does not print “—bad-option”.
Currently -XX:+PrintVMOptions only prints -XX flags and also drops the "-XX:" portion.
For example,
java -XX:+IgnoreUnrecognizedVMOptions —bad-option -XX:+PrintVMOptions Test
This does not print “—bad-option”.
- relates to
-
JDK-8164654 -XX:+PrintVMOptions does not print out information for the new module options
-
- Closed
-