发布于 2017-03-03 06:03:05 | 211 次阅读 | 评论: 0 | 来源: 网友投递
jemalloc 内存分配管理
jason认为phkmalloc(FreeBSD’s previous malloc implementation by Kamp (1998))没有考虑多处理器的情况,因此在多线程并发下性能低下(事实如此),而jemalloc适合多线程下内存分配管理。
jemalloc 4.5.0 发布了。
新特性:
Add --disable-thp
and the opt.thp
mallctl to provide opt-out mechanisms for transparent huge page integration. (@jasone)
Update zone allocator integration to work with macOS 10.12. (@glandium)
Restructure *CFLAGS
configuration, so that CFLAGS
behaves typically, and EXTRA_CFLAGS
provides a way to specify e.g. -Werror
during building, but not during configuration. (@jasone, @ronawho)
Bug 修复:
Fix DSS (sbrk(2)
-based) allocation. This regression was first released in 4.3.0. (@jasone)
Handle race in per size class utilization computation. This functionality was first released in 4.0.0. (@interwq)
Fix lock order reversal during gdump. (@jasone)
Fix/refactor tcache synchronization. This regression was first released in 4.0.0. (@jasone)
Fix various JSON-formatted malloc_stats_print()
bugs. This functionality was first released in 4.3.0. (@jasone)
Fix huge-aligned allocation. This regression was first released in 4.4.0. (@jasone)
When transparent huge page integration is enabled, detect what state pages start in according to the kernel's current operating mode, and only convert arena chunks to non-huge during purging if that is not their initial state. This functionality was first released in 4.4.0. (@jasone)
Fix lg_chunk
clamping for the --enable-cache-oblivious --disable-fill
case. This regression was first released in 4.0.0. (@jasone, @428desmo)
Properly detect sparc64 when building for Linux. (@glaubitz)
完整更新内容请查看发布首页。
下载地址: