Go to file
Jason Evans d82a5e6a34 Implement the *allocx() API.
Implement the *allocx() API, which is a successor to the *allocm() API.
The *allocx() functions are slightly simpler to use because they have
fewer parameters, they directly return the results of primary interest,
and mallocx()/rallocx() avoid the strict aliasing pitfall that
allocm()/rallocx() share with posix_memalign().  The following code
violates strict aliasing rules:

    foo_t *foo;
    allocm((void **)&foo, NULL, 42, 0);

whereas the following is safe:

    foo_t *foo;
    void *p;
    allocm(&p, NULL, 42, 0);
    foo = (foo_t *)p;

mallocx() does not have this problem:

    foo_t *foo = (foo_t *)mallocx(42, 0);
2013-12-12 22:35:52 -08:00
bin Few configure.ac adjustments 2012-04-30 17:13:45 -07:00
doc Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
include Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
src Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
test Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
.gitignore Integrate SFMT 1.3.3 into test infrastructure. 2013-12-09 13:21:08 -08:00
autogen.sh Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
ChangeLog Disable floating point code/linking when possible. 2013-12-05 23:01:50 -08:00
config.guess Update autoconf support files. 2013-10-28 12:44:16 -07:00
config.stamp.in Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
config.sub Update autoconf support files. 2013-10-28 12:44:16 -07:00
configure.ac Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
COPYING Updated ChangeLog for 3.3.0. 2013-01-22 22:45:09 -08:00
coverage.sh Add test code coverage analysis. 2013-12-06 18:50:51 -08:00
INSTALL Add test code coverage analysis. 2013-12-06 18:50:51 -08:00
install-sh Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
Makefile.in Implement the *allocx() API. 2013-12-12 22:35:52 -08: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/