summaryrefslogtreecommitdiffstats
path: root/jemalloc/src/mutex.c
Commit message (Collapse)AuthorAgeFilesLines
* Use OSSpinLock*() for locking on OS X.Jason Evans2011-03-191-0/+6
| | | | | | pthread_mutex_lock() can call malloc() on OS X (!!!), which causes deadlock. Work around this by using spinlocks that are built of more primitive stuff.
* Make cumulative heap profile data optional.Jason Evans2010-10-031-0/+10
| | | | | | | | Add the R option to control whether cumulative heap profile data are maintained. Add the T option to control the size of per thread backtrace caches, primarily because when the R option is specified, backtraces that no longer have allocations associated with them are discarded as soon as no thread caches refer to them.
* Port to Mac OS X.Jason Evans2010-09-121-0/+4
| | | | | Add Mac OS X support, based in large part on the OS X support in Mozilla's version of jemalloc.
* Simplify malloc_message().Jason Evans2010-03-041-3/+2
| | | | | Rather than passing four strings to malloc_message(), malloc_write4(), and all the functions that use them, only pass one string.
* Restructure source tree.Jason Evans2010-02-111-0/+71