Push locks into arena bins.

For bin-related allocation, protect data structures with bin locks
rather than arena locks.  Arena locks remain for run
allocation/deallocation and other miscellaneous operations.

Restructure statistics counters to maintain per bin
allocated/nmalloc/ndalloc, but continue to provide arena-wide statistics
via aggregation in the ctl code.
9 files changed
tree: bdb7b7077b29ba5dc242ad1cef4a51ce11660e45
  1. jemalloc/
  2. .gitignore