valkey/deps/jemalloc
antirez 6b836b6b41 Jemalloc: use LG_QUANTUM of 3 for AMD64 and I386.
This gives us a 24 bytes size class which is dict.c dictEntry size, thus
improving the memory efficiency of Redis significantly.
Moreover other non 16 bytes aligned tiny classes are added that further
reduce the fragmentation of the allocator.

Technically speaking LG_QUANTUM should be 4 on i386 / AMD64 because of
SSE types and other 16 bytes types, however we don't use those, and our
jemalloc only targets Redis.

New versions of Jemalloc will have an explicit configure switch in order
to specify the quantum value for a platform without requiring any change
to the Jemalloc source code: we'll switch to this system when available.

This change was originally proposed by Oran Agra (@oranagra) as a change
to the Jemalloc script to generate the size classes define. We ended
doing it differently by changing LG_QUANTUM since it is apparently the
supported Jemalloc method to obtain a 24 bytes size class, moreover it
also provides us other potentially useful size classes.

Related to issue #2510.
2015-07-24 10:20:02 +02:00
..
bin Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
doc Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
include Jemalloc: use LG_QUANTUM of 3 for AMD64 and I386. 2015-07-24 10:20:02 +02:00
src Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
test Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
.gitignore Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
autogen.sh jemalloc source added 2011-06-20 11:30:06 +02:00
ChangeLog Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
config.guess Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
config.stamp.in jemalloc source added 2011-06-20 11:30:06 +02:00
config.sub Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
configure Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
configure.ac Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
COPYING Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
coverage.sh Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
INSTALL Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
install-sh jemalloc source added 2011-06-20 11:30:06 +02:00
Makefile.in Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
README Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
VERSION Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00

jemalloc is a general purpose malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.  jemalloc first came
into use as the FreeBSD libc allocator in 2005, and since then it has found its
way into numerous applications that rely on its predictable behavior.  In 2010
jemalloc development efforts broadened to include developer support features
such as heap profiling, Valgrind integration, and extensive monitoring/tuning
hooks.  Modern jemalloc releases continue to be integrated back into FreeBSD,
and therefore versatility remains critical.  Ongoing development efforts trend
toward making jemalloc among the best allocators for a broad range of demanding
applications, and eliminating/mitigating weaknesses that have practical
repercussions for real world applications.

The COPYING file contains copyright and licensing information.

The INSTALL file contains information on how to configure, build, and install
jemalloc.

The ChangeLog file contains a brief summary of changes for each release.

URL: http://www.canonware.com/jemalloc/