简体   繁体   English

JVM选项中XX的全名是什么?

[英]What is the full name of XX in JVM options?

While reading the documentation of JDK1.8 , I'm very curious about the abbreviation XX. 在阅读JDK1.8的文档时 ,我对XX的缩写感到很好奇。

Take -XX:ErrorFile=filename for example, no question about the usage, can any one tell me the full name of the abbreviation XX ? -XX:ErrorFile=filename为例,对用法没有疑问,谁能告诉我缩写XX的全名吗?

Thanks 谢谢

The best answer I could find is at http://www.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.lnx.70.doc/diag/appendixes/cmdline/commands_jvm_xx.html . 我能找到的最佳答案是在http://www.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.lnx.70.doc/diag/appendixes/cmdline/commands_jvm_xx.html Quoting from the link : 从链接报价:

Java VM command-line options that are specified with -XX: are not checked for validity. 不检查使用-XX:指定的Java VM命令行选项的有效性。 If the VM does not recognize the option, the option is ignored. 如果VM无法识别该选项,则该选项将被忽略。 These options can therefore be used across different VM versions without ensuring a particular level of the VM. 因此,可以在不同的VM版本之间使用这些选项,而无需确保VM的特定级别。

It's a long programming tradition to use "dash" or "double-dash" command-line parameters. 使用“破折号”或“双破折号”命令行参数是一种长期的编程传统。 Likewise, using the same letter twice means "even more so". 同样,两次使用同一字母表示“甚至更多”。 So "-v" for verbose, "-vv" for even more verbose. 因此,“-v”表示详细,“-vv”表示更详细。 "X" means "unknown" or "hidden" or even "dangerous". “ X”表示“未知”,“隐藏”或什至“危险”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM