HotpathVM: an effective JIT compiler for resource-constrained devices

HotpathVM: an effective JIT compiler for resource-constrained devices
复制标题

HotpathVM:适用于资源受限设备的有效 JIT 编译器

DOI:
10.1145/1134760.1134780
复制
发表时间:
2006
期刊:
ArXiv
影响因子:
--
通讯作者:
M. Franz
M. Franz
中科院分区:
--
文献类型:
--
作者:
A. Gal;Christian W. Probst;M. Franz

文献摘要

被引文献

相似文献

我们为Java VM提供了一个恰当的编译器,该编译器足够小,足以适合资源受限的设备,但令人惊讶的是有效。我们的系统动态地识别了经常执行的字节码指令的痕迹(可能跨越几种方法的几个基本块),并通过静态单分配(SSA)构造对其进行编译。在这种情况下,我们对SSA形式的新颖使用允许在痕量侧面外观上提起指令,而无需在远程路径中使用昂贵的补偿代码。我们系统的总体内存消耗(代码和数据)仅为150个KBYTES,但基准测试表明,在某些情况下,与重量重量重量的及时编译器相匹配。
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.