Java Recovery algorithm

Source: Internet
Author: User

two most basic Java recovery algorithms: Copy algorithm and tag cleanup algorithmreplication algorithm: Two regions A and B, the initial object in a, the object that continues to survive is transferred to B. This is the most commonly used algorithm for the Cenozoictag cleanup: An area that marks the object to be recycled, and then recycles it, which is bound to fragment, then leadstagging-finishing algorithms: Defragment more, organize larger memory and put larger objectsTwo concepts: The Cenozoic and the old generationCenozoic: Initial object, short life cyclepermanent generation: objects that exist for a long timeThe entire Java garbage collection is a new generation of collaboration with older generations, called generational recycling. The p.s:serial new collector is for the generation of collectors, using a replication algorithmParallel New (parallel) collector, the generation of replication algorithm, the old era using marker finishingParallel Scavenge (parallel) collector for the new generation, using a replication collection algorithmSerial old (serial) collector, replicated in the new generation, using tag cleanup in older yearsParallel old (parallel) collector, for older generations, tag collationCMS Collector, based on tag cleanupG1 Collector: Overall is based on tag cleanup, local use of replicationComprehensive: The New generation of the basic use of replication algorithm, the old age using the marker collation algorithm. The CMS uses tag cleanup.

Java Recovery algorithm

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.