jemalloc 4.2.0 发布了。
新特性:
add the arena..reset mallctl, which makes it possible to discard all of an arena's allocations in a single operation. ( @jasone)
add the stats.retained and stats.arenas..retained statistics. ( @jasone)
add the --with-version configure option. ( @jasone)
support --with-lg-page values larger than actual page size. ( @jasone)
优化:
use pairing heaps rather than red-black trees for various hot data structures. ( @djwatson, @jasone)
streamline fast paths of rtree operations. ( @jasone)
optimize the fast paths of calloc() and [m,d,sd]allocx(). ( @jasone)
decommit unused virtual memory if the os does not overcommit. ( @jasone)
specify map_noreserve on linux if [heuristic] overcommit is active, in order to avoid unfortunate interactions during fork(2). ( @jasone)
bug 修复:
fix chunk accounting related to triggering gdump profiles. ( @jasone)
link against librt for clock_gettime(2) if glibc
scale leak report summary according to sampling probability. ( @jasone)
下载地址: