Print list of all -XX JVM options [Updated: Feb 11, 2016, Created: Feb 11, 2016] |
|
||||||
|
Starting from java 1.6 you can use java -XX:+PrintFlagsFinal to print available -XX options and their value.
c:>java -XX:+PrintFlagsFinal -version
The first and second columns show the data type of the flag and its name The fourth column shows the flag default/applied value, The fifth one shows category.
":=" indicates that the flag was set to that value either by the user or by JVM optimization (The process of Ergonomics).
We can also include following other options : -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UnlockInternalVMOptions
For example: java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version
|
|
||||||
|
|||||||
|
|
|||||||