Sun 20 Oct 2024 16:00 - 16:30 at Pacific C - Session 3 - Performance Tuning

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 Oct

Displayed time zone: Pacific Time (US & Canada) change

16:00 - 17:30
Session 3 - Performance TuningVMIL at Pacific C
16:00
30m
Research 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
30m
Research paper
Performant Bounds Checking for 64-Bit WebAssembly
VMIL
Lukas Döllerer TU Munich, Alexis Engelke TU Munich
DOI Pre-print
17:00
30m
Research 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