A TRACE-BASED JUST-IN-TIME COMPILATION TECHNIQUE OF CMINUS

Shengzhao Tao,Husheng Liao,Hang Su,Hongyu Gao
DOI: https://doi.org/10.3969/j.issn.1000-386x.2017.03.010
2017-01-01
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.
What problem does this paper attempt to address?