gpt4 book ai didi

java - 知道为什么 jvm 选项的前缀是 -XX :?

转载 作者:行者123 更新时间:2023-11-30 07:56:02 25 4
gpt4 key购买 nike

想知道选择 -XX: 作为 jvm 选项前缀的历史是什么

最佳答案

来自 JRockit JVM documentation :

The nonstandard command-line options of JRockit JVM are divided into two groups:

-X command-line options, which are the most commonly used nonstandard options.

You can use the -X command-line options to change the behavior of the JRockit JVM to suit the needs of different Java applications. These options do not work on other JVMs (conversely, the nonstandard options used by other JVMs do not work with the JRockit JVM).

-XX command-line options, which are often experimental options that have specific system requirements for their implementation

To implement some of the options, specific system requirements must be met, otherwise, the particular option does not work. Oracle recommends that you use these options only if you have a thorough understanding of your system. Improper usage of these options can affect the stability or performance of your system.

关于java - 知道为什么 jvm 选项的前缀是 -XX :?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42640602/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com