Update jemalloc to version 5.1.0.
Pick 'Remove external linkage for spin_adaptive' from upstream jemallocApply the changes from upstream jemalloc 048c6679. This is actually notquite a cherry pick due to makefile difference and be
Pick 'Remove external linkage for spin_adaptive' from upstream jemallocApply the changes from upstream jemalloc 048c6679. This is actually notquite a cherry pick due to makefile difference and because FreeBSD doesnot carry the msvc project files which were also modified in thatcommit.Approved by: jasone (maintainer), markj (mentor)Sponsored by: Dell EMC Isilon
show more ...
Update jemalloc to 5.0.0.
Replace dot-dot relative pathing with SRCTOP-relative paths where possibleThis reduces build output, need for recalculating paths, and makes it clearerwhich paths are relative to what areas in the
Replace dot-dot relative pathing with SRCTOP-relative paths where possibleThis reduces build output, need for recalculating paths, and makes it clearerwhich paths are relative to what areas in the source tree. The change inperformance over a locally mounted UFS filesystem was negligible in my testing,but this may more positively impact other filesystems like NFS.LIBC_SRCTOP was left alone so Juniper (and other users) can continue tomanipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) asinclude Makefiles with custom options.Discussed with: marcel, sjgMFC after: 1 weekReviewed by: emasteSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D9207
Update jemalloc to 4.3.1.
Update jemalloc to 4.2.0.
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
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}. Thesebindings complete the set necessary to allow applications to replace allmalloc-related symbols.
Add .NOMETA missed in r291320.Sponsored by: EMC / Isilon Storage Division
META MODE: Don't create .meta files when symlinking sources into the obj directory.Tracking these leads to situations where meta mode will consider thefile to be out of date if /bin/sh or /bin/ln
META MODE: Don't create .meta files when symlinking sources into the obj directory.Tracking these leads to situations where meta mode will consider thefile to be out of date if /bin/sh or /bin/ln are newer than the sourcefile. There's no reason for meta mode to do this as make is alreadyhandling the rebuild dependency fine.Sponsored by: EMC / Isilon Storage Division
Add missing sdallocx updates and remove *allocm manpage links.Submitted by: jbeich
Update jemalloc to version 4.0.0.
Fix known issues which blow up the process after dlopen("libthr.so")(or loading a dso linked to libthr.so into process which was notlinked against threading library).- Remove libthr interposers o
Fix known issues which blow up the process after dlopen("libthr.so")(or loading a dso linked to libthr.so into process which was notlinked 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 versionsthan libthr interposers. Export both libc and libthr versions fromlibc now, with default set to the higher version from libthr.Remove unused and disconnected swapcontext(3) userspace implementationfrom libc/gen.No objections from: deischenTested by: pho, antoine (exp-run) (previous versions)Sponsored by: The FreeBSD FoundationMFC after: 1 week
Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}if not already defined. This allows building libc from outside oflib/libc using a reach-over makefile.A typical use-case is to
Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}if not already defined. This allows building libc from outside oflib/libc using a reach-over makefile.A typical use-case is to build a standard ILP32 version and a COMPAT32version in a single iteration by building the COMPAT32 version using areach-over makefile.Obtained from: Juniper Networks, Inc.
Update jemalloc to version 3.5.0.
Make the malloc(3) family of functions weak and make their non-weakimplementations visible for use by applications. The functions $F thatare now weak symbols are: allocm, calloc, dallocm, free, ma
Make the malloc(3) family of functions weak and make their non-weakimplementations visible for use by applications. The functions $F thatare now weak symbols are: allocm, calloc, dallocm, free, malloc, malloc_usable_size, nallocm, posix_memalign, rallocm, realloc, sallocmThe non-weak implementations of $F are exported as __$F.Submitted by: [email protected]Reviewed by: jasone@, kib@Approved by: jasone@ (jemalloc)Obtained from: juniper Networks, Inc
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 fromlib
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 fromlib/libc/stdlib/malloc.c in March 2010, which means that a portion ofthe jemalloc 1.0.0 ChangeLog entries are relevant, as are the entriesfor all subsequent releases.