介紹
Dalvik 是一個 Google 開發的 VM(Virtual Machine)
過程
JIT(Just In Time)
DEX -> dexopt -> .odex(Byte Code) -> VM (Stack-based)
AOT (Ahead Of Time)
DEX -> dex2oat -> .oat(Native Code) -> ART (Register-based)
ART = Android Runtime
* Java classes converted into DEX bytecode
* DEX bytecode is independent of device architecture
https://source.android.com/devices/tech/dalvik