View JVM arguments

How to view a java program is running, it's a jvm parameters are turned on? Specific value is how much?

jps

jinfo

The first view parameter family property inventory

jps

jinfo -flag specific parameters java process ID

jinfo -flags java process ID

The second view parameter family property inventory

java -XX: + PrintFlagsInitial this is the initial

java -XX: + PrintFlagsFinal after the turn is not showing modifications =: = represents a modified or artificially modified jvm

Guess you like

Origin www.cnblogs.com/liuyi13535496566/p/12173723.html