作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (22): 69-71. doi: 10.3969/j.issn.1000-3428.2006.22.025

• 软件技术与数据库 • 上一篇    下一篇

分代算法在KVM中的实现

李守龙   

  1. (上海交通大学软件学院,上海 200240)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

Implementation of Generation Algorithm in KVM

LI Shoulong   

  1. (School of Software, Shanghai Jiaotong University, Shanghai 200240)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 在嵌入式系统中,需要分析什么样的垃圾回收机制能够适应嵌入式系统的特点,满足系统对于稳定性和性能的要求,分析了嵌入式Java虚拟机KVM垃圾回收机制的特点,所采用的垃圾收集算法,以及垃圾收集器在KVM中是如何工作的,找出存在的缺陷和不足,并在mark-sweep-compact算法的基础上实现了分代算法。

关键词: 嵌入式系统, Java虚拟机, KVM, 垃圾收集, 分代算法

Abstract: In embedded systems, it is needed to analyze what kind of garbage collection strategy can adapt to the embedded system and content with the stability and performance. This paper analyzes the characteristics of garbage collector which the KVM uses, garbage collection algorithm which it adopts, finds the shortcoming and fallback, and brings forward ways and means to improve its garbage collector, and implements the generation algorithm based on the mark-sweep-compact algorithm.

Key words: Embedded system, Java virtual machine, Kilobytes virtual machine(KVM), Garbage collection, Generation algorithm

中图分类号: