Which garbage collection strategy is using

Developing environment:java

Operating system Mac OS 10.12
JDK version 1.8.0_131

 

Steps:spa

  1. Enter the following command in command line:

java -XX:+PrintCommandLineFlags -versionci

The result is:get

 

-XX:UseParalleGCio

indicates ParallelGC is the default strategy. table

 

Reference:command

相關文章
相關標籤/搜索