To eliminate interpretation's high performance cost, a JIT compiler selects frequently executed code to be translated directly to the CPU's native instructions.
为了消除解释的高性能代价,JIT编译器选择将频繁执行的代码直接转换为CPU的本地指令。
2
In a JVM with an active JIT compiler, this cost is eventually eliminated by compiling "around the edges" of the compiled code until the number of transitions is too small to impact performance.