介绍 常用垃圾回收算法基本实现 mark-sweep 标记-清除算法 reference-counting(George E. Collins) 引用计数算法 copying(Robert R. Fenichel, Jerome C. Yochelson) 复制算法 mark-compact(Donald E. Knuth) 标记-整理算法 Generational(David Ungar) 分代回收,年轻代使用复制算法,老年代使用标记-清除算法