The heart of the Java Platform is the concept of a "virtual machine" that carries out Java bytecode programs. This bytecode is the same despite what hardware or operating system the program is running under. There is a JIT (just-in-time compilation) compiler inside the Java Virtual Machine, or JVM. The JIT compiler converts the Java bytecode into native processor instructions at run-time and caches the native code in memory during the tome of the execution.
The use of bytecode as an intermediary language that allows Java programs to run on any platform that has a virtual machine accessible. The use of a JIT compiler means that the applications in Java, after a small delay throughout loading and once they have "warmed up" by being all or mostly JIT-compiled, tend to run about as speed as native programs. Because JRE version 1.2, Sun's JVM execution has included a just-in-time compiler as an alternative of an interpreter.
Wednesday, November 28, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment