| 摘要: |
| 基于类型进行分类管理堆空间的垃圾回收算法通过废弃对象复用来降低运行时环境创建对象所需时间开销,同时还通过线程缓存、租赁等技术进一步增强运行时系统的存储管理效率.运行实验表明,该算法能够在回收线程和工作线程之间实现细粒度的并行性并缩短对象申请和回收时间,进而能够减少工作线程的停顿现象,增加服务器应用的平滑性以及提高堆空间的使用效率. |
| 关键词: 虚拟机 运行时环境 垃圾回收算法 线程缓存 对象分类 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.60373004,60373005,90412006(国家自然科学基金);the National Grand Fundamental Research 973 Program of China under Grant No.2004CB318000(国家重点基础研究发展计划(973)) |
|
| A Class-Based Garbage Collection Algorithm for the Runtime Environments |
|
ZHANG Wu-Sheng,YANG Guang-Wen,ZHENG Wei-Min
|
| Abstract: |
| The class-based garbage collection approach is to improve the efficiency of the runtime environment for server applications. The class-based garbage collection algorithm is intended to reduce the overhead of dynamic object creation through an object-reuse technology, and the unique techniques of thread cache and lease protocol etc. can further reduce the pause time of the server applications and provide them better smoothness and good memory usage. The virtual machines run on top of the class-based garbage collector can be implemented to support fine grade parallelism between the mutator threads and the garbage collection threads. |
| Key words: virtrual machine runtime environment garbage collection thread cache class-based |