Questionsforum
What is the difference between DVM and JVM ? Why android uses DVM ?

What is the difference between DVM and JVM ? Why android uses DVM ?



On 2014-06-16 06:22:25.0
Abakasha


Dalvik Virtual machine (DVM) is Register Architecture, designed to run on low memory, uses its own byte code and runs .Dex file (Dalvik Executable File) DVM takes less memory and runs and loads faster than JVM.

Java Virtual Machine (JVM) is Stack Architecture, uses java byte code and runs .class file having JIT. JVM is too heavy for embedded devices.



On 2014-06-17 03:17:41.0
Abakasha
  • JVM(Java Virtual Machine) : It is a virtual environment created by JRE to executed java based enterprise applications. It is designed to develop enterprise applications.

  • DVM(Dalvik Virtual Machine) : It is specially designed to execute in the low memory with less resources and optimized to eat less power. Instead of executing a .class file it's input is .dex file that is optimized to execute under less resources.



On 2014-06-19 07:25:54.0
hablu

copyright@questionsforum.net