DalvikVM vs JavaVM on Android?

In general, Android launches each application as a separate process in Dalvik Vm. I got this from Doc . But I can’t understand what is the main reason to go to the Dalvik VM for Android. What advantages does it have than Java VM. Share your knowledge. It helps.

Thanks at Advance.

+3
source share
2 answers

A few differences I found ...

                    Dalvik          Vs          JVM

Architecture        Register                    Stack
OS Support          Android                     Multiple
Re- Tools           few                         many
Executables         APK                         JAR
Constant-Pool       Per Application             Per class

In addition to this

Dalvik has the ability to compress the resources that you have in your application, reducing the final size of the APK and forcing the device to efficiently execute multiple instances of the virtual machine

,

.

Android 2.2 SDK Dalvik Just in Time

Dalvik , Java, , , Java . Dalvik Apache 2. (: wikipedia)

.

http://code.google.com/events/io/2010/sessions/jit-compiler-androids-dalvik-vm.html

http://en.wikipedia.org/wiki/Dalvik_%28software%29

http://2009.confidence.org.pl/materialy/prezentacje/marc_schoenefeld_reconstructing_confidence_2009.pdf

+8

Dalvik VM , , . Dalvik dex . , jar .

0

Source: https://habr.com/ru/post/1760868/


All Articles