Hybrid Execution: Combining Ahead-of-Time and Just-in-Time Compilation

Christoph Pichler, Paley Li, Roland Schatz, Hanspeter Mössenböck · 2023

Ahead-of-time (AOT) compilation is a well-known approach to statically compile programs to native code before they are executed. In contrast, just-in-time (JIT) compilation typically starts with executing a slower, less optimized version of the code and compiles frequently executed methods at run time. In doing so, information from static and dynamic analysis is utilized to speculate and help generate highly efficient code. However, generating such an efficient JIT-compiled code is challenging, and this introduces a trade-off between warm-up performance and peak performance.

Read the paper · More papers on PaperTik