摘要
提出了一种适用于实时性环境的Java虚拟机垃圾收集算法。该算法对增量式收集器中堆空间的划分方式、引用跟踪等方面进行了改进,以减少垃圾收集带来的不确定性暂停,并可以使用户指定一个时间段内垃圾收集导致应用程序暂停的最长时间,从而使其适用于实时性环境。实验结果表明,该算法有效减少了暂停的频率和时长。
This paper described a garbage collection algorithm for real-time environment. The algorithm improved the division of heap and reference tracking of the incremental garbage collection algorithm for reducing the uncertain pauses caused by garbage collection,furthermore,and provided user to give a biggest time value that the application paused in a certain period. All of these made it suitable for real-time environment. Experiment results show that this algorithm does reduce the frequency and duration of pauses.
出处
《计算机应用研究》
CSCD
北大核心
2010年第9期3431-3433,共3页
Application Research of Computers
基金
四川省科技计划项目(2008GZ0003)
四川省科技攻关项目(07GG006-019)
关键词
垃圾收集
实时性
增量式收集器
堆空间划分
引用追踪
garbage collection( GC)
real-time
incremental garbage collection
division of heap
reference tracking