Dalvik virtual machine
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Dalvik_virtual_machine"
.

The Dalvik virtual machine is a register-based virtual machine, designed and written by Dan Bornstein with contributions from other Google engineers as part of the Android mobile phone platform.[1]

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.

The Dalvik virtual machine was named by Bornstein after the fishing village of Dalvík in Eyjafjörður, Iceland, where some of his ancestors lived.[2][3]

content

Contents

Architecture

Being optimized for low memory requirements, Dalvik has some specific characteristics that differentiate it from other standard VMs[4]:

Dalvik uses Apache Harmony (which is under the Apache License) instead of OpenJDK (which is under the GPL + linking exception) to allow cell phone makers to modify the core VM without having to distribute their code.

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).[5]

References

  1. ^ "What is Android?". code.google.com. Retrieved on 2008-02-05.
  2. ^ Journal entry
  3. ^ "Google Calling: Inside Android, the gPhone SDK". onlamp.com. Retrieved on 2008-02-05.
  4. ^ Rose, John (2008-05-31). "with Android and Dalvik at Google I/O". Retrieved on 2008-06-08.
  5. ^ "What is Android?: Android Runtime". Google (2007-11-12). Retrieved on 2007-11-13. "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."

External links

© jGames.co.uk 2007 (some content from Wikipedia under GDL ) !-- ValueClick Media 468x60 and 728x90 Banner CODE for jgames.co.uk -->
Your Ad Here