History log of /freebsd-10-stable/contrib/jemalloc/include/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
277317 18-Jan-2015 kib

Fix known issues which blow up the process after dlopen("libthr.so")
(or loading a dso linked to libthr.so into process which was not
linked against threading library).

MFC r276630:
Remove interposing, fix malloc, reinstall signal handlers wrappers on
libthr load.

MFC r276681:
Avoid calling internal libc function through PLT or accessing data
though GOT.

MFC r277032:
Reduce the size of the interposing table and amount of
cancellation-handling code in the libthr.

MFC note:
r276646 ("do not erronously export 'openat' symbol from rtld") is not
applicable to stable/10 yet, since PATHFDS support was not merged.


jemalloc/internal/mutex.h
/freebsd-10-stable/contrib/jemalloc/src/jemalloc.c
/freebsd-10-stable/contrib/jemalloc/src/mutex.c
/freebsd-10-stable/lib/libc/Makefile
/freebsd-10-stable/lib/libc/compat-43/creat.c
/freebsd-10-stable/lib/libc/gen/Makefile.inc
/freebsd-10-stable/lib/libc/gen/Symbol.map
/freebsd-10-stable/lib/libc/gen/__pthread_mutex_init_calloc_cb_stub.c
/freebsd-10-stable/lib/libc/gen/pause.c
/freebsd-10-stable/lib/libc/gen/raise.c
/freebsd-10-stable/lib/libc/gen/sleep.c
/freebsd-10-stable/lib/libc/gen/swapcontext.c
/freebsd-10-stable/lib/libc/gen/termios.c
/freebsd-10-stable/lib/libc/gen/usleep.c
/freebsd-10-stable/lib/libc/gen/wait.c
/freebsd-10-stable/lib/libc/gen/wait3.c
/freebsd-10-stable/lib/libc/gen/waitpid.c
/freebsd-10-stable/lib/libc/include/libc_private.h
/freebsd-10-stable/lib/libc/stdlib/Symbol.map
/freebsd-10-stable/lib/libc/stdlib/jemalloc/Symbol.map
/freebsd-10-stable/lib/libc/stdlib/system.c
/freebsd-10-stable/lib/libc/sys/Makefile.inc
/freebsd-10-stable/lib/libc/sys/Symbol.map
/freebsd-10-stable/lib/libc/sys/__error.c
/freebsd-10-stable/lib/libc/sys/accept.c
/freebsd-10-stable/lib/libc/sys/accept4.c
/freebsd-10-stable/lib/libc/sys/aio_suspend.c
/freebsd-10-stable/lib/libc/sys/close.c
/freebsd-10-stable/lib/libc/sys/connect.c
/freebsd-10-stable/lib/libc/sys/fcntl.c
/freebsd-10-stable/lib/libc/sys/fork.c
/freebsd-10-stable/lib/libc/sys/fsync.c
/freebsd-10-stable/lib/libc/sys/interposing_table.c
/freebsd-10-stable/lib/libc/sys/msync.c
/freebsd-10-stable/lib/libc/sys/nanosleep.c
/freebsd-10-stable/lib/libc/sys/open.c
/freebsd-10-stable/lib/libc/sys/openat.c
/freebsd-10-stable/lib/libc/sys/poll.c
/freebsd-10-stable/lib/libc/sys/pselect.c
/freebsd-10-stable/lib/libc/sys/read.c
/freebsd-10-stable/lib/libc/sys/readv.c
/freebsd-10-stable/lib/libc/sys/recvfrom.c
/freebsd-10-stable/lib/libc/sys/recvmsg.c
/freebsd-10-stable/lib/libc/sys/select.c
/freebsd-10-stable/lib/libc/sys/sendmsg.c
/freebsd-10-stable/lib/libc/sys/sendto.c
/freebsd-10-stable/lib/libc/sys/setcontext.c
/freebsd-10-stable/lib/libc/sys/sigaction.c
/freebsd-10-stable/lib/libc/sys/sigprocmask.c
/freebsd-10-stable/lib/libc/sys/sigsuspend.c
/freebsd-10-stable/lib/libc/sys/sigtimedwait.c
/freebsd-10-stable/lib/libc/sys/sigwait.c
/freebsd-10-stable/lib/libc/sys/sigwaitinfo.c
/freebsd-10-stable/lib/libc/sys/swapcontext.c
/freebsd-10-stable/lib/libc/sys/wait4.c
/freebsd-10-stable/lib/libc/sys/write.c
/freebsd-10-stable/lib/libc/sys/writev.c
/freebsd-10-stable/lib/libthr/Makefile
/freebsd-10-stable/lib/libthr/pthread.map
/freebsd-10-stable/lib/libthr/sys/thr_error.c
/freebsd-10-stable/lib/libthr/thread/thr_create.c
/freebsd-10-stable/lib/libthr/thread/thr_fork.c
/freebsd-10-stable/lib/libthr/thread/thr_init.c
/freebsd-10-stable/lib/libthr/thread/thr_printf.c
/freebsd-10-stable/lib/libthr/thread/thr_private.h
/freebsd-10-stable/lib/libthr/thread/thr_sig.c
/freebsd-10-stable/lib/libthr/thread/thr_syscalls.c
259631 19-Dec-2013 peter

MF9: Don't fail to build if MALLOC_PRODUCTION is defined in make.conf

256283 10-Oct-2013 gjb

- Remove debugging from GENERIC* kernel configurations
- Enable MALLOC_PRODUCTION
- Default dumpdev=NO
- Remove UPDATING entry regarding debugging features
- Bump __FreeBSD_version to 1000500

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


251300 03-Jun-2013 jasone

Update jemalloc to version 3.4.0.


250991 25-May-2013 marcel

Make the malloc(3) family of functions weak and make their non-weak
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


245868 24-Jan-2013 jasone

Import jemalloc 3.3.0. This reduces zeroed memory validation overhead for
non-MALLOC_PRODUCTION builds.


242844 10-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 13-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.


234646 24-Apr-2012 jchandra

jemalloc: pointer size definition for 64-bit mips platforms

LG_SIZEOF_PTR has to be defined as 3 when jemalloc is compiled for
64 bit platforms.

Reviewed by: juli
Approved by: jasone


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.