Skip to main navigation Skip to search Skip to main content

A Formal Foundation for Trace-based JIT Compilers

  • Maarten Vandercammen
  • , Jens Nicolay
  • , Stefan Marr
  • , Joeri De Koster
  • , Theo D´Hondt
  • , Coen De Roover

Research output: Chapter in Book/Report/Conference proceedingConference proceedingspeer-review

Abstract

Trace-based JIT compilers identify frequently executed program paths at run-time and subsequently record, compile and optimize their execution. In order to improve the performance of the generated machine instructions, JIT compilers heavily rely on dynamic analysis of the code. Existing work treats the components of a JIT compiler as a monolithic whole, tied to particular execution semantics. We propose a formal framework that facilitates the design and implementation of a tracing JIT compiler and its accompanying dynamic analyses by decoupling the tracing, optimization, and interpretation processes. This results in a framework that is more configurable and extensible than existing formal tracing models. We formalize the tracer and interpreter as two abstract state machines that communicate through a minimal, well-defined interface. Developing a tracing JIT compiler becomes possible for arbitrary interpreters that implement this interface. The abstract machines also provide the necessary hooks to plug in custom analyses and optimizations.
Original languageEnglish
Title of host publicationProceeding WODA 2015 Proceedings of the 13th International Workshop on Dynamic Analysis
EditorsHarry Xu, Walter Binder
PublisherACM New York
Pages25-30
Number of pages6
ISBN (Electronic)9781450339094
DOIs
Publication statusPublished - 26 Oct 2015

Fields of science

  • 102 Computer Sciences
  • 102009 Computer simulation
  • 102011 Formal languages
  • 102013 Human-computer interaction
  • 102022 Software development
  • 102024 Usability research
  • 102029 Practical computer science

JKU Focus areas

  • Computation in Informatics and Mathematics
  • Engineering and Natural Sciences (in general)

Cite this