mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-02 13:49:31 +03:00
Merge branch 'dev' into dev2
This commit is contained in:
commit
9155fe98f1
1 changed files with 0 additions and 4 deletions
|
@ -192,10 +192,6 @@ static void* mi_heap_malloc_zero_aligned_at(mi_heap_t* const heap, const size_t
|
|||
if mi_likely(is_aligned)
|
||||
{
|
||||
void* p = (zero ? _mi_page_malloc_zeroed(heap,page,padsize) : _mi_page_malloc(heap,page,padsize)); // call specific page malloc for better codegen
|
||||
#if MI_STAT>1
|
||||
mi_heap_stat_adjust_decrease(heap, malloc_requested, padsize);
|
||||
mi_heap_stat_increase(heap, malloc_requested, size);
|
||||
#endif
|
||||
mi_assert_internal(p != NULL);
|
||||
mi_assert_internal(((uintptr_t)p + offset) % alignment == 0);
|
||||
mi_track_malloc(p,size,zero);
|
||||
|
|
Loading…
Add table
Reference in a new issue