Android now runs exclusively on the new ART runtime, built from the ground up to support a mix of ahead-of-time (AOT), just-in-time (JIT), and interpreted code.
ahead-of-time
(AOT)
在ART
环境中,应用在第一次安装的时候,字节码就会预先编译成机器码,使其成为真正的本地应用。这个过程叫做预编译(AOT,Ahead-Of-Time)
just-in-time
(JIT)
在运行时动态地将执行频率很高的dex字节码翻译成本地机器码,然后再执行