HotpathVM
Andreas Gal, Christian W. Probst, Michael Franz · 2006
We present a just-in-time compiler for a Java VM that is small enough to fit on resource-constrained devices, yet is surprisingly effective. Our system dynamically identifies traces of frequently executed bytecode instructions (which may span several basic blocks across several methods) and compiles them via Static Single Assignment (SSA) construction. Our novel use of SSA form in this context allows to hoist instructions across trace side-exits without necessitating expensive compensation code in off-trace paths. The overall memory consumption (code and data) of our system is only 150 kBytes, yet benchmarks show a speedup that in some cases rivals heavy-weight just-in-time compilers.
Cited by 137 works. doi:10.1145/1134760.1134780
Authors
References
- Trace Scheduling: A Technique for Global Microcode Compaction
- Efficiently computing static single assignment form and the control dependence graph
- Threaded code
- Code generation using tree matching and dynamic programming
- BURG
- Using profile information to assist classic code optimizations
- Analysis and development of Java Grande benchmarks
- Engineering a simple, efficient code-generator generator
- Transparent Dynamic Optimization: The Design and Implementation of Dynamo
- BEG: a generator for efficient back ends