G1垃圾回收器
摘要:为解决CMS算法产生空间碎片和其它一系列的问题缺陷,HotSpot提供了另外一种垃圾回收策略,G1(Garbage First)算法,通过参数-XX:+UseG1GC来启用,该算法在JDK 7u4版本被正式推出,官网对此描述如下: The Garbage-First (G1) collector i
阅读全文
posted @ 2021-02-01 12:01
posted @ 2021-02-01 12:01
posted @ 2021-02-01 11:26