计算机科学 > 程序设计语言
[提交于 2020年11月10日 (v1),最后修订于 2020年11月30日 (此版本, v3)]
标题:Amalgamating Different JIT Compilations in a Meta-tracing JIT Compiler Framework
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Many modern virtual machines, such as JVMs, .NET Framework, and V8, employ a just-in-time (JIT) compiler to achieve their high-performance. There are two major compilation strategies; trace-based compilation and method-based compilation. They have their own advantages and disadvantages, so we presume that applying suitable strategies for different program parts is essential for faster execution. This paper proposes a new approach called the meta-hybrid JIT compiler framework, which combined the two strategies in a single meta-JIT compiler framework. We implemented the BacCaml framework for proof-of-concept. We also report that some programs actually ran faster by the hybrid compilation in our experiments.