initial work on a two-level page-map

This commit is contained in:
daanx 2024-12-21 23:08:52 -08:00
parent 1e2221f512
commit 56cbddfc7e
4 changed files with 206 additions and 13 deletions

View file

@ -302,8 +302,8 @@ int main(int argc, char** argv) {
mi_option_enable(mi_option_visit_abandoned);
#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);
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();