Implementing an Efficient Java Interpreter
Implementing an Efficient Java Interpreter
复制标题
实现高效的 Java 解释器
DOI:
--
复制
发表时间:
2001
期刊:
影响因子:
--
通讯作者:
A. Krall
中科院分区:
文献类型:
--
作者:
David Gregg;M. Ertl;A. Krall
The Java virtual machine (JVM) is usually implemented with an interpreter or just-in-time (JIT) compiler. JIT compilers provide the best performance, but must be substantially rewritten for each architecture they are ported to. Interpreters are easier to develop and maintain, and can be ported to new architectures with almost no changes. The weakness of interpreters is that they are much slower than JIT compilers. This paper describes work in progress on a highly efficient Java interpreter. We describe the main features that make our interpreter efficient. Our initial experimental results show that an interpreter-based JVM may be only 1.9 times slower than a compiler-based JVM for some important applications.