Home >Web Front-end >HTML Tutorial >jemalloc 4.2.0 发布,内存分配管理_html/css_WEB-ITnose

jemalloc 4.2.0 发布,内存分配管理_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:17:561242browse

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)

下载地址:

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn