Go to file
Yinan Zhang e0a0c8d4bf Fix a bug in prof_dump_write
The original logic can be disastrous if `PROF_DUMP_BUFSIZE` is less
than `slen` -- `prof_dump_buf_end + slen <= PROF_DUMP_BUFSIZE` would
always be `false`, so `memcpy` would always try to copy
`PROF_DUMP_BUFSIZE - prof_dump_buf_end` chars, which can be
dangerous: in the last round of the `while` loop it would not only
illegally read the memory beyond `s` (which might not always be
disastrous), but it would also illegally overwrite the memory beyond
`prof_dump_buf` (which can be pretty disastrous).  `slen` probably
has never gone beyond `PROF_DUMP_BUFSIZE` so we were just lucky.
2019-07-16 15:15:32 -07:00
bin Fix typo derived from tcmalloc's pprof 2019-04-23 15:29:57 -07:00
build-aux Update config.{guess,sub} from upstream. 2016-11-10 15:08:32 -08:00
doc Fix logic in printing 2019-07-16 14:54:23 -07:00
include Fix logic in printing 2019-07-16 14:54:23 -07:00
m4 jemalloc cpp new/delete bindings 2016-12-12 18:36:06 -08:00
msvc Add missing safety_check.c to MSBuild projects 2019-05-24 09:00:19 -07:00
scripts Safety checks: Run tests by default 2019-04-15 16:48:12 -07:00
src Fix a bug in prof_dump_write 2019-07-16 15:15:32 -07:00
test Add confirm_conf option 2019-05-22 09:38:39 -07:00
.appveyor.yml Reorder the configs for AppVeyor. 2019-07-14 23:06:24 -07:00
.autom4te.cfg Disable autom4te cache. 2014-09-02 17:49:29 -07:00
.cirrus.yml Revert "Customize cloning to include tags so that VERSION is valid." 2019-01-14 10:35:48 -08:00
.gitattributes fix git handling of newlines on windows 2014-05-07 18:48:39 -04:00
.gitignore Kill size_classes.sh. 2018-07-12 20:53:06 -07:00
.travis.yml Safety checks: Run tests by default 2019-04-15 16:48:12 -07:00
autogen.sh Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
ChangeLog Update Changelog for 5.2.0. 2019-04-02 17:40:42 -07:00
config.stamp.in Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
configure.ac configure.ac: Add an option to disable doc 2019-04-23 15:32:02 -07:00
COPYING Update copyright dates. 2019-01-25 13:25:20 -08:00
INSTALL.md Add configure option --disable-libdl. 2019-02-06 21:00:59 -08:00
jemalloc.pc.in Reformat the version number in jemalloc.pc.in. 2018-05-07 20:12:03 -07:00
Makefile.in configure.ac: Add an option to disable doc 2019-04-23 15:32:02 -07:00
README Update project URL. 2016-09-12 11:56:24 -07:00
run_tests.sh Introduce scripts to run all possible tests 2017-01-30 17:51:57 -08:00
TUNING.md Add TUNING.md. 2018-05-03 12:52:52 -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 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://jemalloc.net/