On Automating Hybrid Execution of Ahead-of-Time and Just-in-Time Compiled Code
The divergence between Ahead-of-Time (AOT) and Just-In-Time (JIT) compilation techniques presents a unique predicament when trying to achieve optimal performance in software applications. AOT compilation offers efficiency by pre-compiling and optimizing code, while JIT compilation enhances peak performance through dynamic optimization and speculation. However, the improved peak performance achieved by JIT compilation is offset by the poor warm-up performance due to the overhead caused by analyses and optimizations at run time. This paper presents a strategy for blending these two compilation techniques, aiming to maintain high peak performance while enhancing warm-up performance. We use a hybrid compilation strategy that integrates AOT-compiled code into the execution flow of JIT-compiled applications. By reducing the time spent for JIT compilation, we accelerate an application’s startup time. We provide an overview of language implementation features which have to be considered when implementing such an approach. We also propose a call-graph based analysis when determining whether certain code should be replaced by its AOT-compiled equivalent. We implemented our approach within GraalVM, a multi-language virtual machine based on the Java HotSpot VM. The result from different benchmarks show our approach leads to a speedup of 1.48x on average for data setup and up to 2.6x for warm-up and 3.5x for peak performance.
Sun 20 OctDisplayed time zone: Pacific Time (US & Canada) change
16:00 - 17:30 | |||
16:00 30mResearch paper | On Automating Hybrid Execution of Ahead-of-Time and Just-in-Time Compiled Code VMIL Christoph Pichler Johannes Kepler University Linz, Paley Li Oracle, Roland Schatz Oracle Labs, Hanspeter Mössenböck JKU Linz DOI Pre-print | ||
16:30 30mResearch paper | Performant Bounds Checking for 64-Bit WebAssembly VMIL DOI Pre-print | ||
17:00 30mResearch paper | Reducing Feedback Pollution VMIL Michal Stepanek Czech Technical University, Sebastián Krynski Czech Technical University in Prague, Filip Riha Czech Technical University, Filip Křikava Czech Technical University in Prague, Jan Vitek Northeastern University DOI Pre-print |