mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-08 00:09:31 +03:00
testing on arm64
This commit is contained in:
parent
d4a2813ff8
commit
98171fd80a
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue