摘要
提出一种适用于实时性环境的Java虚拟机垃圾收集算法。该算法通过对增量式收集器中堆空间划分方式和引用跟踪进行改进,以减少垃圾收集时带来的不确定性暂停,并且该算法可以指定用户在一个时间段内进行垃圾收集,以便使应用程序暂停时间达到最短,从而适用于实时性环境。实验结果表明,该算法能有效减少垃圾收集时暂停的频率和时长。
A Java Virtual Machine(JVM) garbage collection algorithm in real-time environment is presented. The proposed algorithm improves the heap space division and reference tracking in incremental collector for reducing the uncertain pause caused by garbage collection. Furthermore, this algorithm allows users to assign a specified period in the garbage collection in order to obtain the shortest pause time. All of these make the proposed algorithm suitable for real-time environment. Experiment results show that this algorithm can effectively reduce the frequency and duration of pauses.
出处
《计算机工程》
CAS
CSCD
北大核心
2011年第15期52-54,共3页
Computer Engineering
基金
河南省社科联科研课题基金资助项目(SKL-2010-1968
SKL-2010-1158)
关键词
实时性环境
JAVA虚拟机
增量式收集器
堆空间划分
引用追踪
real-time environment
Java Virtual Machine(JVM)
incremental collector
heap space division
reference tracking