diff options
author | Daan <daanl@outlook.com> | 2022-02-02 16:17:21 -0800 |
---|---|---|
committer | Daan <daanl@outlook.com> | 2022-02-02 16:17:21 -0800 |
commit | bd2ac3c92e3e00ec02b09081a7678478b42abf65 (patch) | |
tree | b37cfc15064da05035990acaf4373b0e1201b969 /test | |
parent | 05aa7648bbfea20b9c26d92d392849cf29d886fa (diff) |
collect segment cache on mi_collect
Diffstat (limited to 'test')
-rw-r--r-- | test/test-stress.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test-stress.c b/test/test-stress.c index 100c6d6..ff5fffe 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -189,11 +189,13 @@ static void test_stress(void) { free_items(p); } } + #ifndef NDEBUG //mi_collect(false); - //mi_debug_show_arenas(); -#if !defined(NDEBUG) || defined(MI_TSAN) + //mi_debug_show_arenas(); + #endif + #if !defined(NDEBUG) || defined(MI_TSAN) if ((n + 1) % 10 == 0) { printf("- iterations left: %3d\n", ITER - (n + 1)); } -#endif + #endif } } |