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

即时编译器辅助垃圾收集中的对象生命期分析研究
引用本文:袁丽娜,张昱.即时编译器辅助垃圾收集中的对象生命期分析研究[J].西安交通大学学报,2010,44(2).
作者姓名:袁丽娜  张昱
作者单位:1. 中国科学技术大学计算机科学与技术学院,230027,合肥
2. 中国科学技术大学计算机科学与技术学院,230027,合肥;中国科学技术大学苏州研究院软件安全实验室,215123,江苏苏州
基金项目:Intel公司研究基金,国家自然科学基金资助项目 
摘    要:提出一种对象生命期分析算法,利用即时编译器分析应用程序并在其中安插显式释放对象等指令,通过辅助垃圾收集器改进对象的回收与分配来减轻垃圾收集器自动回收的负担.该算法结合了活跃变量分析和指针逃逸分析,对Java程序的每个方法仅分析一次,而且是过程间的,对域、上下文是敏感的,能够分析识别应用程序中的非全局对象及其死亡位置.实验结果表明:算法的执行时间占总编译时间的3.6%~5.3%;相比一般的Salagnac等指针逃逸分析,能识别出更多的对象生命期信息,而且对象死亡位置能精确到Java方法控制流图中的基本块;在即时编译器辅助的垃圾收集优化中能够显式地回收较多的内存空间.

关 键 词:对象生命期  活跃变量分析  指针逃逸分析  内存管理优化

Study on Object Lifetime Analysis for Just-in-Time Compiler Assisted Garbage Collection
YUAN Lina,ZHANG Yu.Study on Object Lifetime Analysis for Just-in-Time Compiler Assisted Garbage Collection[J].Journal of Xi'an Jiaotong University,2010,44(2).
Authors:YUAN Lina  ZHANG Yu
Institution:YUAN Lina1,ZHANG Yu1,2(1.School of Computer Science & Technology,University of Science & Technology of China,Hefei 230027,China,2.Software Security Laboratory,Suzhou Institute for Advanced Study,University of Science , Technology of China,Suzhou,Jiangsu 215123,China)
Abstract:An object lifetime analysis algorithm is presented,which analyzes Java applications in just-in-time compiler in order to insert instructions to explicitly free objects into the applications,and reduces garbage collection overhead by assisting garbage collector in improving object allocation and reclamation.The proposed algorithm combines the live variable analysis and the pointer and escape analysis,and analyzes each method in Java applications only once.Moreover,the algorithm is inter-procedural,field sens...
Keywords:object lifetime  live variable analysis  pointer and escape analysis  memory manage-ment optimization
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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