#
365662 |
|
12-Sep-2020 |
dim |
MFC r365371:
Turn MALLOC_PRODUCTION into a regular src.conf(5) option
For historical reasons, defining MALLOC_PRODUCTION in /etc/make.conf has been used to turn off potentially expensive debug checks and statistics gathering in the implementation of malloc(3).
It seems more consistent to turn this into a regular src.conf(5) option, e.g. WITH_MALLOC_PRODUCTION / WITHOUT_MALLOC_PRODUCTION. This can then be toggled similar to any other source build option, and turned on or off by default for e.g. stable branches.
Reviewed by: imp, #manpages Differential Revision: https://reviews.freebsd.org/D26337
MFC r365373:
Follow-up r365371 by removing sentences which indicate the state of the MK_MALLOC_PRODUCTION option on -CURRENT.
Also, for the sake of backwards compatibility, support the old way of enabling 'production malloc', e.g. by adding a define in make.conf(5).
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
301718 |
|
09-Jun-2016 |
jasone |
Update jemalloc to 4.2.1.
|
#
299700 |
|
13-May-2016 |
jasone |
Work around invalid gcc warning (explicit cast apparently lost).
|
#
299587 |
|
13-May-2016 |
jasone |
Update jemalloc to 4.2.0.
|
#
296221 |
|
29-Feb-2016 |
jasone |
Update jemalloc to 4.1.0.
Add missing Symbol.map entry for __aligned_alloc.
Add weak-->strong symbol binding for {malloc_stats_print,mallctl,mallctlnametomib,mallctlbymib} --> {__malloc_stats_print,__mallctl,__mallctlnametomib,__mallctlbymib}. These bindings complete the set necessary to allow applications to replace all malloc-related symbols.
|
#
289900 |
|
24-Oct-2015 |
jasone |
Update jemalloc to version 4.0.4.
|
#
288090 |
|
22-Sep-2015 |
jasone |
Update jemalloc to 4.0.2.
|
#
286911 |
|
18-Aug-2015 |
jasone |
Fix minor malloc regressions.
- Use _Bool rather than bool to resolve missing type errors in malloc_np.h. - Fix malloc manual page #include documentation. - Add *allocm manual pages to obsolete files.
Submitted by: jbeich
|
#
286907 |
|
18-Aug-2015 |
jasone |
Define CPU_SPINWAIT as cpu_spinwait().
Submitted by: cem
|
#
286877 |
|
18-Aug-2015 |
jasone |
Re-add LG_SIZEOF_PTR definition for __aarch64__.
This definition was erroneously removed during the 4.0.0 import.
|
#
286866 |
|
17-Aug-2015 |
jasone |
Update jemalloc to version 4.0.0.
|
#
263974 |
|
31-Mar-2014 |
jasone |
Update jemalloc to version 3.6.0.
|
#
261071 |
|
23-Jan-2014 |
jasone |
Update jemalloc to version 3.5.0.
|
#
256823 |
|
21-Oct-2013 |
jasone |
Update jemalloc to version 3.4.1.
|
#
251300 |
|
03-Jun-2013 |
jasone |
Update jemalloc to version 3.4.0.
|
#
245868 |
|
24-Jan-2013 |
jasone |
Import jemalloc 3.3.0. This reduces zeroed memory validation overhead for non-MALLOC_PRODUCTION builds.
|
#
242844 |
|
09-Nov-2012 |
jasone |
Import jemalloc 3.2.0.
|
#
239618 |
|
23-Aug-2012 |
dim |
Since our clang now supports the tls_model attribute, remove the workaround for it in jemalloc_FreeBSD.h.
Reviewed by: jasone
|
#
235385 |
|
12-May-2012 |
jasone |
Fix config_lazy_lock so that thread caching isn't used for single-threaded applications.
|
#
235322 |
|
12-May-2012 |
jasone |
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.
|
#
235238 |
|
10-May-2012 |
jasone |
Import jemalloc 37b6f95dcd866f51c91488531a2efc3ed4c2b754 (dev branch, prior to 3.0.0 release). This version is likely very close to what will be 3.0.0.
|
#
234569 |
|
22-Apr-2012 |
jasone |
Import jemalloc a8f8d7540d66ddee7337db80c92890916e1063ca (dev branch, prior to 3.0.0 release). This fixes several bugs related to memory initialization.
Mangle __jemalloc_a0{malloc,calloc,free}() just like all the other library-internal symbols in jemalloc, and adjust the tls allocation code in libc to use the mangled names.
|
#
234543 |
|
21-Apr-2012 |
jasone |
Import jemalloc 606f1fdc3cdbc700717133ca56685313caea24bb (dev branch, prior to 3.0.0 release), and mangle internal symbols.
|
#
234402 |
|
17-Apr-2012 |
jasone |
Import jemalloc b57d3ec571c6551231be62b7bf92c084a8c8291c (dev branch, prior to 3.0.0 release), which supports atomic operations based on atomic(9). This should fix build failures for several platforms.
|
#
234370 |
|
17-Apr-2012 |
jasone |
Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc. The code being imported by this commit diverged from lib/libc/stdlib/malloc.c in March 2010, which means that a portion of the jemalloc 1.0.0 ChangeLog entries are relevant, as are the entries for all subsequent releases.
|