Android Runtime

Android Runtime

  Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language compiler that have been transformed into the .dex format by the included "dx" tool.

  The Dalvik VM relies on the Linux kernel for underlying functionality such as threading and low-level memory management.

   虚拟机叫 Dalvik,每一个进程拥有一个Dalvik。Dalvik 执行后缀为 .dex 的文件。 .dex 文件,由 java 代码通过 dx 工具编译而来。

参考:

http://api.apkbus.com/guide/basics/what-is-android.html