aboutsummaryrefslogtreecommitdiff
path: root/include/malloc_np.h
Commit message (Collapse)AuthorAgeFilesLines
* Update jemalloc to 5.0.0.Jason Evans2017-06-151-19/+35
| | | | Notes: svn path=/head/; revision=319971
* Update jemalloc to 4.1.0.Jason Evans2016-02-291-0/+7
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=296221
* Use bool rather than _Bool for C++ compatibility.Jason Evans2015-08-191-8/+8
| | | | | | | Submitted by: Nikolai Lifanov Notes: svn path=/head/; revision=286934
* Fix minor malloc regressions.Jason Evans2015-08-191-7/+8
| | | | | | | | | | | - 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 Notes: svn path=/head/; revision=286911
* Update jemalloc to version 4.0.0.Jason Evans2015-08-181-28/+29
| | | | Notes: svn path=/head/; revision=286866
* Update jemalloc to version 3.5.0.Jason Evans2014-01-231-0/+18
| | | | Notes: svn path=/head/; revision=261071
* Make the malloc(3) family of functions weak and make their non-weakMarcel Moolenaar2013-05-251-0/+12
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=250991
* Fix a compilation error with some compilers: __attribute__Hartmut Brandt2012-05-221-6/+4
| | | | | | | | | requires two parenthesis for its argument, but instead of using __attribute__ directly, use the appropriate __nonnull macro from cdefs.h. Notes: svn path=/head/; revision=235780
* Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch,Jason Evans2012-04-171-0/+27
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=234370
* Add __{BEGIN,END}_DECLS macros, so that function prototypes remainJason Evans2006-06-301-0/+4
| | | | | | | | | unmangled for C++ programs. Submitted by: Niklas Sorensson <nik@cs.chalmers.se> Notes: svn path=/head/; revision=160056
* Add malloc_usable_size(3).Jason Evans2006-03-281-0/+37
Discussed with: arch@ Notes: svn path=/head/; revision=157236