2019独角兽企业重金招聘Python工程师标准>>>
Developing environment:
Operating system | Mac OS 10.12 |
JDK version | 1.8.0_131 |
Steps:
- Enter the following command in command line:
java -XX:+PrintCommandLineFlags -version
The result is:
-XX:UseParalleGC
indicates ParallelGC is the default strategy.
Reference:
- https://stackoverflow.com/questions/2498942/how-can-i-see-which-garbage-collector-java-is-using