Amalgamating Different JIT Compilations in a Meta-tracing JIT Compiler Framework
Thu 19 Nov 2020 05:20 - 05:40 at SPLASH-III - 5 Chair(s): Xavier Rival, Sukyoung Ryu
Most virtual machines employ just-in-time (JIT) compilers to achieve
high-performance. Trace-based compilation and method-based compilation are two
major compilation strategies in JIT compilers. In general, the former excels
in compiling programs with more in-depth method calls and more dynamic
branches, while the latter is suitable for a wide range of programs. Some
previous studies have suggested that each strategy has its advantages and
disadvantages, and there is no clear winner.
In this paper, we present a new approach, namely, the meta-hybrid JIT
compilation strategy. It combines trace-based and method-based compilations to
utilize the advantages of both strategies. Moreover, it is realized as a meta
JIT compiler framework; thus, we can generate a VM with a hybrid JIT compiler
that can apply different program parts by merely writing an interpreter with
our framework.
We chose to extend a meta-tracing JIT compiler and supported the two
compilations on it. As a prototype, we implemented a simple meta-tracing JIT
compiler framework called BacCaml based on the MinCaml compiler by following
RPython’s architecture.
We evaluated its performance by creating a small functional programming
language with BacCaml and running microbenchmark programs. Furthermore, we
performed a synthetic experiment to confirm that there are programs that
run faster by hybrid compilation.
Wed 18 NovDisplayed time zone: Central Time (US & Canada) change
17:00 - 18:20 | |||
17:00 20mResearch paper | Abstract Neural Networks SAS Pre-print Media Attached | ||
17:20 20mTalk | Amalgamating Different JIT Compilations in a Meta-tracing JIT Compiler Framework DLS 2020 Link to publication DOI Pre-print Media Attached | ||
17:40 20mResearch paper | Probabilistic Lipschitz Analysis of Neural NetworksArtifact SAS Ravi Mangal Georgia Institute of Technology, Kartik Sarangmath Georgia Institute of Technology, Aditya Nori , Alessandro Orso Georgia Tech Pre-print Media Attached | ||
18:00 20mTalk | Pricing Python Parallelism: A Dynamic Language Cost Model for Heterogeneous Platforms DLS 2020 Dejice Jacob University of Glasgow, UK, Phil Trinder University of Glasgow, Jeremy Singer Glasgow University Link to publication DOI Pre-print Media Attached |
Thu 19 NovDisplayed time zone: Central Time (US & Canada) change
05:00 - 06:20 | |||
05:00 20mResearch paper | Abstract Neural Networks SAS Pre-print Media Attached | ||
05:20 20mTalk | Amalgamating Different JIT Compilations in a Meta-tracing JIT Compiler Framework DLS 2020 Link to publication DOI Pre-print Media Attached | ||
05:40 20mResearch paper | Probabilistic Lipschitz Analysis of Neural NetworksArtifact SAS Ravi Mangal Georgia Institute of Technology, Kartik Sarangmath Georgia Institute of Technology, Aditya Nori , Alessandro Orso Georgia Tech Pre-print Media Attached | ||
06:00 20mTalk | Pricing Python Parallelism: A Dynamic Language Cost Model for Heterogeneous Platforms DLS 2020 Dejice Jacob University of Glasgow, UK, Phil Trinder University of Glasgow, Jeremy Singer Glasgow University Link to publication DOI Pre-print Media Attached |