summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/cache_bin.h
Commit message (Collapse)AuthorAgeFilesLines
* refactor tcache_dalloc_smallDave Watson2018-11-121-2/+14
| | | | | | Add a cache_bin_dalloc_easy (to match the alloc_easy function), and use it in tcache_dalloc_small. It will also be used in the new free fastpath.
* Remove a branch from cache_bin_alloc_easyDave Watson2018-10-151-10/+15
| | | | | Combine the branches for checking for an empty cache_bin, and checking for the low watermark.
* Rename cache_alloc_easy to cache_bin_alloc_easy.David T. Goldblatt2017-12-191-1/+1
| | | | This lives in the cache_bin module; just a typo.
* Document the ialloc function abbreviations.David Goldblatt2017-08-171-1/+1
| | | | | In the jemalloc_internal_inlines files, we have a lot of somewhat terse function names. This commit adds some documentation to aid in translation.
* Make arena stats collection go through cache bins.David Goldblatt2017-08-171-1/+33
| | | | | | This eliminates the need for the arena stats code to "know" about tcaches; all that it needs is a cache_bin_array_descriptor_t to tell it where to find cache_bins whose stats it should aggregate.
* Pull out caching for a bin into its own file.David Goldblatt2017-08-171-0/+82
This is the first step towards breaking up the tcache and arena (since they interact primarily at the bin level). It should also make a future arena caching implementation more straightforward.