12a6845b6c
Use $((...)) instead of expr.
Jason Evans
2012-04-03 13:20:21 -07:00
9d4d76874d
Finish renaming "arenas.pagesize" to "arenas.page".
Jason Evans
2012-04-02 07:15:42 -07:00
ae4c7b4b40
Clean up *PAGE* macros.
Jason Evans
2012-04-02 07:04:34 -07:00
f004737267
Revert "Avoid NULL check in free() and malloc_usable_size()."
Jason Evans
2012-04-02 15:18:24 -07:00
96d4120ac0
Avoid NULL check in free() and malloc_usable_size().
Jason Evans
2012-04-02 14:50:03 -07:00
80b25932ca
Move last bit of zone initialization in zone.c, and lazy-initialize
Mike Hommey
2012-04-02 09:04:54 +02:00
722b370399
Use ffsl() in ALLOCM_ALIGN().
Jason Evans
2012-04-02 14:09:07 -07:00
4eeb52f080
Remove vsnprintf() and strtoumax() validation.
Jason Evans
2012-04-02 01:46:25 -07:00
f2296deb57
Clean up tsd (no functional changes).
Jason Evans
2012-03-30 12:36:52 -07:00
09a0769ba7
Work around TLS deallocation via free().
Jason Evans
2012-03-30 12:11:03 -07:00
3c2ba0dcbc
Avoid crashes when system libraries use the purgeable zone allocator
Mike Hommey
2012-03-27 14:20:13 +02:00
71a93b8725
Move zone registration to zone.c
Mike Hommey
2012-03-27 14:20:12 +02:00
2cfe6d67ef
Change AC_COMPILE_IFELSE into AC_LINK_IFELSE for the __sync_{add, sub}_and_fetch() test
Mike Hommey
2012-03-27 15:03:07 +02:00
1a0e777024
Add a SYS_write definition on systems where it is not defined in headers
Mike Hommey
2012-03-27 14:48:58 +02:00
e77fa59ece
Don't use pthread_atfork to register prefork/postfork handlers on OSX
Mike Hommey
2012-03-28 09:53:16 +02:00
d4be8b7b6e
Add the "thread.tcache.enabled" mallctl.
Jason Evans
2012-03-26 18:54:44 -07:00
fd4fcefa00
Force the lazy-lock feature on FreeBSD.
Jason Evans
2012-03-23 17:40:58 -07:00
2465bdf493
Check for NULL ptr in malloc_usable_size().
Jason Evans
2012-03-26 13:13:55 -07:00
5b3db098f7
Make zone_{free, realloc, free_definite_size} fallback to the system allocator if they are called with a pointer that jemalloc didn't allocate
Mike Hommey
2012-03-26 18:39:35 +02:00
5c89c50d18
Fix glibc hooks when using both --with-jemalloc-prefix and --with-mangling
Mike Hommey
2012-03-26 17:46:57 +02:00
c1e567bda0
Use __sync_add_and_fetch and __sync_sub_and_fetch when they are available
Mike Hommey
2012-03-26 17:03:41 +02:00
1e6138c88c
Remove malloc_mutex_trylock().
Jason Evans
2012-03-24 19:36:27 -07:00
41b6afb834
Port to FreeBSD.
Jason Evans
2012-02-02 22:04:57 -08:00
6da5418ded
Remove ephemeral mutexes.
Jason Evans
2012-03-23 18:05:51 -07:00
b80581d309
Forcibly disable TLS on OS X.
Jason Evans
2012-03-23 16:17:43 -07:00
9022bf9bfd
Remove -no-cpp-precomp compiler flag for OS X.
Jason Evans
2012-03-23 16:14:08 -07:00
06304a9785
Restructure atomic_*_z().
Jason Evans
2012-03-23 16:09:56 -07:00
9225a1991a
Add JEMALLOC_CC_SILENCE_INIT().
Jason Evans
2012-03-23 15:39:07 -07:00
cd9a1346e9
Implement tsd.
Jason Evans
2012-03-21 18:33:03 -07:00
154829d256
Improve zone support for OSX
Mike Hommey
2012-03-20 18:01:38 +01:00
f4d0fc310e
Unbreak mac after commit 4e2e3dd
Mike Hommey
2012-03-20 18:03:09 +01:00
650285d5be
Generalize dlsym() configuration.
Jason Evans
2012-03-19 10:25:27 -07:00
e24c7af35d
Invert NO_TLS to JEMALLOC_TLS.
Jason Evans
2012-03-19 10:21:17 -07:00
f3e139a1ef
Use AC_LINK_IFELSE() rather than AC_RUN_IFELSE() in JE_COMPILABLE().
Jason Evans
2012-03-19 09:54:20 -07:00
7091b415bb
Fix various documentation formatting regressions.
Jason Evans
2012-03-19 09:36:44 -07:00