Go to file
Leonard Crestez cb17fc6a8f Add support for LinuxThreads.
When using LinuxThreads pthread_setspecific triggers recursive
allocation on all threads. Work around this by creating a global linked
list of in-progress tsd initializations.

This modifies the _tsd_get_wrapper macro-generated function. When it has
to initialize an TSD object it will push the item to the linked list
first. If this causes a recursive allocation then the _get_wrapper
request is satisfied from the list. When pthread_setspecific returns the
item is removed from the list.

This effectively adds a very poor substitute for real TLS used only
during pthread_setspecific allocation recursion.

Signed-off-by: Crestez Dan Leonard <lcrestez@ixiacom.com>
2013-10-24 18:25:19 -07:00
bin Few configure.ac adjustments 2012-04-30 17:13:45 -07:00
doc Clarify how to use malloc_conf. 2013-03-19 16:28:41 -07:00
include Add support for LinuxThreads. 2013-10-24 18:25:19 -07:00
src Add support for LinuxThreads. 2013-10-24 18:25:19 -07:00
test Fix an off-by-one flaw in a test. 2013-10-20 14:09:01 -07:00
.gitignore Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
autogen.sh Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
ChangeLog Update ChangeLog for 3.4.1. 2013-10-20 19:40:09 -07:00
config.guess Update config.guess and config.sub. 2012-03-12 15:57:24 -07:00
config.stamp.in Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
config.sub Update config.guess and config.sub. 2012-03-12 15:57:24 -07:00
configure.ac Fix build break for MSVC. 2013-08-20 11:48:19 +01:00
COPYING Updated ChangeLog for 3.3.0. 2013-01-22 22:45:09 -08:00
INSTALL Allow to enable ivsalloc independently 2012-12-23 11:47:10 -08:00
install-sh Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
Makefile.in Fix build break for MSVC. 2013-08-20 11:48:19 +01:00
README Update README. 2013-10-20 19:38:19 -07: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/