JDK default garbage collector

jdk1. 7. The default garbage collector is parallel scavenge (new generation) + parallel old (old age).

jdk1. 8. The default garbage collector is parallel scavenge (new generation) + parallel old (old age).

jdk1. 9 default garbage collector G1.

-20: The + printcommandlineflagsjvm parameter allows you to view the default collector type.

-20: + printgcdetails can also be judged by the names of the new generation and old age of the printed GC log.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>