javajvmjdk-toolsjcmd

jcmd - Meaning of last colum for `jcmd VM.flags -all`


Run following command to list all available jvm flags:

jcmd 24468 VM.flags -all | less -N

Then in last column, found following values (using JDK1.8, on linux):

* product
    default value is the same on all platform,
* pd product
    default value is platform-dependent,
* manageable
    could change dymanically in runtime,
* 
* C1 product
* C2 product
* 
* C1 pd product
* C2 pd product
* 
* product rw
* 
* lp64_product
* ARCH product
* 
* commercial
* 

The question is:

I only know the meaning of some values, which I have give explanation, what are the meaning of the rest ones?


Solution

  • The type of a flag depends on a location in HotSpot source code where the flag is declared / defined. Most flags are declared in src/share/vm/runtime/globals.hpp.

    There are also