A Metaobject Protocol for Optimizing Application-Specific Run-Time Variability
Just in Time (JIT) compilers and their aggressive speculative optimizations reduced the performance gap between dynamic and static languages drastically. To successfully speculate, compilers rely on the fact that the observed variability of programs at run time is low. However, there remain patterns of variability, which are hard to capture with heuristics. Specifically, ephemeral, warmup, rare, and highly indirect variability are challenges for today’s compiler heuristics. As a consequence, they can lead to reduced application performance. However, these types of variability are identifiable at the application level and could be mitigated with information provided by developers. As a solution, we propose a metaobject protocol for dynamic compilation systems to enable application developers to provide such information at run time. As a proof of concept, we demonstrate performance improvements for a few scenarios in a dynamic language built on top of the Truffle and Graal system.
Slides (Chari.pdf) | 3.63MiB |
preprint (a3-chari.pdf) | 131KiB |
Mon 19 Jun Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
11:00 - 12:30: Morning IIICOOOLPS at Vertex WS216 Chair(s): Elisa Gonzalez BoixVrije Universiteit Brussel | |||
11:00 - 11:30 Talk | dart2java: Running Dart in Java-based Environments ICOOOLPS Matthias SpringerTokyo Institute of Technology, Andrew KriegerUniversity of California, Los Angeles, Stanislav ManilovUniversity of Edinburgh, Hidehiko MasuharaTokyo Institute of Technology Link to publication DOI File Attached | ||
11:30 - 12:00 Talk | VM Wrapping - Fake it till you make it ICOOOLPS Johannes HenningHasso Plattner Institute, Tim FelgentreffHasso-Plattner-Institute, Potsdam, Robert HirschfeldHPI Link to publication DOI File Attached | ||
12:00 - 12:30 Talk | A Metaobject Protocol for Optimizing Application-Specific Run-Time Variability ICOOOLPS Guido ChariUniversity of Buenos Aires, Argentina, Diego GarbervetskyUniversity of Buenos Aires, Argentina, Stefan MarrJohannes Kepler University Linz Link to publication DOI File Attached |