summaryrefslogtreecommitdiffstats
path: root/jemalloc
Commit message (Collapse)AuthorAgeFilesLines
...
* Use __restrict rather than restrict.Jason Evans2009-12-291-4/+5
|
* Make sure that there are no more than 256 size clases, since size2bin can onlyJason Evans2009-11-131-0/+11
| | | | encode bin indices in [0..255].
* Integrate architecture portability fixes.Jason Evans2009-11-091-1/+4
| | | | Submitted by: Ingvar Hagelund
* Fix configure docs (--enable-lazy-lock --> --disable-lazy-lock).Jason Evans2009-11-092-4/+4
| | | | | | Fix some style nits. Ignore the jemalloc/bin directory.
* _pt_thread_death_internal(), which is part of Linux's nptl pthreadsJason Evans2009-11-091-9/+22
| | | | | | | implementation, calls free() after calling TSD destructors. This was causing a crash during thread exit, since the magazine rack was no longer valid for the thread. Fix this by using a special mag_rack value to indicate that deallocation should bypass the magazine machinery.
* Modify chunk_alloc_mmap() to support address space layout randomization (ASLR).Jason Evans2009-11-091-51/+100
|
* Update assertions in realloc() and free() to allow for deallocation duringJason Evans2009-11-091-4/+6
| | | | initializtion.
* Integrate mtrgraph and mtrplay.Jason Evans2009-07-025-2/+1441
|
* Add configure tests for CFLAGS settings.Jason Evans2009-06-303-21/+90
| | | | | | Add configure test for __asm__ syntax. Add configure test for __attribute__ syntax.
* Fix various compiler warnings.Jason Evans2009-06-291-17/+9
| | | | Reported by: Mark Rabkin
* Minor documentation and comment cleanups.Jason Evans2009-06-262-7/+18
|
* Clean up the manpage and conditionalize various portions according to howJason Evans2009-06-268-229/+469
| | | | | | | | | | | | jemalloc is configured. Modify arena_malloc() API to avoid unnecessary choose_arena() calls. Remove unnecessary code from choose_arena(). Enable lazy-lock by default, now that choose_arena() is both faster and out of the critical path. Implement objdir support in the build system.
* Implement configuration system.Jason Evans2009-06-2413-350/+4448
| | | | | | | | | | | | | | | | | | | | | Implement minimal Makefile. Make compile-time-optional jemalloc features controllable via configure options (debug, stats, tiny, mag, balance, dss). Conditionally exclude most of the opt_* run-time options, based on configure options (fill, xmalloc, sysv). Implement optional --enable-dynamic-page-shift. Implement optional --enable-lazy-lock. Re-order malloc_init_hard() and use the malloc_initializer variable to support recursive allocation in malloc_ncpus(). Add mag_rack_tsd in order to receive notifications of thread termination. Add jemalloc.h.
* Merge FreeBSD's malloc(3) and posix_memalign(3) manpages to create jemalloc(3).Jason Evans2009-06-231-0/+589
|
* Fix various namespace issues.Jason Evans2009-06-231-77/+99
|
* Merge code from the original jemalloc_linux port.Jason Evans2009-06-221-169/+264
|
* Import pristine FreeBSD sources.Jason Evans2009-06-222-0/+6537