Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering ›› 2006, Vol. 32 ›› Issue (22): 69-71.

• Software Technology and Database • Previous Articles     Next Articles

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

分代算法在KVM中的实现

李守龙   

  1. (上海交通大学软件学院,上海 200240)

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

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

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

CLC Number: