Go to file
Elliot Ronaghan d1207f0d37 Check for __builtin_unreachable at configure time
Add a configure check for __builtin_unreachable instead of basing its
availability on the __GNUC__ version. On OS X using gcc (a real gcc, not the
bundled version that's just a gcc front-end) leads to a linker assertion:

    https://github.com/jemalloc/jemalloc/issues/266

It turns out that this is caused by a gcc bug resulting from the use of
__builtin_unreachable():

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438

To work around this bug, check that __builtin_unreachable() actually works at
configure time, and if it doesn't use abort() instead. The check is based on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438#c21.

With this `make check` passes with a homebrew installed gcc-5 and gcc-6.
2016-09-26 10:44:37 -07:00
bin Pass retain and exclude parameters to /pprof/symbol. 2016-01-29 19:59:06 -08:00
build-aux Use AC_CONFIG_AUX_DIR([build-aux]). 2015-11-12 11:23:39 -08:00
doc Change html manual encoding to UTF-8. 2016-09-12 16:44:33 -07:00
include Check for __builtin_unreachable at configure time 2016-09-26 10:44:37 -07:00
msvc Cleanup MSVC project, embed PDB data inside static .lib 2016-04-12 09:50:10 +02:00
src Fix a valgrind regression in chunk_recycle() 2016-09-26 10:30:57 -07:00
test Disable junk filling for tests that could otherwise easily OOM. 2016-05-11 00:52:16 -07:00
.autom4te.cfg Disable autom4te cache. 2014-09-02 17:49:29 -07:00
.gitattributes fix git handling of newlines on windows 2014-05-07 18:48:39 -04:00
.gitignore Add MS Visual Studio 2015 support 2016-02-20 10:55:23 -08:00
autogen.sh Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
ChangeLog Update ChangeLog for 4.2.1. 2016-06-08 10:20:10 -07:00
config.stamp.in Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
configure.ac Check for __builtin_unreachable at configure time 2016-09-26 10:44:37 -07:00
COPYING Update copyright dates for 2016. 2016-02-28 15:20:40 -08:00
coverage.sh Add test code coverage analysis. 2013-12-06 18:50:51 -08:00
INSTALL Add --with-version. 2016-03-14 20:19:11 -07:00
jemalloc.pc.in Take into account the install suffix that jemalloc was built with in the pkg-config file. 2015-02-13 12:46:19 -08:00
Makefile.in Fix tsd bootstrapping for a0malloc(). 2016-05-07 16:55:36 -07: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/