码迷,mamicode.com
首页 > 移动开发 > 详细

Android Runtime

时间:2016-11-17 00:54:04      阅读:343      评论:0      收藏:0      [点我收藏+]

标签:nal   reading   for   and   ice   代码   参考   html   com   

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

Android Runtime

标签:nal   reading   for   and   ice   代码   参考   html   com   

原文地址:http://www.cnblogs.com/tekkaman/p/6071894.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!