复制收集器的收集周期时间是由活跃对象的数量决定的。
The duration of collection cycles in a copying collector is driven by the number of live objects.
整理收集器和复制收集器在收集过程中重新安排对象,这有可能改进区域性。
Compacting and copying collectors relocate objects during collection, which has the potential to improve locality.
长寿的对象趋向于沉在堆的底部,这样就不会像在复制收集器中那样反复复制它们。
Long-lived objects tend to accumulate at the bottom of the heap, so they are not copied repeatedly as they are in a copying collector.
应用推荐