Dherik :
I'm tuning the JVM of Java 8 and I'm trying to know what value was defined for the parameter -XX:ParallelGCThreads
. The documentation says:
-XX:ParallelGCThreads: Sets the number of threads used during parallel phases of the garbage collectors. The default value varies with the platform on which the JVM is running.
I would like to know what value was defined in my platform and if I need to change that. I don't have in this environment a JDK available, only the JRE.
Eugene :
Default value :
java -XX:+PrintFlagsFinal | grep ParallelGCThreads
uint ParallelGCThreads = 4
If you have a running process jinfo <processId>
, if it's not present in the output, it is using the default value (look under VM Flags
)
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=443234&siteId=1