mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-08 00:09:31 +03:00
fix link error in debug mode in test
This commit is contained in:
parent
8a036ee2b0
commit
a1cb38b70e
1 changed files with 2 additions and 0 deletions
|
@ -261,7 +261,9 @@ static void test_stress(void) {
|
||||||
#if !defined(NDEBUG) || defined(MI_TSAN)
|
#if !defined(NDEBUG) || defined(MI_TSAN)
|
||||||
if ((n + 1) % 10 == 0) {
|
if ((n + 1) % 10 == 0) {
|
||||||
printf("- iterations left: %3d\n", ITER - (n + 1));
|
printf("- iterations left: %3d\n", ITER - (n + 1));
|
||||||
|
#ifndef USE_STD_MALLOC
|
||||||
mi_debug_show_arenas();
|
mi_debug_show_arenas();
|
||||||
|
#endif
|
||||||
//mi_collect(true);
|
//mi_collect(true);
|
||||||
//mi_debug_show_arenas();
|
//mi_debug_show_arenas();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue