Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Modify pthread_create() wrapper such that isthreaded is only set once. | Jason Evans | 2009-12-29 | 1 | -3/+7 | |
| | ||||||
* | Handle 0-size allocation requests in posix_memalign(). | Jason Evans | 2009-12-29 | 1 | -2/+36 | |
| | ||||||
* | Convert thread-specific caching from magazines, and implement incremental GC. | Jason Evans | 2009-12-29 | 5 | -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 Evans | 2009-12-29 | 1 | -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 DSS | Jason Evans | 2009-12-29 | 1 | -65/+18 | |
| | | | | and heap allocation are always enabled. | |||||
* | Streamline the fast path for magazine-based allocation/deallocation. | Jason Evans | 2009-12-29 | 1 | -60/+118 | |
| | ||||||
* | Remove the dynamic rebalancing code, since magazines reduce its utility. | Jason Evans | 2009-12-29 | 2 | -385/+69 | |
| | ||||||
* | Implement thread-aware allocation event tracing. | Jason Evans | 2009-12-29 | 5 | -243/+528 | |
| | ||||||
* | Add --with-jemalloc-prefix, which supports API mangling. | Jason Evans | 2009-12-29 | 4 | -64/+86 | |
| | | | | Rename jemalloc_options-->malloc_options and jemalloc_message-->malloc_message. | |||||
* | Use __restrict rather than restrict. | Jason Evans | 2009-12-29 | 1 | -4/+5 | |
| | ||||||
* | Make sure that there are no more than 256 size clases, since size2bin can only | Jason Evans | 2009-11-13 | 1 | -0/+11 | |
| | | | | encode bin indices in [0..255]. | |||||
* | Integrate architecture portability fixes. | Jason Evans | 2009-11-09 | 1 | -1/+4 | |
| | | | | Submitted by: Ingvar Hagelund | |||||
* | Fix configure docs (--enable-lazy-lock --> --disable-lazy-lock). | Jason Evans | 2009-11-09 | 1 | -3/+3 | |
| | | | | | | Fix some style nits. Ignore the jemalloc/bin directory. | |||||
* | _pt_thread_death_internal(), which is part of Linux's nptl pthreads | Jason Evans | 2009-11-09 | 1 | -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 Evans | 2009-11-09 | 1 | -51/+100 | |
| | ||||||
* | Update assertions in realloc() and free() to allow for deallocation during | Jason Evans | 2009-11-09 | 1 | -4/+6 | |
| | | | | initializtion. | |||||
* | Integrate mtrgraph and mtrplay. | Jason Evans | 2009-07-02 | 3 | -1/+1398 | |
| | ||||||
* | Add configure tests for CFLAGS settings. | Jason Evans | 2009-06-30 | 2 | -5/+12 | |
| | | | | | | Add configure test for __asm__ syntax. Add configure test for __attribute__ syntax. | |||||
* | Fix various compiler warnings. | Jason Evans | 2009-06-29 | 1 | -17/+9 | |
| | | | | Reported by: Mark Rabkin | |||||
* | Minor documentation and comment cleanups. | Jason Evans | 2009-06-26 | 1 | -6/+17 | |
| | ||||||
* | Clean up the manpage and conditionalize various portions according to how | Jason Evans | 2009-06-26 | 3 | -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 Evans | 2009-06-24 | 4 | -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 Evans | 2009-06-23 | 1 | -77/+99 | |
| | ||||||
* | Merge code from the original jemalloc_linux port. | Jason Evans | 2009-06-22 | 1 | -169/+264 | |
| | ||||||
* | Import pristine FreeBSD sources. | Jason Evans | 2009-06-22 | 2 | -0/+6537 | |