mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-13 16:36:21 +03:00
Refactor overly large/complex functions.
Refactor overly large functions by breaking out helper functions. Refactor overly complex multi-purpose functions into separate more specific functions.
This commit is contained in:
parent
b2c31660be
commit
aa5113b1fd
2 changed files with 535 additions and 456 deletions
|
|
@ -158,6 +158,7 @@ struct arena_chunk_map_s {
|
|||
};
|
||||
typedef rb_tree(arena_chunk_map_t) arena_avail_tree_t;
|
||||
typedef rb_tree(arena_chunk_map_t) arena_run_tree_t;
|
||||
typedef ql_head(arena_chunk_map_t) arena_chunk_mapelms_t;
|
||||
|
||||
/* Arena chunk header. */
|
||||
struct arena_chunk_s {
|
||||
|
|
|
|||
990
src/arena.c
990
src/arena.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue