summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/arena.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/arena.h')
-rw-r--r--include/jemalloc/internal/arena.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/jemalloc/internal/arena.h b/include/jemalloc/internal/arena.h
index d6b1a2b..afa8984 100644
--- a/include/jemalloc/internal/arena.h
+++ b/include/jemalloc/internal/arena.h
@@ -232,6 +232,15 @@ struct arena_s {
void *extent_hooks_pun;
};
+ /*
+ * Next extent size class in a growing series to use when satisfying a
+ * request via the extent hooks (only if !config_munmap). This limits
+ * the number of disjoint virtual memory ranges so that extent merging
+ * can be effective even if multiple arenas' extent allocation requests
+ * are highly interleaved.
+ */
+ pszind_t extent_grow_next;
+
/* Cache of extent structures that were allocated via base_alloc(). */
ql_head(extent_t) extent_cache;
malloc_mutex_t extent_cache_mtx;