jemalloc/src
Jason Evans 4581b97809 Implement metadata statistics.
There are three categories of metadata:

- Base allocations are used for bootstrap-sensitive internal allocator
  data structures.
- Arena chunk headers comprise pages which track the states of the
  non-metadata pages.
- Internal allocations differ from application-originated allocations
  in that they are for internal use, and that they are omitted from heap
  profiles.

The metadata statistics comprise the metadata categories as follows:

- stats.metadata: All metadata -- base + arena chunk headers + internal
  allocations.
- stats.arenas.<i>.metadata.mapped: Arena chunk headers.
- stats.arenas.<i>.metadata.allocated: Internal allocations.  This is
  reported separately from the other metadata statistics because it
  overlaps with the allocated and active statistics, whereas the other
  metadata statistics do not.

Base allocations are not reported separately, though their magnitude can
be computed by subtracting the arena-specific metadata.

This resolves #163.
2015-01-23 23:34:43 -08:00
..
arena.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
atomic.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
base.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
bitmap.c Implement compile-time bitmap size computation. 2014-09-28 14:43:11 -07:00
chunk.c Fix an infinite recursion bug related to a0/tsd bootstrapping. 2015-01-14 16:27:31 -08:00
chunk_dss.c teach the dss chunk allocator to handle new_addr 2014-11-28 16:11:19 -08:00
chunk_mmap.c Convert to uniform style: cond == false --> !cond 2014-10-03 10:16:09 -07:00
ckh.c Style and spelling fixes. 2014-12-08 16:34:04 -08:00
ctl.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
extent.c Use JEMALLOC_INLINE_C everywhere it's appropriate. 2014-10-30 16:38:08 -07:00
hash.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
huge.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
jemalloc.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
mb.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
mutex.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
prof.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
quarantine.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
rtree.c Convert all tsd variables to reside in a single tsd structure. 2014-09-23 02:36:08 -07:00
stats.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
tcache.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
tsd.c Implement metadata statistics. 2015-01-23 23:34:43 -08:00
util.c Convert to uniform style: cond == false --> !cond 2014-10-03 10:16:09 -07:00
valgrind.c Optimize Valgrind integration. 2014-04-15 16:49:57 -07:00
zone.c Style and spelling fixes. 2014-12-08 16:34:04 -08:00