summaryrefslogtreecommitdiffstats
path: root/contrib/jemalloc
Commit message (Collapse)AuthorAgeFilesLines
* - Remove debugging from GENERIC* kernel configurationsgjb2016-07-081-0/+3
| | | | | | | | | - Enable MALLOC_PRODUCTION - Default dumpdev=NO - Remove UPDATING entry regarding debugging features Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Update jemalloc to 4.2.1.jasone2016-06-0913-49/+107
|
* Work around invalid gcc warning (explicit cast apparently lost).jasone2016-05-132-0/+42
|
* Update jemalloc to 4.2.0.jasone2016-05-1352-2305/+4019
|
* Stop using sbrk(2) with malloc. This helps reduce the number of placesandrew2016-04-281-0/+2
| | | | | | | | within the tree where we call this legacy interface. Reviewed by: jasone Obtained from: brooks Sponsored by: ABT Systems Ltd
* Restore support for decay time of -1 (no decay).jasone2016-03-031-1/+5
|
* Add a cast to prevent a compiler warning.jasone2016-03-032-2/+2
|
* Restore configuration for RISC-V.br2016-03-011-0/+3
|
* Update jemalloc to 4.1.0.jasone2016-02-2950-1575/+3377
| | | | | | | | | | 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.
* Add configuration for RISC-V ISA.br2016-01-222-0/+6
| | | | | | | Reviewed by: emaste Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D5020
* Update jemalloc to version 4.0.4.jasone2015-10-2410-30/+93
|
* Update jemalloc to 4.0.2.jasone2015-09-2220-427/+619
|
* Fix minor malloc regressions.jasone2015-08-193-9/+17
| | | | | | | | - 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
* Define CPU_SPINWAIT as cpu_spinwait().jasone2015-08-182-16/+12
| | | | Submitted by: cem
* Re-add LG_SIZEOF_PTR definition for __aarch64__.jasone2015-08-182-2/+12
| | | | This definition was erroneously removed during the 4.0.0 import.
* Fix build failure due to missing CPU_SPINWAIT definition.jasone2015-08-181-0/+4
|
* Add jemalloc support for 8 KiB, 16 KiB, and 64 KiB pages.jasone2015-08-182-1/+4147
|
* Update jemalloc to version 4.0.0.jasone2015-08-1863-6834/+13365
|
* Add aarch64 (arm64) #define for jemallocemaste2015-03-121-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Fix known issues which blow up the process after dlopen("libthr.so")kib2015-01-033-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (or loading a dso linked to libthr.so into process which was not linked against threading library). - Remove libthr interposers of the libc functions, including __error(). Instead, functions calls are indirected through the interposing table, similar to how pthread stubs in libc are already done. Libc by default points either to syscall trampolines or to existing libc implementations. On libthr load, libthr rewrites the pointers to the cancellable implementations already in libthr. The interposition table is separate from pthreads stubs indirection table to not pull pthreads stubs into static binaries. - Postpone the malloc(3) internal mutexes initialization until libthr is loaded. This avoids recursion between calloc(3) and static pthread_mutex_t initialization. - Reinstall signal handlers with wrapper on libthr load. The _rtld_is_dlopened(3) is used to avoid useless calls to sigaction(2) when libthr is statically referenced from the main binary. In the process, fix openat(2), swapcontext(2) and setcontext(2) interposing. The libc symbols were exported at different versions than libthr interposers. Export both libc and libthr versions from libc now, with default set to the higher version from libthr. Remove unused and disconnected swapcontext(3) userspace implementation from libc/gen. No objections from: deischen Tested by: pho, antoine (exp-run) (previous versions) Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Update jemalloc to version 3.6.0.jasone2014-03-3114-38/+80
|
* Update jemalloc to version 3.5.1.jasone2014-02-2610-13/+52
|
* Update jemalloc to version 3.5.0.jasone2014-01-2345-1848/+3002
|
* Update jemalloc to version 3.4.1.jasone2013-10-2114-108/+181
|
* Update jemalloc to version 3.4.0.jasone2013-06-0319-164/+341
|
* Make the malloc(3) family of functions weak and make their non-weakmarcel2013-05-251-0/+41
| | | | | | | | | | | | | | implementations visible for use by applications. The functions $F that are now weak symbols are: allocm, calloc, dallocm, free, malloc, malloc_usable_size, nallocm, posix_memalign, rallocm, realloc, sallocm The non-weak implementations of $F are exported as __$F. Submitted by: stevek@juniper.net Reviewed by: jasone@, kib@ Approved by: jasone@ (jemalloc) Obtained from: juniper Networks, Inc
* Update list of ports required for importing jemalloc.jasone2013-01-241-0/+1
|
* Import jemalloc 3.3.0. This reduces zeroed memory validation overhead forjasone2013-01-2421-314/+588
| | | | non-MALLOC_PRODUCTION builds.
* Import jemalloc 3.2.0.jasone2012-11-1031-560/+1471
|
* Since our clang now supports the tls_model attribute, remove thedim2012-08-232-9/+1
| | | | | | workaround for it in jemalloc_FreeBSD.h. Reviewed by: jasone
* Fix config_lazy_lock so that thread caching isn't used forjasone2012-05-133-10/+19
| | | | single-threaded applications.
* Import jemalloc 3.0.0. This fixes memory zeroing bugs that manifested asjasone2012-05-128-103/+123
| | | | | jemalloc assertion failures for debug builds, or as calloc() sometimes returning non-zeroed memory for production builds.
* Import jemalloc 37b6f95dcd866f51c91488531a2efc3ed4c2b754 (dev branch,jasone2012-05-1030-981/+1729
| | | | | prior to 3.0.0 release). This version is likely very close to what will be 3.0.0.
* Work around llvm PR 12623, which makes variables declared with .symverdim2012-04-241-1/+2
| | | | | | | | | | | sometimes disappear from the resulting object file, if compiled with clang. In particular, this can lead to errors when building world with clang and -g, similar to: /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_malloc_options' Reported by: Conrad J. Sabatier <conrads@.no.cox.net> Reviewed by: jasone
* jemalloc: pointer size definition for 64-bit mips platformsjchandra2012-04-241-0/+4
| | | | | | | | LG_SIZEOF_PTR has to be defined as 3 when jemalloc is compiled for 64 bit platforms. Reviewed by: juli Approved by: jasone
* Import jemalloc a8f8d7540d66ddee7337db80c92890916e1063ca (dev branch,jasone2012-04-2214-140/+88
| | | | | | | | | 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.
* Import jemalloc 606f1fdc3cdbc700717133ca56685313caea24bb (dev branch,jasone2012-04-2125-158/+262
| | | | prior to 3.0.0 release), and mangle internal symbols.
* Import jemalloc b57d3ec571c6551231be62b7bf92c084a8c8291c (dev branch,jasone2012-04-177-18/+66
| | | | | prior to 3.0.0 release), which supports atomic operations based on atomic(9). This should fix build failures for several platforms.
* Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch,jasone2012-04-1760-0/+19873
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.
OpenPOWER on IntegriCloud