Art and Dalvik which is easy to use art mode and Dalvik mode difference Analysis __ Reprint

Source: Internet
Author: User

Has the new art model been introduced in the latest Android 4.4 system, which has changed significantly compared to the previously popular Dalvik model. Recently saw a lot of Android mobile phone friends asked Art and Dalvik which good such a problem, so the author today for you to create the following art mode and Dalvik mode of comparison charts, through contrast, you can see the difference between art mode and Dalvik mode.

The Red bold font section in the following table represents the dominant part. Compare Project CPU RAM memory ROM memory Fluency province app load speed Compatibility Art mode- small big better better slow waiting to be optimized Dalvik mode-Large and small ordinary Come on.

Through the above table, we can plainly see that the new art model with a small RAM memory, smoother and more power-saving characteristics;

The traditional Dalvik mode mode that runs in the Android 4.4 system is mainly used for smaller ROM storage space, better compatibility, and more faster when the application load is opened.

For mobile users, the current RAM memory is generally only 1GB or 2GB, the entry-level only 512M memory, and art mode is known as long as the 512M RAM memory is sufficient to smooth the system experience, in addition to the traditional Andro Dalvik mode run for a long time easy to appear cotton problem, The art model has also been well resolved.

In general, the new art model added to the latest Android 4.4 system is designed to improve the performance of mobile phones, take up less RAM memory and have a more power-saving feature, which is very noticeable for user experience. But there are two sides to the task, and the art model is more of a ROM storage space than the Dalvik mode in the system version of Android 4.4, and it is slower to open applications, and some software compatibility is not very good because it is not yet fully popularized.

From a trend perspective, Art mode replaces Dalvik mode only sooner or later, and Android 4.4 is free to switch between art mode and Dalvik mode.

Through the above detailed art mode introduction, I believe that the role of art model has been understood, the most important art mode is to improve the flow of the Android system, compared to the Dalvik mode in the consumption of fast, memory, even if the flagship machine used for a long time will also be serious phenomenon

What's the use of art mode?

Through the above detailed art mode introduction, I believe that the role of art model has been understood, the most important art mode is to improve the flow of the Android system, compared to the Dalvik mode in the consumption of fast, memory, even if the flagship machine used for a long time will also be serious phenomenon, This problem has been well resolved in art mode, through the installation of the application, the program automatically read the code to compile, so that the program directly compiled into machine language, eliminating the Dalvik mode to always convert code, to achieve high efficiency, power saving, occupy a lower system memory, mobile phone running smoothly.

Google previously claimed that the Android 4.4 running memory only 512M RAM can run smoothly, that is, some of the older low-cost machines can also smooth running the Android 4.4 system, from the side can also see that the art model to improve the system fluency is also very helpful.

What is art mode?

Art Mode English is all called: Android runtime, Google Android 4.4 system new application operating mode, unlike the traditional Dalvik mode, art mode can achieve a more fluent Android system experience, for everyone, As long as you understand that art mode makes the system experience smoother, it only takes this feature in Android 4.4 or more systems.

Introduction to Art Mode

The art virtual machine is a new feature that appears in Android 4.4, and its full name is Android RunTime. But Google is just testing it as a test feature, so it hides it in developer options. The biggest difference between the art virtual machine and the Dalvik virtual machine is the way of compiling the program. In the art virtual machine environment, Android only compiles the program once, when the program is installed. When installing an application, the art virtual machine Converts the Java language of the program into a machine language suitable for the Android system, and is a lifelong compilation. This avoids the problem of recompiling every time the program runs, and the efficiency of the system is greatly improved. It can be said that the use of art virtual machines, Google can proudly say that the Android 4.4 can be in the mobile phone even if only 512MB to run smoothly. And in art mode running the program, there will be a silky version of the feeling of smooth, program operation and switching are very smooth. However, in art mode, because the current mainstream program has not been optimized for the art virtual machine, the compatibility of the program is poor.

That's such a good feature, why does Android have to hide him in developer options? This is mainly because of the following reasons:

1. In art mode, the space occupied by the program will rise abruptly.

2, the current Android application has not been optimized for the art virtual machine, the compatibility is not good.

3. In art mode, the speed of power consumption will be faster.

Although still imperfect, but bring the fluency is still worth a lot of netizens like, how to set their own mobile phone art mode? Take Moto X, which can now be upgraded to native Android 4.4. First enter the settings, then select about the phone, and then click 7 consecutive version number to activate the developer option. Select the operating environment in the developer option, switch to ART mode and click Confirm, and after the phone reboot is complete, the art mode is successfully entered.

HTC and Samsung are already starting to push Android 4.4 systems to users, but many attentive friends will find that Android 4.4, which is pushed by vendors, does not have art mode, because the company's inclusion of art mode in the system greatly affects the stability of the system, which is the most taboo in system upgrades. , so the manufacturer directly cancels the art virtual machine in the native system. So only Android native 4.4 has art mode.

 

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.