Java垃圾收集机制及性能调节  被引量:4

Performance tuning of Java garbage collection mechanism

在线阅读下载全文

作  者:曾天慧[1] 於时才[1] 董荣辉[1] 

机构地区:[1]兰州理工大学计算机与通信学院,甘肃兰州730050

出  处:《计算机工程与设计》2006年第17期3242-3244,3247,共4页Computer Engineering and Design

摘  要:Java技术通过自动的垃圾收集来管理内存的回收,降低了编写代码的复杂程度,减小了系统中潜在的不安全因素。针对众多开发人员在实际应用中未能充分发挥垃圾收集机制优势的情况,基于对Java虚拟机中垃圾收集机制及其实现的分析,提出了在具体应用中对垃圾收集算法进行选择和对Java虚拟机相关参数进行调节的方法。实验表明,该方法使得垃圾收集对系统性能的负面影响最小化,从而提高了系统的性能和效率。对开发人员具有一定的参考价值。Java technology uses automatic garbage collection mechanism to manager the recycling of memory. The mechanism can reduce the complexity of coding, and decrease unsafe factor lurking in the system. However, most developers have not taken full advantage of the mechanism of GC in practical applications. Based on the analyse of the principle on GC and how it is implemented in the JVM, a tuning method of algorithm choosing and performance tuning with its parameters is proposed. Experiment prove that by using this tunning method, the negative effect on the function of system is minimized, and the efficiency of system is improved. The tunning method has certain reference value to the developers.

关 键 词:垃圾收集 JAVA虚拟机 分代式垃圾收集算法 性能调节 

分 类 号:TP302.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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