Extending a meta-tracing compiler to mix method and tracing compilation. Izawa, Y., Masuhara, H., & Aotani, T. In ACM International Conference Proceeding Series, 2019.
abstract   bibtex   
© 2019 Association for Computing Machinery. Meta-interpreter-based just-in-time compiler frameworks provide a convenient way for language designers to implement efficient virtual machines. Those frameworks either employ tracing-based or method- (or partial evaluation) based strategies, which have their own pros and cons. This paper proposes an approach to enable both tracing- and method-based compilation so that the runtime can selectively apply an appropriate strategy to different parts of a program. The proposal basically extends a meta-tracing compiler to method-based compilation by roll backing at conditional branches, trace-splitting at loop entries, and not following at function calls. As a proof-of-concept, we implemented a tiny meta-tracing compiler in MinCaml by following the RPython's architecture and extended it to support both tracing- and method-based compilation.
@inProceedings{
 title = {Extending a meta-tracing compiler to mix method and tracing compilation},
 type = {inProceedings},
 year = {2019},
 identifiers = {[object Object]},
 keywords = {Language implementation frameworks,RPython,Tracing JIT compilation},
 id = {db29a124-a775-3de9-be2d-bc712fdaf10d},
 created = {2019-11-28T10:40:14.616Z},
 file_attached = {false},
 profile_id = {db99c453-4967-3b33-b603-a0da5bc4bfd2},
 last_modified = {2019-11-28T10:40:14.616Z},
 read = {false},
 starred = {false},
 authored = {true},
 confirmed = {false},
 hidden = {false},
 private_publication = {false},
 abstract = {© 2019 Association for Computing Machinery. Meta-interpreter-based just-in-time compiler frameworks provide a convenient way for language designers to implement efficient virtual machines. Those frameworks either employ tracing-based or method- (or partial evaluation) based strategies, which have their own pros and cons. This paper proposes an approach to enable both tracing- and method-based compilation so that the runtime can selectively apply an appropriate strategy to different parts of a program. The proposal basically extends a meta-tracing compiler to method-based compilation by roll backing at conditional branches, trace-splitting at loop entries, and not following at function calls. As a proof-of-concept, we implemented a tiny meta-tracing compiler in MinCaml by following the RPython's architecture and extended it to support both tracing- and method-based compilation.},
 bibtype = {inProceedings},
 author = {Izawa, Y. and Masuhara, H. and Aotani, T.},
 booktitle = {ACM International Conference Proceeding Series}
}

Downloads: 0