summaryrefslogtreecommitdiffstats
path: root/jemalloc/src/chunk.c
Commit message (Collapse)AuthorAgeFilesLines
* Use mremap(2) for huge realloc().Jason Evans2010-12-011-5/+5
| | | | | | | | | | If mremap(2) is available and supports MREMAP_FIXED, use it for huge realloc(). Initialize rtree later during bootstrapping, so that --enable-debug --enable-dss works. Fix a minor swap_avail stats bug.
* Replace JEMALLOC_OPTIONS with MALLOC_CONF.Jason Evans2010-10-241-5/+5
| | | | | | | | | | | Replace the single-character run-time flags with key/value pairs, which can be set via the malloc_conf global, /etc/malloc.conf, and the MALLOC_CONF environment variable. Replace the JEMALLOC_PROF_PREFIX environment variable with the "opt.prof_prefix" option. Replace umax2s() with u2s().
* Omit chunk header in arena chunk map.Jason Evans2010-10-021-1/+1
| | | | | | Omit the first map_bias elements of the map in arena_chunk_t. This avoids barely spilling over into an extra chunk header page for common chunk sizes.
* Port to Mac OS X.Jason Evans2010-09-121-3/+24
| | | | | Add Mac OS X support, based in large part on the OS X support in Mozilla's version of jemalloc.
* Restructure source tree.Jason Evans2010-02-111-0/+150