summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2016-02-24 02:27:24 (GMT)
committerJason Evans <je@fb.com>2016-02-24 02:27:24 (GMT)
commitae45142adc12d39793c45ecac4dafad5674a4591 (patch)
tree17cd54e917313f0dad211cb49aee497011ab2b6e /include
parent3417a304ccde61ac1f68b436ec22c03f1d6824ec (diff)
downloadjemalloc-ae45142adc12d39793c45ecac4dafad5674a4591.zip
jemalloc-ae45142adc12d39793c45ecac4dafad5674a4591.tar.gz
jemalloc-ae45142adc12d39793c45ecac4dafad5674a4591.tar.bz2
Collapse arena_avail_tree_* into arena_run_tree_*.
These tree types converged to become identical, yet they still had independently generated red-black tree implementations.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/arena.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/jemalloc/internal/arena.h b/include/jemalloc/internal/arena.h
index 2548082..05800e4 100644
--- a/include/jemalloc/internal/arena.h
+++ b/include/jemalloc/internal/arena.h
@@ -175,7 +175,6 @@ struct arena_chunk_map_misc_s {
arena_run_t run;
};
};
-typedef rb_tree(arena_chunk_map_misc_t) arena_avail_tree_t;
typedef rb_tree(arena_chunk_map_misc_t) arena_run_tree_t;
#endif /* JEMALLOC_ARENA_STRUCTS_A */
@@ -461,7 +460,7 @@ struct arena_s {
* Quantized address-ordered trees of this arena's available runs. The
* trees are used for first-best-fit run allocation.
*/
- arena_avail_tree_t runs_avail[1]; /* Dynamically sized. */
+ arena_run_tree_t runs_avail[1]; /* Dynamically sized. */
};
/* Used in conjunction with tsd for fast arena-related context lookup. */