摘要
Java技术中使用称为垃圾收集器的技术来监视程序的运行,GC对Java程序员来说基本上是透明的,当对象不再使用时,就自动释放堆中的无用单元。分析垃圾收集的概念和常用算法,通过实验指出了在实际应用中应如何选择适当的收集方法提高GC的效率。
Java technology uses Garbage Co/lector to monitor the procedure of programs. To Java programmer,GC is transparent basically.When the object is no longer used, the unit in the heap is released automaticly. Presents the principle and the algorithms of garbage colection, experiment points out how to choose the proper collection method to improve the efficiency of GC in practical application.
出处
《现代计算机》
2009年第1期114-116,共3页
Modern Computer