Command line option improvement to print all options passed to VM indicating source

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • 12
    • Affects Version/s: 9
    • Component/s: hotspot
    • None

      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”.

            Assignee:
            Unassigned
            Reporter:
            Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: