diff options
author | Mike Hommey <mh@glandium.org> | 2015-08-28 03:30:15 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2015-08-28 03:32:57 (GMT) |
commit | 6d8075f1e6e72ee274832f1164c164f713788e34 (patch) | |
tree | db676ec56d367272edf003b839d7b29601ca2672 /ChangeLog | |
parent | 30949da601f7405c294a71d30bd67be29cfbc2a5 (diff) | |
download | jemalloc-6d8075f1e6e72ee274832f1164c164f713788e34.zip jemalloc-6d8075f1e6e72ee274832f1164c164f713788e34.tar.gz jemalloc-6d8075f1e6e72ee274832f1164c164f713788e34.tar.bz2 |
Fix chunk purge hook calls for in-place huge shrinking reallocation.
Fix chunk purge hook calls for in-place huge shrinking reallocation to
specify the old chunk size rather than the new chunk size. This bug
caused no correctness issues for the default chunk purge function, but
was visible to custom functions set via the "arena.<i>.chunk_hooks"
mallctl.
This resolves #264.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ brevity. Much more detail can be found in the git revision history: - Add JEMALLOC_CXX_THROW to the memalign() function prototype, in order to match glibc and avoid compilation errors when including both jemalloc/jemalloc.h and malloc.h in C++ code. + - Fix chunk purge hook calls for in-place huge shrinking reallocation to + specify the old chunk size rather than the new chunk size. This bug caused + no correctness issues for the default chunk purge function, but was + visible to custom functions set via the "arena.<i>.chunk_hooks" mallctl. * 4.0.0 (August 17, 2015) |