"jinfo -flags" and "jinfo -syprops" uses SA by default. Since SA stops the JVM completely it should be used with care. Instead, jinfo should use Diagnostic Commands by default and revert to SA only if the -F (force) flag is specified.
Current version of jinfo:
-----------------------------------
Usage:
jinfo [option] <pid>
(to connect to running process)
jinfo [option] <executable <core>
(to connect to a core file)
jinfo [option] [server_id@]<remote server IP or hostname>
(to connect to remote debug server)
where <option> is one of:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
-flags to print VM flags
-sysprops to print Java system properties
<no option> to print both of the above
-h | -help to print this help message
-----------------------------------
Would be changed to:
-----------------------------------
Usage:
jinfo [option] <pid>
(to connect to a running process)
jinfo -F [option] <pid>
(to connect to a hung process)
jinfo [option] <executable> <core>
(to connect to a core file)
jinfo [option] [server_id@]<remote server IP or hostname>
(to connect to remote debug server)
where <option> is one of:
for running processes:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
for running or hung processes and core files:
-flags to print VM flags
-sysprops to print Java system properties
<no option> to print both VM flags and system properties
-h | -help to print this help message
-----------------------------------
Current version of jinfo:
-----------------------------------
Usage:
jinfo [option] <pid>
(to connect to running process)
jinfo [option] <executable <core>
(to connect to a core file)
jinfo [option] [server_id@]<remote server IP or hostname>
(to connect to remote debug server)
where <option> is one of:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
-flags to print VM flags
-sysprops to print Java system properties
<no option> to print both of the above
-h | -help to print this help message
-----------------------------------
Would be changed to:
-----------------------------------
Usage:
jinfo [option] <pid>
(to connect to a running process)
jinfo -F [option] <pid>
(to connect to a hung process)
jinfo [option] <executable> <core>
(to connect to a core file)
jinfo [option] [server_id@]<remote server IP or hostname>
(to connect to remote debug server)
where <option> is one of:
for running processes:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
for running or hung processes and core files:
-flags to print VM flags
-sysprops to print Java system properties
<no option> to print both VM flags and system properties
-h | -help to print this help message
-----------------------------------
- relates to
-
JDK-8039080 "jinfo server_id@host" fails with "Invalid process identifier"
-
- Resolved
-