#
7d4374f6 |
|
05-Sep-2020 |
Dimitry Andric <dim@FreeBSD.org> |
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 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26337
|
#
ea69bf7f |
|
04-May-2020 |
Brooks Davis <brooks@FreeBSD.org> |
Set LG_VADDR to 48 on RISC-V. The Sv48 PTE format is the largest currently defined address space for RISC-V. It makes no sense to define a larger size and doing so (at least for 64-bits) forces rtrees down a slow path. Reviewed by: vangyzen, jhb, mhorne Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D24658
|
#
c5ad8142 |
|
23-Apr-2020 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
Update jemalloc to version 5.2.1 Revert r354606 to restore r354605. Apply one line from jemalloc commit d01b425e5d1e1 in hash_x86_128() to fix the build with gcc, which only allows a fallthrough attribute to appear before a case or default label. Submitted by: jasone in r354605 Discussed with: jasone Reviewed by: bdrewery MFC after: never, due to gcc 4.2.1 Relnotes: yes Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D24522
|
#
f2cb2907 |
|
10-Nov-2019 |
Jason Evans <jasone@FreeBSD.org> |
Revert r354605: Update jemalloc to version 5.2.1. Compilation fails for non-llvm-based platforms.
|
#
e1c167d0 |
|
10-Nov-2019 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 5.2.1.
|
#
0ef50b4e |
|
10-May-2018 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 5.1.0.
|
#
c2a2eeff |
|
31-Jan-2018 |
Marius Strobl <marius@FreeBSD.org> |
Account for the fact that jemalloc 5.0.0 dropped STATIC_PAGE_SHIFT in favor for using LG_PAGE directly and, thus, for the fact that host and target don't necessarily use pages of the same sizes. Approved by: jasone
|
#
1a78ec89 |
|
30-Jun-2017 |
Jason Evans <jasone@FreeBSD.org> |
Default the abort_conf malloc option to false. This avoids troublesome backward compatibility issues.
|
#
b7eaed25 |
|
15-Jun-2017 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 5.0.0.
|
#
8244f2aa |
|
01-Mar-2017 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 4.5.0.
|
#
7fa7f12f |
|
04-Dec-2016 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 4.4.0.
|
#
bde95144 |
|
09-Nov-2016 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 4.3.1.
|
#
62b2691e |
|
09-Jun-2016 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 4.2.1.
|
#
fbb1d85e |
|
13-May-2016 |
Jason Evans <jasone@FreeBSD.org> |
Work around invalid gcc warning (explicit cast apparently lost).
|
#
1f0a49e8 |
|
12-May-2016 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 4.2.0.
|
#
df0d881d |
|
29-Feb-2016 |
Jason Evans <jasone@FreeBSD.org> |
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.
|
#
ba4f5cc0 |
|
24-Oct-2015 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 4.0.4.
|
#
536b3538 |
|
21-Sep-2015 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to 4.0.2.
|
#
c13244b9 |
|
18-Aug-2015 |
Jason Evans <jasone@FreeBSD.org> |
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
|
#
337776f8 |
|
18-Aug-2015 |
Jason Evans <jasone@FreeBSD.org> |
Define CPU_SPINWAIT as cpu_spinwait(). Submitted by: cem
|
#
d8e39d2d |
|
18-Aug-2015 |
Jason Evans <jasone@FreeBSD.org> |
Re-add LG_SIZEOF_PTR definition for __aarch64__. This definition was erroneously removed during the 4.0.0 import.
|
#
d0e79aa3 |
|
17-Aug-2015 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 4.0.0.
|
#
2fff27f8 |
|
31-Mar-2014 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 3.6.0.
|
#
f921d10f |
|
22-Jan-2014 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 3.5.0.
|
#
2b06b201 |
|
20-Oct-2013 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 3.4.1.
|
#
f8ca2db1 |
|
03-Jun-2013 |
Jason Evans <jasone@FreeBSD.org> |
Update jemalloc to version 3.4.0.
|
#
88ad2f8d |
|
23-Jan-2013 |
Jason Evans <jasone@FreeBSD.org> |
Import jemalloc 3.3.0. This reduces zeroed memory validation overhead for non-MALLOC_PRODUCTION builds.
|
#
82872ac0 |
|
09-Nov-2012 |
Jason Evans <jasone@FreeBSD.org> |
Import jemalloc 3.2.0.
|
#
5948d407 |
|
23-Aug-2012 |
Dimitry Andric <dim@FreeBSD.org> |
Since our clang now supports the tls_model attribute, remove the workaround for it in jemalloc_FreeBSD.h. Reviewed by: jasone
|
#
edaa25bd |
|
12-May-2012 |
Jason Evans <jasone@FreeBSD.org> |
Fix config_lazy_lock so that thread caching isn't used for single-threaded applications.
|
#
35dad073 |
|
11-May-2012 |
Jason Evans <jasone@FreeBSD.org> |
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.
|
#
e722f8f8 |
|
10-May-2012 |
Jason Evans <jasone@FreeBSD.org> |
Import jemalloc 37b6f95dcd866f51c91488531a2efc3ed4c2b754 (dev branch, prior to 3.0.0 release). This version is likely very close to what will be 3.0.0.
|
#
4bcb1430 |
|
22-Apr-2012 |
Jason Evans <jasone@FreeBSD.org> |
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.
|
#
8ed34ab0 |
|
21-Apr-2012 |
Jason Evans <jasone@FreeBSD.org> |
Import jemalloc 606f1fdc3cdbc700717133ca56685313caea24bb (dev branch, prior to 3.0.0 release), and mangle internal symbols.
|
#
c92c6224 |
|
17-Apr-2012 |
Jason Evans <jasone@FreeBSD.org> |
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.
|
#
a4bd5210 |
|
17-Apr-2012 |
Jason Evans <jasone@FreeBSD.org> |
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.
|