Implementing an Eecient Java Interpreter
نویسندگان
چکیده
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 eecient Java interpreter. We describe the main features that make our interpreter ef-cient. Our initial experimental results show that an interpreter-based JVM may be only 1.4 times slower than a compiler-based JVM for some important applications.
منابع مشابه
Implementing an E cient Java
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...
متن کامل2sp Online Sessions through Java Servlets
This paper presents a new, coprocess-based service for servlet-enabled web servers that allows for establishing online client sessions with an interactive program on the server computer. This service, implemented by an HTTP Java servlet, is designed for experimenting online with prototypical implementations of the interactive program. It provides an enhanced support for research interactions vi...
متن کاملTwo-stage Programming via the Client-servlet-coprocess Interaction Model
This paper presents the client-servlet-coprocess interaction model, a new form of the client-server model. The client-servlet-coprocess model uses an HTTP Java servlet to specialize a servlet-enabled Web server to provide on-line client sessions with an interactive program run as a coprocess for the servlet. This model is designed for experimenting online with prototypical implementations of th...
متن کاملHarissa: a Flexible and Eecient Java Environment Mixing Bytecode and Compiled Code
The Java language provides a promising solution to the design of safe programs, with an application spectrum ranging from Web services to operating system components. The well-known tradeoo of Java's portabil-ity is the ineeciency of its basic execution model, which relies on the interpretation of an object-based virtual machine. Many solutions have been proposed to overcome this problem, such ...
متن کاملJASON Java-based AgentSpeak interpreter used with saci for multi-agent distribution over the net
In this survey paper we present Jason, an interpreter for the AgentSpeak programming language. Our aim is to investigate the Jason platform theoretically and to explore its practical possibilities in implementing multiagent systems. Furthermore we introduce some relevant background on multiagent systems concerning the BDI architecture and the logic-based semantics of AgentSpeak(L). Finally, we ...
متن کامل