Reputation: 83
I wanted to see all the JVM arguments available in openjdk 1.8, and executed the following command:
java -XX:+PrintFlagsFinal -version
It outputted all the available arguments in JVM, and I observed that a few flags are having the following format:
uintx MaxHeapSize := 9449766912 {product}
bool UseParallelGC := true {product}
In the above flags, what does the ":=" indicate?
Upvotes: 0
Views: 182
Reputation: 98284
:=
denotes that the flag value was overriden either by JVM ergonomics or manually via a command line option.
Here is the source of the function that prints flags.
Upvotes: 1
Reputation: 533472
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.
Upvotes: 0