mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 00:23:33 +03:00
Edata: Add a ranged bit.
We steal the dumpable bit, which we ended up not needing.
This commit is contained in:
parent
bd4fdf295e
commit
12eb888e54
6 changed files with 38 additions and 47 deletions
|
|
@ -246,11 +246,11 @@ emap_split_prepare(tsdn_t *tsdn, emap_t *emap, emap_prepare_t *prepare,
|
|||
(void *)((uintptr_t)edata_base_get(edata) + size_a), size_b,
|
||||
slab_b, szind_b, edata_sn_get(edata), edata_state_get(edata),
|
||||
edata_zeroed_get(edata), edata_committed_get(edata),
|
||||
edata_dumpable_get(edata), EXTENT_NOT_HEAD);
|
||||
edata_ranged_get(edata), EXTENT_NOT_HEAD);
|
||||
|
||||
/*
|
||||
* We use incorrect constants for things like arena ind, zero, dump, and
|
||||
* commit state, and head status. This is a fake edata_t, used to
|
||||
* We use incorrect constants for things like arena ind, zero, ranged,
|
||||
* and commit state, and head status. This is a fake edata_t, used to
|
||||
* facilitate a lookup.
|
||||
*/
|
||||
edata_t lead;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue