mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
add heap tag to area descriptor
This commit is contained in:
parent
8b7b3e3754
commit
98058eed14
2 changed files with 2 additions and 0 deletions
|
@ -258,6 +258,7 @@ typedef struct mi_heap_area_s {
|
|||
size_t used; // number of allocated blocks
|
||||
size_t block_size; // size in bytes of each block
|
||||
size_t full_block_size; // size in bytes of a full block including padding and metadata.
|
||||
int heap_tag; // heap tag associated with this area
|
||||
} mi_heap_area_t;
|
||||
|
||||
typedef bool (mi_cdecl mi_block_visit_fun)(const mi_heap_t* heap, const mi_heap_area_t* area, void* block, size_t block_size, void* arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue