Android + JVM and DVM differences (Dalvil VMs)

Source: Internet
Author: User

Java programs in the JVM and the DVM execution process:

#jvm和dvm的区别 (Dalvil VM) Google just developed the android system with JVM,JVM Copyright belongs to the Sun Company is Oracle Company, later with the DVM, due to copyright issues. DVM is a 2-time development based on OPENJDK, and the DVM solves the JVM's efficiency problems, and the JVM runs less efficiently. The JVM's class code must be interpreted inside the JVM and executed inside the underlying operating system, and the actual execution is the underlying operating system execution, which is inefficient because it must be interpreted within the JVM. The DVM will first convert the class file to the Dex file and then explain the execution so that the conversion will be more efficient. If there are 1000 class files inside the JVM that are loaded into the JVM for interpretation, then it will be inefficient to traverse the 1000 class files for loading operations. If you first convert these 1000 class files to a Dex file, then loading the explanation to execute this one Dex file is much more efficient. Java code is a compiled export run, Windows has Windows Jvm,linux Linux JVM,

Android + JVM and DVM differences (Dalvil VMs)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.