Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8159675

Define specification for JVM_GetJvmArguments

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 9
    • core-libs

      VM argument parsing includes the following:

      JAVA_TOOLS_OPTION environment variable
      Options passed via JNI invocation API
      _JAVA_OPTION environment variable

      -XX:VMOptionsFile is intended to protect the password not to be made visible from ps. Similiarly, it should not be shown in jps. -XX:Flags includes only VM -XX flags but no -XX prefix is specified in the Flags file.

      java.lang.management.RuntimeMXBean::getInputArguments() specifies to return the VM input arguments. It has a security permission check.

      In addition, -Djava.class.path=<classpath> is not included in the returned value of JVM_GetJvmArguments.

      JVM_GetJvmArguments and other APIs need to be examined and specified what input arguments should be included.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: