打印所有JVM标志 [英] Print All JVM Flags
问题描述
找到一个有趣的JVM标志:
Found an interesting JVM Flag :
java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version
它打印了数百种不同的选项,我以前从未听说过。
它还会打印默认值,这有助于更好地诊断JVM行为。
另一个有趣的标志是:
It prints hundreds of various option, i never heard about before. It also prints default values, that helps diagnose JVM behaviors better. Another interesting flag is:
-XX:+UnlockExperimentalVMOptions
有谁知道任何解释其中每一个的文件?
Does anyone knows of any documentation which explains each one of them ?
推荐答案
在深入了解资源之前,您可以浏览以下摘录并更快地找到合适的选项:
Before dive into sources you can skim over following extracts and find suitable option faster:
https://chriswhocodes.com/ (OracleJDK 6/7/8/9/10/11/12,OpenJDK 8/9/10/11,Graal CE / EE,OpenJ9 ,Zing)
https://chriswhocodes.com/ (OracleJDK 6/7/8/9/10/11/12, OpenJDK 8/9/10/11, Graal CE/EE, OpenJ9, Zing)
http:// jvm -options.tech.xebia.fr/
http://www.pingtimeout.fr/2012/05/jvm-options-complete-reference.html
http://stas-blogspot.blogspot.com/2011/07/most-complete-list-of-xx-options-for.html
这篇关于打印所有JVM标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!