diff options
author | jasone <jasone@FreeBSD.org> | 2012-05-12 05:26:49 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2012-05-12 05:26:49 +0000 |
commit | 6f73e67a26d6f19adf88259aacb3f4d298c81987 (patch) | |
tree | c183914fd70f32f724b4fd58078c114077e51de1 /contrib/jemalloc/FREEBSD-diffs | |
parent | 4bfcb307a54bccb92edfa69ed54fd154dc9c1443 (diff) | |
download | FreeBSD-src-6f73e67a26d6f19adf88259aacb3f4d298c81987.zip FreeBSD-src-6f73e67a26d6f19adf88259aacb3f4d298c81987.tar.gz |
Import jemalloc 3.0.0. This fixes memory zeroing bugs that manifested as
jemalloc assertion failures for debug builds, or as calloc() sometimes
returning non-zeroed memory for production builds.
Diffstat (limited to 'contrib/jemalloc/FREEBSD-diffs')
-rw-r--r-- | contrib/jemalloc/FREEBSD-diffs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/jemalloc/FREEBSD-diffs b/contrib/jemalloc/FREEBSD-diffs index c38b92f..8906075 100644 --- a/contrib/jemalloc/FREEBSD-diffs +++ b/contrib/jemalloc/FREEBSD-diffs @@ -1,5 +1,5 @@ diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in -index 93c16dc..b5c5595 100644 +index 877c500..7d659a7 100644 --- a/doc/jemalloc.xml.in +++ b/doc/jemalloc.xml.in @@ -51,12 +51,23 @@ @@ -192,7 +192,7 @@ index 0000000..9efab93 +#define pthread_mutex_lock _pthread_mutex_lock +#define pthread_mutex_unlock _pthread_mutex_unlock diff --git a/src/jemalloc.c b/src/jemalloc.c -index d42e91d..cdf6222 100644 +index bc54cd7..fa9fcf0 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -8,6 +8,10 @@ malloc_tsd_data(, arenas, arena_t *, NULL) |