Google's launch of the Android Sdk,dalvik virtual machine at the end of 2007 was also the first time it had entered the field of vision. It is the author of Dan Bernstein (Dan Bornstein). The Dalvik virtual machine is the core component of the Android platform and has several features as follows:
Small size, small memory footprint;
Proprietary DEX executable file format, smaller size, faster execution;
The constant pool uses 32-bit index values, addressing class method names, field names, and constants faster;
Based on the register architecture, and has a complete set of instruction system;
Provides important functions such as Object Lifecycle management, stack management, thread management, security and exception management, and garbage collection;
All Android programs run in the Android system process, each of which corresponds to a Dalvik virtual machine instance.
1. Dalvik the difference between a virtual machine and a Java virtual machine
Dalvik virtual machines have many different points from traditional Java virtual machines, they are not compatible, and their significant differences are mainly manifested in the following aspects:
Features of the Dalvik virtual machine that enters the Android Dalvik virtual machine