mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-02 01:34:38 +03:00
don't reset stats at process start so page_map commit is included
This commit is contained in:
parent
948c568665
commit
befe57f3e7
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue