mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-01-15 09:38:00 +08:00
parent
ccf117c43d
commit
1f8138a4dc
@ -530,7 +530,7 @@ static bool mi_heap_visit_areas_page(mi_heap_t* heap, mi_page_queue_t* pq, mi_pa
|
|||||||
xarea.area.reserved = page->reserved * bsize;
|
xarea.area.reserved = page->reserved * bsize;
|
||||||
xarea.area.committed = page->capacity * bsize;
|
xarea.area.committed = page->capacity * bsize;
|
||||||
xarea.area.blocks = _mi_page_start(_mi_page_segment(page), page, NULL);
|
xarea.area.blocks = _mi_page_start(_mi_page_segment(page), page, NULL);
|
||||||
xarea.area.used = page->used;
|
xarea.area.used = page->used * bsize;
|
||||||
xarea.area.block_size = bsize;
|
xarea.area.block_size = bsize;
|
||||||
return fun(heap, &xarea, arg);
|
return fun(heap, &xarea, arg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user