• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Advantage of DVM over JVM

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody, I am very new to Android.

If Android applications are developed in Java, why did they develop Dalvik Virtual Machine (DVM) for Android instead making use of

JVM which is already available? and what are differences b/w both?
 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JVM requires lot of memory and in mobile resources are very limited. therefore it is not possible to have all classes and methods which are present in core java used in Mobile applications.
 
sai ma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you pramod...
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dalvik is a highly customized Virtual machine for Android. If you have ever visited the Android FAQs page, you will find links to a few resources which detail Android's DVM.

In general, Dalvik is register based virtual machine and the regular Virtual machines from Sun(both for desktop and KVM) is Stack based. AFAIK, these are two separate architectures for designing a VM and the question as to whether which of them is better is akin to the "RISC versus CISC" debate. There are numerous articles on the internet ; google "Virtual machine Showdown"

You have have to worry about this too much, IMO.
 
I'm still in control here. LOOK at this tiny ad!
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic