ICC   25427
INSTITUTO DE INVESTIGACION EN CIENCIAS DE LA COMPUTACION
Unidad Ejecutora - UE
congresos y reuniones científicas
Título:
A Metaobject Protocol for Optimizing Application-Specific Run-Time Variability
Autor/es:
DIEGO GARBERVETSKY; STEFAN MARR; CHARI, GUIDO
Lugar:
Barcelona
Reunión:
Workshop; ICOOOLPS; 2017
Resumen:
Just-in-time compilers and their aggressive speculative optimizations reduced the performance gap between dynamic and staticlanguages drastically. To successfully speculate, compilers rely onthe program variability observed at run time to be low, and useheuristics to determine when optimization is beneficial. However, some variability patterns are hard to capture with heuristics. Specifically, ephemeral, warmup, rare, and highly indirect variability arechallenges for today?s compiler heuristics. As a consequence, theycan lead to reduced application performance. However, these typesof variability are identifiable at the application level and could bemitigated with information provided by developers. As a solution,we propose a metaobject protocol for dynamic compilation systemsto enable application developers to provide such information at runtime. As a proof of concept, we demonstrate performance improvements for a few scenarios in a dynamic language built on top ofthe Truffle and Graal system.