SUN的JVM1.3.1使用分代垃圾收集算法。
SUN's JVM 1.3.1 USES a generational garbage collection algorithm.
分代垃圾收集器把堆分成多代;多数JVM使用两代,“年轻代”和“年老代”。
A generational garbage collector divides the heap into multiple generations; most JVMs use two generations, a "young" and an "old" generation.
JD K 1.2及以后版本所使用的分代垃圾收集器提供了比早期JDK所使用的标记-清除-整理收集器好得多的分配和收集性能。
The generational collector employed by JDK 1.2 and later offers far better allocation and collection performance than the mark-sweep-compact collector used by earlier JDKs.
分代收集的一个优点是它不同时收集所有的代,因此可以使垃圾收集暂停更短。
One of the advantages of generational collection is that it can make garbage collection pauses shorter by not collecting all generations at once.
分代收集器对不同的代可以自由使用不同的收集策略,对各代分别进行垃圾收集。
A generational collector is free to use a different collection strategy for different generations and perform garbage collection on the generations separately.
分代收集器对不同的代可以自由使用不同的收集策略,对各代分别进行垃圾收集。
A generational collector is free to use a different collection strategy for different generations and perform garbage collection on the generations separately.
应用推荐