summaryrefslogtreecommitdiffstats
path: root/jemalloc/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Modify pthread_create() wrapper such that isthreaded is only set once.Jason Evans2009-12-291-3/+7
|
* Handle 0-size allocation requests in posix_memalign().Jason Evans2009-12-291-2/+36
|
* Convert thread-specific caching from magazines, and implement incremental GC.Jason Evans2009-12-295-365/+769
| | | | | | | | Add the 'G'/'g' and 'H'/'h' MALLOC_OPTIONS flags. Add the malloc_tcache_flush() function. Disable thread-specific caching until the application goes multi-threaded.
* Add support for medium size classes, [4KiB..32KiB], 2KiB apart by default.Jason Evans2009-12-291-253/+436
| | | | | | | | | | | Add the 'M' and 'm' MALLOC_OPTIONS flags, which control the maximum medium size class. Relax the cap on small/medium run size to arena_maxclass. Reduce arena_run_reg_dalloc() integer division code complexity. Increase the default chunk size from 1MiB to 4MiB.
* Remove opt_dss and opt_mmap, such that if DSS allocation is enabled, both DSSJason Evans2009-12-291-65/+18
| | | | and heap allocation are always enabled.
* Streamline the fast path for magazine-based allocation/deallocation.Jason Evans2009-12-291-60/+118
|
* Remove the dynamic rebalancing code, since magazines reduce its utility.Jason Evans2009-12-292-385/+69
|
* Implement thread-aware allocation event tracing.Jason Evans2009-12-295-243/+528
|
* Add --with-jemalloc-prefix, which supports API mangling.Jason Evans2009-12-294-64/+86
| | | | Rename jemalloc_options-->malloc_options and jemalloc_message-->malloc_message.
* 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-091-3/+3
| | | | | | 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-023-1/+1398
|
* Add configure tests for CFLAGS settings.Jason Evans2009-06-302-5/+12
| | | | | | 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-261-6/+17
|
* Clean up the manpage and conditionalize various portions according to howJason Evans2009-06-263-31/+51
| | | | | | | | | | | | 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-244-350/+578
| | | | | | | | | | | | | | | | | | | | | 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.
* 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