HotpathVM: An Effective JIT for Resource-constrained Devices

Andreas Gal, Michael Franz, Christian W. Probst

AbstractWe present a just-in-time compiler for a Java VM that is small enough to fit on resource-constrained devices, yet 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 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.
Keywordsvirtual machine, resource-constrained devices, just-in-time compilers
TypeConference paper [With referee]
Conference2nd International Conference on Virtual Execution Environments (VEE 2006)
Year2006    Month June
Electronic version(s)[pdf]
BibTeX data [bibtex]
IMM Group(s)Computer Science & Engineering


Back  ::  IMM Publications