DVM vs KVM

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

DVM vs KVM

Postby neel » Sun Feb 24, 2008 9:16 pm

hi

does anybody know what is the difference between DVM and KVM

i found the following things
1. KVM is stack based while dalvik is register based.
2. KVM has no support for graphic libraries like AWT/Swing while android has 2D/3D graphic libraries

we have read tht DVM is efficient and optimized bytecode but how is this. I am trying to find of why it is more efficient and some detailed comparison with K virtual machine?

Thanks
neel
Developer
Developer
 
Posts: 31
Joined: Fri Feb 15, 2008 5:09 am
Location: San Jose

Top

Postby plusminus » Sun Feb 24, 2008 10:06 pm

Hello neel,

I never worked with KVM, but I can give you some lines of the android-book I'm writing:

...Also of register-based VMs allow faster execution times at the expense of programs which are larger after compilation.


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

It's all credit to .dex format

Postby gvkreddyvamsi » Mon Feb 25, 2008 7:32 am

Hi,

DVM is very much efficient than KVM...

Discussion:

Every Android application runs on it's own process given by the OS, and own its own instance of the dalvik virtual machine. Dalvik Virtual Machine has been written so that a device can run multiple VMs efficiently. The Dalvik Virtual MAchine is executing files in the .dex (Dalvik Executable) format which was optimised for minimal cpu-and-memory usage.

That's it..

by
vamsi
gvkreddyvamsi
Developer
Developer
 
Posts: 43
Joined: Mon Jan 21, 2008 5:10 am
Location: INDIA

Postby plusminus » Mon Feb 25, 2008 9:36 am

Hey guys,

and:
Several VMs protect ones application from being dragged down by another crashed Application.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests