计算机应用与软件2017,Vol.34Issue(3):59-66,8.DOI:10.3969/j.issn.1000-386x.2017.03.010
基于Trace的CMinus语言即时编译技术
A TRACE-BASED JUST-IN-TIME COMPILATION TECHNIQUE OF CMINUS
摘要
Abstract
JIT (Just-In-Time) compilation technique is an effective method to improve the performance of dynamic language;a Trace-based JIT compilation technique can detect the frequently executed parts of the program at runtime, and compiles it into target language or doing some optimization work.Moreover, it can improve the overall efficiency of the program in a considerable number of scenarios.However, it is difficult to develop a JIT Compiler, which involves the optimization of the underlying code, thus limited its application range.Therefore, we proposed a Trace-based JIT compilation technique used on CMinus which is a subset of C language for this purpose.Any language can be translated into CMinus can use this technique to improve the execution efficiency of the program.Any algorithm implemented by CMinus can be supported by this Trace-based compilation technique.The experimental results show that this method can effectively improve the efficiency of the program.关键词
CMinus/即时编译/基于踪迹/环境切换Key words
CMinus/JIT compilation/Trace-based/Environment alternation分类
信息技术与安全科学引用本文复制引用
陶胜召,廖湖声,苏航,高红雨..基于Trace的CMinus语言即时编译技术[J].计算机应用与软件,2017,34(3):59-66,8.基金项目
国家自然科学基金青年基金项目(61202074) (61202074)
北京市自然科学基金项目(4122011). (4122011)