What’s a Dalvik?

Dalvik is a virtual machine (VM) designed and written by Dan
Bornstein at Google. Your code gets compiled into machineindependent
instructions called bytecodes, which are then
executed by the Dalvik VM on the mobile device.
Although the bytecode formats are a little different, Dalvik is
essentially a Java virtual machine optimized for low memory
requirements. It allowsmultiple VMinstances to run at once and
takes advantage of the underlying operating system (Linux) for
security and process isolation.
Bornstein named Dalvik after a fishing village in Iceland where
some of his ancestors lived.


The Dalvik VM is Google’s implementation of Java, optimized for mobile
devices. All the code you write for Android will be written in Java and
run within the VM.
Dalvik differs from traditional Java in two important ways:
• The Dalvik VM runs .dex files, which are converted at compile time
from standard .class and .jar files. .dex files are more compact and
efficient than class files, an important consideration for the limited
memory and battery-powered devices that Android targets.
• The core Java libraries that come with Android are different from
both the Java Standard Edition (Java SE) libraries and the Java
Mobile Edition (Java ME) libraries. There is a substantial amount
of overlap, however.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android之style样式-EditText样式
  2. 最全的android模拟器使用--ADB命令的介绍和
  3. Android官方命令深入分析之Device Monito
  4. android 加载大图长图失真或者不显示。
  5. Android运行main方法后java虚拟机停止运
  6. Android 实现跑马灯效果
  7. Android Button Selector
  8. Android - Read Only File System IOExce
  9. Android之使用RatingBar设置游戏难度并保
  10. [转]浅谈Android五大布局(一)——LinearLay