mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-27 17:54:47 +03:00
subprocesses own arena's
This commit is contained in:
parent
53857ddaa3
commit
a5b7d7f264
13 changed files with 351 additions and 334 deletions
|
@ -591,7 +591,7 @@ static void mi_page_extend_free(mi_heap_t* heap, mi_page_t* page) {
|
|||
void _mi_page_init(mi_heap_t* heap, mi_page_t* page) {
|
||||
mi_assert(page != NULL);
|
||||
mi_page_set_heap(page, heap);
|
||||
page->subproc = heap->tld->subproc;
|
||||
|
||||
size_t page_size;
|
||||
uint8_t* page_start = mi_page_area(page, &page_size); MI_UNUSED(page_start);
|
||||
mi_track_mem_noaccess(page_start,page_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue