Java中内存泄露及垃圾回收机制  被引量:3

Memory Leaks in Java and Garbage Collector

在线阅读下载全文

作  者:张学红[1] 李小慧[1] 杜瑞庆[1] 

机构地区:[1]唐山师范学院计算机科学系,河北唐山063000

出  处:《唐山师范学院学报》2008年第2期80-82,共3页Journal of Tangshan Normal University

摘  要:Java语言中,内存空间中垃圾回收的工作由垃圾回收器(Garbage Collector,GC)完成,GC可以有效地减少内存泄露发生的概率,但它的启动无规律可循,因此不能完全避免内存泄露。通过分析产生内存泄露的原因,提出了Java编程中的一些注意事项,有效地避免了内存泄露。In Java language, Garbage Collector (GC) is responsible for collecting garbage in memory. GC can reduce occurrence of memory leaks effectively, but its work has no rules, so it can't avoid memory leaks entirely. Having analyzed the reasons of memory leaks, several suggestions were put forwarded in Java programming which can avoid memory leaks effectively.

关 键 词:JAVA 内存泄露 垃圾回收器 虚拟机 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象