mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
fix bug in bitmap_forall_ranges
This commit is contained in:
parent
fdad1a0d4f
commit
adfeb1f6f2
3 changed files with 30 additions and 23 deletions
|
@ -305,6 +305,7 @@ int main(int argc, char** argv) {
|
|||
#endif
|
||||
#if !defined(NDEBUG) && !defined(USE_STD_MALLOC)
|
||||
// mi_option_set(mi_option_arena_reserve, 32 * 1024 /* in kib = 32MiB */);
|
||||
mi_option_set(mi_option_purge_delay,10);
|
||||
#endif
|
||||
#ifndef USE_STD_MALLOC
|
||||
mi_stats_reset();
|
||||
|
@ -353,8 +354,8 @@ int main(int argc, char** argv) {
|
|||
mi_debug_show_arenas(true,false,false);
|
||||
#else
|
||||
//mi_collect(true);
|
||||
//mi_debug_show_arenas(true,false,false);
|
||||
// mi_stats_print(NULL);
|
||||
mi_debug_show_arenas(true,false,false);
|
||||
mi_stats_print(NULL);
|
||||
#endif
|
||||
#else
|
||||
mi_stats_print(NULL); // so we see rss/commit/elapsed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue