计算机应用 ›› 2005, Vol. 25 ›› Issue (01): 218-219.DOI: 10.3724/SP.J.1087.2005.0218

• 典型应用 • 上一篇    下一篇

基于嵌入式Java虚拟机的垃圾回收算法

谌宁,覃征   

  1. 清华大学软件学院
  • 发布日期:2005-01-01 出版日期:2005-01-01
  • 基金资助:

    国家863计划资助项目(2003AA122120)

Garbage collection algorithm based on embedded Java virtual machine

CHEN Ning, QIN Zheng   

  1. School of Software, Tsinghua University,
  • Online:2005-01-01 Published:2005-01-01

摘要:  阐述了一种适用于嵌入式Java虚拟机的垃圾回收算法。该算法对分代回收算法中代的划分方式,引用跟踪等方面进行改进,以降低对运行时间和内存空间的需求,从而使其适用于资源有限的嵌入式环境。试验结果表明,该算法有效提高了垃圾回收效率。

关键词:  Java虚拟机, 垃圾回收, 分代回收, 嵌入式

Abstract: A garbage collection algorithm for embedded Java virtual machine was described. The algorithm improved the division of generation and reference tracking of the generational garbage collection algorithm for reducing time and memory requirements, and made it suitable for resource-constrained embedded environments. Experiment results show that this algorithm does improve the efficiency of garbage collection.

Key words:  Java virtual machine, garbage collection, generational garbage collection, embedded system

中图分类号: