Spam Study Notes (Chapter 1)

Source: Internet
Author: User

First, let's take a look at the interest of a group of friends who are also from. gameframework! Recently, the project has been too busy. Although it is not an absolutely important role in the project, it is still necessary for me to do a complicated job.

The memory allocation mechanism leads to the generation of garbage collection. In fact, GC mainly solves the problem.
Dynamic Allocation: dynamically allocates memory space in the heap to store data. The memory block in the heap is like the napkin we use everyday. If we use it, we have to drop it into the garbage bin. Otherwise, the house will be full of space. A lazy like me dream of having a home robot to clean the house with him. In software development, if you are too reluctant to release the memory, you also need a similar robot-this is actually a specificAlgorithmImplementation of the garbage collector.
Therefore, the garbage collection technology we generally mention is to recycle the memory dynamically allocated to the heap!

Several Typical garbage collection algorithms in history are used in several garbage collection algorithms.

Today, the research areas of garbage collection include
Garbage collection in Distributed Systems, garbage collection in complex transaction environments, and garbage collection in specific systems such as databases.

AboveArticleI strongly recommend that you refer to the articles from Wang Yonggang. For more information about the algorithm, see Yonggang's article on the metaphor of "Napkin". It's amazing!

 

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.