reference http://blogs.sun.com/jrose/entry/with_android_and_dalvik_at
http://www.onlamp.com/pub/a/onlamp/2007/11/12/google-calling-inside-the-gphone-sdk.html
1, basic information
1) The Dalvik virtual machine is a register-based virtual machine. written by Dan Bornstein
2) It is optimized for low memory requirements, and is designed to allow multiple VM instances to run at once, relying on the underlying operating system for process isolation, memory management and threading support.
2, specific characteristics that differentiate it from other standard VM
1)The VM was slimmed down to use less space
2)Dalvik has no Just-in-time compiler
3)The constant pool has been modified to use only 32-bit indexes to simplify the interpreter
3,Relationship to Java
Dalvik is often referred to as a Java Virtual Machine, but this is not strictly accurate, as the bytecode on which it operates is not Java bytecode. Instead, a tool named dx, included in the Android SDK, transforms the Java Class files of Java classes compiled by a regular Java compiler into another class file format (the .dex format).
本文介绍了Dalvik虚拟机的基本信息,包括其作为寄存器型虚拟机的特点、针对低内存需求进行优化的设计理念以及与标准Java虚拟机的区别。此外,还详细解释了Dalvik与Java的关系,以及dx工具如何将Java字节码转换为Dalvik可执行的.dex格式。
680

被折叠的 条评论
为什么被折叠?



