【文件属性】:
文件名称:Mesh:一种内存分配器,可自动减少CC ++应用程序的内存占用
文件大小:2.97MB
文件格式:ZIP
更新时间:2021-02-23 13:46:25
memory allocator memory-allocator memory-management malloc-library
网格:用于C / C ++的压缩内存管理
Mesh是替代品,它可以透明地从内存碎片中恢复,而无需更改应用程序代码。
在PLDI 2019上发表的中详细描述了网格。
或观看《怪圈》中Bobby Powers的演讲:
Mesh在Linux和macOS上运行。 Windows正在开发中。
Mesh使用作为构建系统,但将其包装在Makefile中,除了libc之外没有其他运行时依赖项:
$ git clone https://github.com/plasma-umass/mesh
$ cd mesh
$ make; sudo make install
# example: run git with mesh as its allocator:
$ LD_PRELOAD=libmesh.so git status
如果您有任何疑问,请打开一个问题!
但是会融合吗?
如果运行与网格(或带