期刊文献+

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

Performance tuning of Java garbage collection mechanism
下载PDF
导出
摘要 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.
出处 《计算机工程与设计》 CSCD 北大核心 2006年第17期3242-3244,3247,共4页 Computer Engineering and Design
关键词 垃圾收集 JAVA虚拟机 分代式垃圾收集算法 性能调节 garbage collection (GC) java virtual machine (JVM) generational GC algorithm performance tuning
  • 相关文献

参考文献8

  • 1Richard Jones,Rafael Lins.垃圾收集[M].北京:人民邮电出版社,2004.
  • 2Sun Microsystems.Tuning garbage collection with the 1.4.2 java TM virtual machine[EB/OL].2003.http://java.sun.com/docs/hotspot/gc1.4.2/.
  • 3Sun Microsystems.Tuning garbage collection with the 5.0 java TM virtual machine[EB/OL].2003.http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html.
  • 4Sun Microsystems.Write paper:The java hotspot TM virtual machine,V 1.4.1,d2[EB/OL].2002.
  • 5Sun Microsystems.Ergonomics in the 5.0 java TM virtual machine[EB/OL].2003.http://java.sun.com/docs/hotspot/gc5.0/ergo5.html.
  • 6Sun Microsystems.JavaTM hotspot VM options[EB/OL].2002.http://java.sun.com/docs/hotspot/VMOptions.html.
  • 7杨骥,毛峡.一种堆栈型Java处理器的流水线设计[J].计算机工程与设计,2004,25(12):2357-2359. 被引量:3
  • 8张敦华,刘建.Java动态类加载机制及其应用[J].计算机工程与设计,2004,25(3):432-435. 被引量:18

二级参考文献9

  • 1Sun Microsystems Inc. Java 2 platform API specification [S].
  • 2LiGong.Java2平台安全技术-结构、API设计和实现[M].北京:机械工业出版社,2000..
  • 3Connor J M O, Tremblay M. Java virtual machine in hardware [J]. IEEE Micro,1997,17(3):44-53.
  • 4Corporation Xilinx. Lightfoot 32-bit Java processor core[Z].Data Sheet, 2001.
  • 5Lindholm T, Yellin F. The Java virtual machine specification, reading[M].Longman:Addison Vesley, 1997.
  • 6William Stallings. Computer organization and architecture: Design for performance [M]. Prentice Hall,1996.
  • 7Patterson D A, Hennessy J L. Computer architecture a quantita-tive approach[M]. Morgan Kaufmann Publishers, Inc,1996.
  • 8王涛,毛志刚,叶以正.PicoJava-I微处理器的体系结构[J].微处理机,1999,20(4):30-33. 被引量:1
  • 9李宗伯,戴葵,胡守仁.在嵌入式Java芯片中使用即时编译技术[J].计算机研究与发展,2001,38(3):375-379. 被引量:1

共引文献19

同被引文献17

引证文献4

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部