The difference between Android Dalvik and art

Source: Internet
Author: User

The Dalvik mode is like a folding bike, which is assembled before each ride to get on the road. The art model is a bicycle that has been installed and can be taken out of the car directly. So art mode is certainly better than dalvik in efficiency.

From the above table, we can plainly see that the new Art mode has the features of small RAM memory, better smoothness and more power saving.

1:art mode is the abbreviation for Android runtime. In the art virtual machine environment, Android only compiles the program once, that is, when the program is installed. When you install an app, the art virtual machine translates the program's Java language into a machine language that works for Android, and it's a compile-time lifetime benefit. This is exempt from each run of the program, the need to recompile the trouble, the system's operational efficiency has been greatly improved.

2:dalvik is a Java virtual machine designed by Google to be used on Android platforms. Dalvik virtual Machine is one of the core components of Android mobile device platform developed by Google and other manufacturers. It can support the operation of a Java application that has been converted to. Dex (that is, Dalvik executable) format, which is a compression format designed for Dalvik and is suitable for systems with limited memory and processor speed. Dalvik is optimized to allow instances of multiple virtual machines to run concurrently in limited memory, and [1] each Dalvik application executes as a standalone Linux process. A standalone process can prevent all programs from shutting down when the virtual machine crashes.

The difference between Android Dalvik and art

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.