summaryrefslogtreecommitdiffstats
path: root/memory/build/mozjemalloc_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory/build/mozjemalloc_types.h')
-rw-r--r--memory/build/mozjemalloc_types.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/memory/build/mozjemalloc_types.h b/memory/build/mozjemalloc_types.h
index 1aff0789d2..5f8872ff40 100644
--- a/memory/build/mozjemalloc_types.h
+++ b/memory/build/mozjemalloc_types.h
@@ -110,16 +110,17 @@ typedef struct {
size_t dirty_max; // Max dirty pages per arena.
// Current memory usage statistics.
- size_t mapped; // Bytes mapped (not necessarily committed).
- size_t allocated; // Bytes allocated (committed, in use by application).
- size_t waste; // Bytes committed, not in use by the
- // application, and not intentionally left
- // unused (i.e., not dirty).
- size_t page_cache; // Committed, unused pages kept around as a
- // cache. (jemalloc calls these "dirty".)
- size_t bookkeeping; // Committed bytes used internally by the
- // allocator.
- size_t bin_unused; // Bytes committed to a bin but currently unused.
+ size_t mapped; // Bytes mapped (not necessarily committed).
+ size_t allocated; // Bytes allocated (committed, in use by application).
+ size_t waste; // Bytes committed, not in use by the
+ // application, and not intentionally left
+ // unused (i.e., not dirty).
+ size_t pages_dirty; // Committed, unused pages kept around as a cache.
+ size_t pages_fresh; // Unused pages that have never been touched.
+ size_t pages_madvised; // Unsed pages we told the kernel we don't need.
+ size_t bookkeeping; // Committed bytes used internally by the
+ // allocator.
+ size_t bin_unused; // Bytes committed to a bin but currently unused.
} jemalloc_stats_t;
typedef struct {