Below are the difference between JIT and JVM:
Point of distinction | JVM | JIT |
---|---|---|
Acronym for | Java Virtual Machine | Just In Time Compiler |
Component of | is major component of JRE | JIT is component of JVM |
Use | It makes Java platform independent by executing byte code. JVM is a major component of JRE. | Part of JVM and it improve performance of JVM. JIT is a module inside the JVM which helps in compiling certain parts of byte code into the machine code for higher performance. JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation. |
Comments