mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-01 17:24:38 +03:00
merge 3b567b1
to track pages statistics correctly
This commit is contained in:
parent
6c2cfd7830
commit
ed474ce525
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ static void mi_heap_collect_ex(mi_heap_t* heap, mi_collect_t collect)
|
|||
_mi_arenas_collect(collect == MI_FORCE /* force purge? */, collect >= MI_FORCE /* visit all? */, heap->tld);
|
||||
|
||||
// merge statistics
|
||||
_mi_stats_merge_thread(heap->tld);
|
||||
if (collect <= MI_FORCE) { _mi_stats_merge_thread(heap->tld); }
|
||||
}
|
||||
|
||||
void _mi_heap_collect_abandon(mi_heap_t* heap) {
|
||||
|
|
Loading…
Add table
Reference in a new issue