mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-21 12:26:21 +03:00
Refactor chunk map.
Break the chunk map into two separate arrays, in order to improve cache locality. This is related to issue #23.
This commit is contained in:
parent
f34f6037e8
commit
ff6a31d3b9
7 changed files with 186 additions and 149 deletions
|
|
@ -28,6 +28,7 @@ size_t chunksize;
|
|||
size_t chunksize_mask; /* (chunksize - 1). */
|
||||
size_t chunk_npages;
|
||||
size_t map_bias;
|
||||
size_t map_misc_offset;
|
||||
size_t arena_maxclass; /* Max size class for arenas. */
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue