简体   繁体   English

OpenJDK中的JVM参数列表中的“:=”表示什么?

[英]What does the “:=” indicate in the JVM arguments list, in OpenJDK?

I wanted to see all the JVM arguments available in openjdk 1.8, and executed the following command: 我想查看openjdk 1.8中可用的所有JVM参数,并执行以下命令:

java -XX:+PrintFlagsFinal -version

It outputted all the available arguments in JVM, and I observed that a few flags are having the following format: 它输出了JVM中所有可用的参数,并且我观察到一些标志的格式如下:

uintx MaxHeapSize   := 9449766912  {product} 

bool UseParallelGC  := true        {product}

In the above flags, what does the ":=" indicate? 在上述标志中,“:=”表示什么?

:= denotes that the flag value was overriden either by JVM ergonomics or manually via a command line option. :=表示该标志值已被JVM人体工程学或通过命令行选项手动覆盖。

Here is the source of the function that prints flags. 这是打印标志的函数的来源。

The := indicates it is the current value. :=表示它是当前值。

If you haven't changed it then this is the default value. 如果尚未更改,则为默认值。

I often use this option with grep to find what I want. 我经常将此选项与grep结合使用以查找所需内容。

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

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