It might seem odd that we would need another virtual machine for Android phones and that the Java virtual machine (JVM) wouldn’t be good enough. But for optimization and performance, the Dalvik virtual machine (DVM) is used on all Android phones. It was named after a place in the Icelandic homeland of one the original developers and is considerably different in design from the JVM. Instead of a push-pop stack machine, the DVM uses registers. The corresponding DVM bytecode or DEX files are also a completely different design than Java class files.
KeywordsVirtual Machine Data Section Magic Number Java Virtual Machine Head Section
Unable to display preview. Download preview PDF.