mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-23 21:36:22 +03:00
Move bin initialization from arena module to bin module.
This commit is contained in:
parent
4bf4a1c4ea
commit
a8dd8876fb
4 changed files with 21 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue