mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-27 13:33:18 +08:00
merge from dev
This commit is contained in:
parent
bb6e8616ff
commit
25ee3a5373
@ -245,7 +245,7 @@ static bool mi_page_unreset(mi_segment_t* segment, mi_page_t* page, size_t size,
|
||||
mi_assert_internal(page->is_reset);
|
||||
mi_assert_internal(page->is_committed);
|
||||
mi_assert_internal(!segment->mem_is_fixed);
|
||||
if (segment->mem_is_fixed || !page->is_committed || !page->is_reset) return;
|
||||
if (segment->mem_is_fixed || !page->is_committed || !page->is_reset) return true;
|
||||
page->is_reset = false;
|
||||
size_t psize;
|
||||
uint8_t* start = mi_segment_raw_page_start(segment, page, &psize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user