Move bin initialization from arena module to bin module.
This commit is contained in:
committed by
David Goldblatt
parent
4bf4a1c4ea
commit
a8dd8876fb
@@ -78,4 +78,7 @@ struct bin_s {
|
||||
malloc_bin_stats_t stats;
|
||||
};
|
||||
|
||||
/* Returns true on error. */
|
||||
bool bin_init(bin_t *bin);
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_BIN_H */
|
||||
|
@@ -51,7 +51,7 @@
|
||||
#define WITNESS_RANK_ARENA_LARGE 19U
|
||||
|
||||
#define WITNESS_RANK_LEAF 0xffffffffU
|
||||
#define WITNESS_RANK_ARENA_BIN WITNESS_RANK_LEAF
|
||||
#define WITNESS_RANK_BIN WITNESS_RANK_LEAF
|
||||
#define WITNESS_RANK_ARENA_STATS WITNESS_RANK_LEAF
|
||||
#define WITNESS_RANK_DSS WITNESS_RANK_LEAF
|
||||
#define WITNESS_RANK_PROF_ACTIVE WITNESS_RANK_LEAF
|
||||
|
Reference in New Issue
Block a user