Region-Based Compilation in the HHVM JIT CompilerMoreVMs Invited Talk
The HipHop Virtual Machine (HHVM) Just-In-Time (JIT) compiler uses a region-based compilation approach. Although region-based compilation has been employed in prior static and dynamic compilers, this approach has not been widely adopted by existing VMs, which typically use either trace-based or method-based compilation. In this talk, I’ll argue that region-based compilation is superior to both trace-based and method-based compilation in general. Furthermore, I’ll describe the key characteristics that make region-based compilation particularly attractive for dynamic-language VMs. After motivating the case for region-based compilation in VMs, I’ll describe the general architecture of the HHVM JIT compiler and how it integrates region-based compilation with a set of other key mechanisms, including type specialization, profile-guided optimizations, and on-stack replacement.
Tue 2 AprDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
08:50 - 10:30 | Just-in-Time CompilationMoreVMs at Michelangelo Chair(s): Edd Barrett King's College London, Stefan Marr University of Kent | ||
08:50 10mDay opening | Welcome MoreVMs | ||
09:00 60mTalk | Region-Based Compilation in the HHVM JIT CompilerMoreVMs Invited Talk MoreVMs | ||
10:00 30mTalk | Extending a Meta-Tracing Compiler to Mix Method and Tracing Compilation MoreVMs Yusuke Izawa Tokyo Institute of Technology, Hidehiko Masuhara Tokyo Institute of Technology, Tomoyuki Aotani Tokyo Institute of Technology DOI Pre-print Media Attached |