Glibc內存管理--ptmalloc2源代碼分析(十五)

5.2.3 Unsorted bin         Unsorted bin 可以看作是 small bins 和 large bins 的 cache ,只有一個 unsorted bin ,以雙向鏈表管理空閒 chunk ,空閒 chunk 不排序,所有的 chunk 在回收時都要先放到 unsorted bin 中,分配時,如果在 unsorted bin 中沒有合適的 chunk ,就會
相關文章
相關標籤/搜索