What does a just-in-time (JIT) compiler do?

后端 未结 18 1732
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 12:42

What does a JIT compiler specifically do as opposed to a non-JIT compiler? Can someone give a succinct and easy to understand description?

18条回答
  •  粉色の甜心
    2020-11-22 13:18

    Jit stands for just in time compiler jit is a program that turns java byte code into instruction that can be sent directly to the processor.

    Using the java just in time compiler (really a second compiler) at the particular system platform complies the bytecode into particular system code,once the code has been re-compiled by the jit complier ,it will usually run more quickly in the computer.

    The just-in-time compiler comes with the virtual machine and is used optionally. It compiles the bytecode into platform-specific executable code that is immediately executed.

提交回复
热议问题