一、Minor collection: YOUNG世代使用将Eden还有Survivor内的资料利用semi-space做复制收集(Copying collection), 并将原本Survivor内经过多次垃圾收集仍然存活的物件移动到Tenured。
基于33个网页-相关网页
Copying collection has the advantage of only visiting live objects, which means garbage objects will not be examined, nor will they need to be paged into memory or brought into the cache.
复制收集的优点是只访问活跃的对象,这意味着不会检查垃圾对象,也不需要将它们页交换到内存中或者送到缓存中。
Two of the new collectors are designed to reduce collection pause time — the parallel copying collector and the concurrent mark-sweep collector.
新收集器中的两个——并行复制收集器和并发标记-清除收集器——设计为减少收集暂停时间。
The duration of collection cycles in a copying collector is driven by the number of live objects.
复制收集器的收集周期时间是由活跃对象的数量决定的。
应用推荐