mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
fix aligned_ensured bug, trie inc bug, stats in the OS module
This commit is contained in:
parent
10a29f17c8
commit
158705815e
2 changed files with 22 additions and 25 deletions
|
@ -391,6 +391,9 @@ void _mi_page_retire(mi_page_t* page) {
|
|||
static void mi_page_free_list_extend( mi_heap_t* heap, mi_page_t* page, size_t extend, mi_stats_t* stats)
|
||||
{
|
||||
UNUSED(stats);
|
||||
mi_assert_internal(page->free == NULL);
|
||||
mi_assert_internal(page->local_free == NULL);
|
||||
mi_assert_internal(page->capacity + extend <= page->reserved);
|
||||
void* page_area = _mi_page_start(_mi_page_segment(page), page, NULL );
|
||||
size_t bsize = page->block_size;
|
||||
mi_block_t* start = mi_page_block_at(page, page_area, page->capacity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue