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

  5.2 分箱式内存管理 对于空闲的 chunk , ptmalloc 采用分箱式内存管理方式,根据空闲 chunk 的大小和处于的状态将其放在四个不同的 bin 中,这四个空闲 chunk 的容器包括 fast bins , unsorted bin , small bins 和 large bins 。 Fast bins 是小内存块的高速缓存,当一些大小小于 64 字节的 chunk 被回
相关文章
相关标签/搜索