Efficient Emulation of the Java Virtual Machine on Non-Java processors
Original Publication Date: 2002-Jan-07
Included in the Prior Art Database: 2002-Jan-07
It is becoming important to efficiently emulate the Java Virtual Machine on non-Java processors. Two techniques are used to enhance the execution speed of Java code run in such an environment. The first relates to the concept that if certain attributes are known in a Java method (a "function" in C terms) then substantial speedups may be accomplished during emulation of that method by the Java Virtual Machine (JVM) emulator and in the production of native code by an execution time JIT (Just-In-Time) Compiler. An additional concept relates to an interpreter dynamically adapting to the attributes of the code it is emulating, and doing so with zero execution time overhead.