SUN的JVM 1.3.1使用分代垃圾收集算法。
SUN's JVM 1.3.1 USES a generational garbage collection algorithm.
分代收集的一个优点是它不同时收集所有的代,因此可以使垃圾收集暂停更短。
One of the advantages of generational collection is that it can make garbage collection pauses shorter by not collecting all generations at once.
完整的垃圾收集涉及JVM对堆上所有的对象进行检验,包括经历了许多代、在部分垃圾收集上不会被分析的对象。
A full garbage collection involves the JVM examining all objects on the heap, including those that have survived many generations, that would not be analyzed on partial garbage collections.
应用推荐