Trace register allocation
Josef Eisl · ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity (SPLASH) · 2015
This paper proposes the idea of Trace Register Allocation, a register allocation approach that is tailored for just-in-time (JIT) compilation in the context of virtual machines with run-time feedback. The basic idea is to offload costly operations such as spilling and splitting to less frequently executed branches and to focus on efficient registers allocation for the hot parts of a program. This is done by performing register allocation on traces instead of on the program as a whole. We believe that the basic approach is compatible to Linear Scan, the predominant register allocation algorithm for just-in-time compilation, in both code quality and allocation time, while our design leads to a simpler and more extensible solution. This extensibility allows us to add further enhancements in order to optimize the allocation based on the run-time profile of the application and thus to outperform current Linear Scan implementations.
Cited by 5 works. doi:10.1145/2814189.2814199 Open-access PDF
Authors
References
- Register allocation via coloring
- The multiflow trace scheduling compiler
- The DaCapo benchmarks
- Linear scan register allocation
- Adaptive optimization in the Jalapeno JVM
- Improvements to graph coloring register allocation
- Quality and speed in linear-scan register allocation
- Iterated register coalescing
- One VM to rule them all
- Design of the Java HotSpot™ client compiler for Java 6