Difference between JVM & DVM

[JVM & DVM]

DVM

1.virtual machine 2.ART supports a number of new debugging options, particularly in monitor- and garbage collection-related functionality. For example, you can: 3.In Dalvik vitual machine ,we can able to See what kind of locks are held in stack traces, then jump to the thread that holds a lock. 4.Mostly , we can ask how many live instances here present are of a given class, ask to see the instances, and see what references are keeping an object live. Filter events (like breakpoint) for a specific instance. 5.The value returned by a method when it using method event exit triggering here. 6.Set field watchpoint to suspend the execution of a program when a specific field is accessed and/or modified. 6.Dalvik vitual machine is Register based which is designed to run on low memory also, uses its own byte code and runs .Dex file 7.Finally we are getting .apk file

JVM

1.we can use as a Java virtual machine 2.It is abstract machine and following steps involved in it to get the output . 3.Class loader ,Virtual machine architecture,Bytecode instructions,JVM languages,Bytecode verifier,Bytecode interpreter and just-in-time compiler 4.The above steps continuously run in the jvm to get the result 5.This is Stack based which uses java byte code(.java files) and runs .class file having JIT(Just in time Compilation).

About Ramasamy

Kotlin and React native example too

Related Posts

3 Comments

Ramasamy

5 min ago

Kotlin and React native example too

Reply

Ramasamy

5 min ago

Kotlin and React native example too

Reply

Ramasamy

5 min ago

Kotlin and React native example too

Reply

Leave a reply