5.0.1
版本发布时间: 2017-07-02 08:51:07
jemalloc/jemalloc最新发布版本:5.3.0(2022-05-07 03:14:21)
This bugfix release fixes several issues, most of which are obscure enough that typical applications are not impacted.
Bug fixes:
- Update
decay->nunpurged
before purging, in order to avoid potential update races and subsequent incorrect purging volume. (@interwq) - Only abort on
dlsym(3)
error if the failure impacts an enabled feature (lazy locking and/or background threads). This mitigates an initialization failure bug for which we still do not have a clear reproduction test case. (@interwq) - Modify tsd management so that it neither crashes nor leaks if a thread's only allocation activity is to call
free()
after TLS destructors have been executed. This behavior was observed when operating with GNU libc, and is unlikely to be an issue with other libc implementations. (@interwq) - Mask signals during background thread creation. This prevents signals from being inadvertently delivered to background threads. (@jasone, @davidtgoldblatt, @interwq)
- Avoid inactivity checks within background threads, in order to prevent recursive mutex acquisition. (@interwq)
- Fix extent_grow_retained() to use the specified hooks when the
arena.<i>.extent_hooks
mallctl is used to override the default hooks. (@interwq) - Add missing reentrancy support for custom extent hooks which allocate. (@interwq)
- Post-
fork(2)
, re-initialize the list of tcaches associated with each arena to contain no tcaches except the forking thread's. (@interwq) - Add missing post-
fork(2)
mutex reinitialization forextent_grow_mtx
. This fixes potential deadlocks afterfork(2)
. (@interwq) - Enforce minimum autoconf version (currently 2.68), since 2.63 is known to generate corrupt configure scripts. (@jasone)
- Ensure that the configured page size (
--with-lg-page
) is no larger than the configured huge page size (--with-lg-hugepage
). (@jasone)
1、 jemalloc-5.0.1.tar.bz2 487.6KB