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

计算机工程 ›› 2009, Vol. 35 ›› Issue (10): 86-88. doi: 10.3969/j.issn.1000-3428.2009.10.028

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

基于即时编译器辅助的并行垃圾收集器

吴廷鹏1,2,张 昱1,2,刘玉宇1   

  1. (1. 中国科学技术大学计算机科学技术系,合肥 230027;2. 中国科学院计算机系统结构重点实验室,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-05-20 发布日期:2009-05-20

Parallel Garbage Collector Based on Just-in-time Compiler Assistance

WU Ting-peng1,2, ZHANG Yu1,2, LIU Yu-yu1   

  1. (1. Dept. of Computer Science & Technology, University of Science & Technology of China, Hefei 230027;2. Key Lab of Computer System & Architecture, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-05-20 Published:2009-05-20

摘要: 设计一种基于即时编译器辅助的并行垃圾收集器,在编译阶段利用即时编译器安插显式内存回收指令释放无用对象空间,结合自动和显式内存管理的优点,减轻程序员和垃圾收集器的负担,同时提高内存空间的利用率,支持显式对象回收操作,且可以有效重用这些对象空间,从而提高Java应用程序的执行效率,实验结果表明,该设计方案是可行的。

关键词: 即时编译器, 垃圾收集器, 显式内存管理

Abstract: A parallel Garbage Collector(GC) based on Just-In-Time(JIT) compiler assistance is presented, which can free objects explicitly by inserting the “free” instructions in compilation time. Combined with the merits of automatic and explicit memory management, the burden of both programmer and GC is reduced, and the utilization of memory space is promoted. It supports explicit object operation, and reuses these object spaces, which improves the operating efficiency of Java applications. Experimental results show this design scheme is feasible.

Key words: Just-In-Time(JIT) compiler, Garbage Collector(GC), explicit memory management

中图分类号: