summaryrefslogtreecommitdiffstats
path: root/src/arena.c
Commit message (Expand)AuthorAgeFilesLines
* Convert to uniform style: cond == false --> !condJason Evans2014-10-031-14/+14
* Move small run metadata into the arena chunk header.Jason Evans2014-09-291-194/+153
* Convert all tsd variables to reside in a single tsd structure.Jason Evans2014-09-231-9/+14
* Apply likely()/unlikely() to allocation/deallocation fast paths.Jason Evans2014-09-121-14/+14
* Optimize [nmd]alloc() fast paths.Jason Evans2014-09-071-1/+1
* Refactor chunk map.Qinfan Wu2014-09-051-99/+109
* Fix and refactor runs_dirty-based purging.Jason Evans2014-08-141-104/+80
* arena->npurgatory is no longer needed since we drop arena's lockQinfan Wu2014-08-121-12/+3
* Remove chunks_dirty tree, nruns_avail and nruns_adjac since we noQinfan Wu2014-08-121-177/+10
* Purge dirty pages from the beginning of the dirty list.Qinfan Wu2014-08-121-165/+70
* Add dirty page counting for debugQinfan Wu2014-08-121-4/+29
* Maintain all the dirty runs in a linked list for each arenaQinfan Wu2014-08-121-0/+47
* Fix the cactive statistic.Jason Evans2014-08-071-3/+3
* Reintroduce the comment that was removed in f9ff603.Qinfan Wu2014-08-061-1/+5
* Fix the bug that causes not allocating free run with lowest address.Qinfan Wu2014-08-061-3/+7
* Try to use __builtin_ffsl if ffsl is unavailable.Richard Diamond2014-06-021-1/+1
* Add size class computation capability.Jason Evans2014-05-291-29/+33
* Refactor huge allocation to be managed by arenas.Jason Evans2014-05-161-14/+99
* Add support for user-specified chunk allocators/deallocators.aravind2014-05-121-3/+5
* Refactor small_size2bin and small_bin2size.Jason Evans2014-04-171-9/+9
* Merge pull request #73 from bmaurer/smallmallocJason Evans2014-04-161-1/+9
|\
| * Create a const array with only a small bin to size mapBen Maurer2014-04-161-1/+9
* | Optimize Valgrind integration.Jason Evans2014-04-151-14/+14
* | Make dss non-optional, and fix an "arena.<i>.dss" mallctl bug.Jason Evans2014-04-151-1/+4
|/
* Remove support for non-prof-promote heap profiling metadata.Jason Evans2014-04-111-21/+0
* refactoring for bits splittingBen Maurer2014-04-101-36/+40
* Fix a crashing case where arena_chunk_init_hard returns NULL.Chris Pride2014-03-261-1/+4
* Fix typoErwan Legrand2014-02-141-1/+0
* Refactor overly large/complex functions.Jason Evans2014-01-151-383/+461
* Extract profiling code from [re]allocation functions.Jason Evans2014-01-121-7/+6
* Add junk/zero filling unit tests, and fix discovered bugs.Jason Evans2014-01-081-17/+67
* Add quarantine unit tests.Jason Evans2013-12-171-12/+54
* Don't junk-fill reallocations unless usize changes.Jason Evans2013-12-161-12/+3
* Implement the *allocx() API.Jason Evans2013-12-131-3/+3
* Remove unnecessary zeroing in arena_palloc().Jason Evans2013-10-301-43/+73
* Fix a Valgrind integration flaw.Jason Evans2013-10-201-5/+18
* Fix a Valgrind integration flaw.Jason Evans2013-10-201-7/+14
* Fix a prof-related locking order bug.Jason Evans2013-02-061-5/+8
* Fix Valgrind integration.Jason Evans2013-02-011-7/+8
* Tighten valgrind integration.Jason Evans2013-01-221-22/+28
* Avoid arena_prof_accum()-related locking when possible.Jason Evans2012-11-131-24/+3
* Tweak chunk purge order according to fragmentation.Jason Evans2012-11-071-11/+34
* Purge unused dirty pages in a fragmentation-reducing order.Jason Evans2012-11-061-191/+307
* Add arena-specific and selective dss allocation.Jason Evans2012-10-131-54/+80
* Fix mlockall()/madvise() interaction.Jason Evans2012-10-091-30/+20
* Update a comment.Jason Evans2012-05-161-1/+1
* Fix large calloc() zeroing bugs.Jason Evans2012-05-111-25/+18
* Add arena chunk map assertions.Jason Evans2012-05-111-15/+30
* Refactor arena_run_alloc().Jason Evans2012-05-111-34/+24
* Further optimize and harden arena_salloc().Jason Evans2012-05-021-4/+5