don't reset stats at process start so page_map commit is included

This commit is contained in:
daanx 2025-05-21 16:50:30 -07:00
parent 948c568665
commit befe57f3e7

View file

@ -725,7 +725,7 @@ void mi_process_init(void) mi_attr_noexcept {
_mi_prim_thread_associate_default_heap(NULL);
#endif
mi_stats_reset(); // only call stat reset *after* thread init (or the heap tld == NULL)
// mi_stats_reset(); // only call stat reset *after* thread init (or the heap tld == NULL)
mi_track_init();
if (mi_option_is_enabled(mi_option_reserve_huge_os_pages)) {