Glibc内存管理--ptmalloc2源代码分析(十五)

5.2.3 Unsorted bin         Unsorted bin 可以看作是 small bins 和 large bins 的 cache ,只有一个 unsorted bin ,以双向链表管理空闲 chunk ,空闲 chunk 不排序,所有的 chunk 在回收时都要先放到 unsorted bin 中,分配时,如果在 unsorted bin 中没有合适的 chunk ,就会
相关文章
相关标签/搜索