EN | ZH

# 堆利用¶

In this chapter, we will follow the steps below

1. Introducing the macro operation of the heap we know well about dynamic memory allocation
2. Describe the data structures used to achieve these operations
3. Introduce the specific operations of using these data structures to achieve heap allocation and recycling
4. Introduce the various utilization techniques of the heap from shallow to deep.

For different applications, due to the different memory requirements, there are many implementations of the heap, as follows:

dlmalloc  – General purpose allocator

ptmalloc2 – glibc

jemalloc  – FreeBSD and Firefox