News column ~art makes Android smoother

Source: Internet
Author: User

Art,android new Memory garbage collection mechanism

The benefits of art: Faster code loading----fewer compile times

Android's lag is due to the memory garbage collection mechanism, do not need human management, before the memory garbage collection mechanism Google test every 54ms to drop 3 frames more

Drop-Frame User experience the screen is stuck.

Stutter: All threads stop performing work

Previous recycling mechanism: when traversing, see where memory can be released to stutter once, mark the time to stutter

ART: No need to traverse, less lag time when marking

Art's implementation: Compile all the code, support precompilation, and plainly do a lot of work to reduce the lag before the lag.

The disadvantages of art: 1. The code takes up a lot, but it's not a problem compared to the memory of our phone now.

2. The software first runs at a slower pace, but Google's data shows no difference from the previous, but efforts to improve


News column ~art makes Android smoother

Related Article

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.