testing on arm64

This commit is contained in:
Daan Leijen 2024-12-17 00:24:32 -08:00
parent d4a2813ff8
commit 98171fd80a

View file

@ -306,6 +306,9 @@ int main(int argc, char** argv) {
#if !defined(NDEBUG) && !defined(USE_STD_MALLOC) #if !defined(NDEBUG) && !defined(USE_STD_MALLOC)
// mi_option_set(mi_option_arena_reserve, 32 * 1024 /* in kib = 32MiB */); // mi_option_set(mi_option_arena_reserve, 32 * 1024 /* in kib = 32MiB */);
#endif #endif
#if defined(NDEBUG) && !defined(USE_STD_MALLOC)
// mi_option_set(mi_option_purge_delay,-1);
#endif
#ifndef USE_STD_MALLOC #ifndef USE_STD_MALLOC
mi_stats_reset(); mi_stats_reset();
#endif #endif
@ -352,8 +355,8 @@ int main(int argc, char** argv) {
mi_collect(true); mi_collect(true);
mi_debug_show_arenas(true,false,false); mi_debug_show_arenas(true,false,false);
#else #else
mi_collect(false); // mi_collect(false);
mi_debug_show_arenas(true,false,false); // mi_debug_show_arenas(true,false,false);
// mi_stats_print(NULL); // mi_stats_print(NULL);
#endif #endif
#else #else