Search code examples
jvmjvm-arguments

JVM Options List - still being maintained post Oracle?


Is the JVM Options List still being maintained anywhere? It seems to have disappeared from Oracle's website, but luckily the Wayback Machine has a copy.


Solution

  • Use java -XX:+PrintFlagsFinal to print available -XX options. More diagnostic and experimental options can be added to list with following options: -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions (for Sun) -XX:+UnlockInternalVMOptions (for JRockit)

    NOTE: Current version of javac docs for Java 8 contains list of most -XX options: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html

    Oracle's guide with 80+ options: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

    Pierre Laporte's service with full search for 907 options (supports JDK 8): http://jvm-options.tech.xebia.fr/

    Stas's guide with 800+ options: http://stas-blogspot.blogspot.com/2011/07/most-complete-list-of-xx-options-for.html

    Collection of options for 1.6.0 and older versions of JVM: http://www.xenoc.demon.co.uk/A%20Collection%20of%20JVM%20Options.htm