首页 | 本学科首页   官方微博 | 高级检索  
     

即时编译器辅助的垃圾收集中的插桩算法研究
引用本文:张昱,袁丽娜.即时编译器辅助的垃圾收集中的插桩算法研究[J].小型微型计算机系统,2010,31(4).
作者姓名:张昱  袁丽娜
作者单位:中国科学技术大学,计算机科学技术学院,安徽,合肥,230027;中国科学院,计算机系统结构重点实验室,北京,100080
基金项目:中国科学院计算机系统结构重点实验室开放课题,Intel公司研究基金,国家自然科学基金项目 
摘    要:即时编译器辅助的垃圾收集技术结合显式和自动内存管理的优点,在编译阶段由即时编译器分析应用程序并在其中插桩显式释放内存的指令,以便垃圾收集器及时回收死亡对象所占用的内存空间,从而减轻垃圾收集器的负担.提出一种应用于该项技术的插桩算法,它基于控制流中的支配关系并提供不同的插桩策略,保证插桩的正确性和灵活性;它能够主动获得域引用从而释放对象及其域引用的内存空间.实验表明基于该插桩算法的垃圾收集器能够回收大量的内存空间,提高Java程序的执行效率.

关 键 词:插桩  即时编译器  垃圾收集器  内存管理

Study on Instrumentation Algorithm for Just-in-time Compiler Assisted Garbage Collection
ZHANG Yu,YUAN Li-na.Study on Instrumentation Algorithm for Just-in-time Compiler Assisted Garbage Collection[J].Mini-micro Systems,2010,31(4).
Authors:ZHANG Yu  YUAN Li-na
Affiliation:ZHANG Yu1,2,YUAN Li-na1,21 (Schod of Computer Science & Technology,University of Science & Technology of China,Hefei 230027,China)2(Key Laboratory of Computer System & Architecture,Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100080,China)
Abstract:Just-in-time compiler assisted garbage collection (JIT-assisted GC) combines the advantages of explicit memory management and automatic memory management.Under the framework of JIT-assisted GC,JIT compiler analyses the applications to find dead objects and their dead points,then instruments the explicit free instructions in compilation time,accordingly garbage collector could reclaim the spaces owned by those dead objects in time and relieves its load on automatic garbage collection.A new algorithm on instr...
Keywords:instrument  just-in-time  garbage collection  memory management  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号