Skip to content

Commit 044047f

Browse files
committed
Remove fragile xallocx() test case.
In addition to depending on map coalescing, the test depended on munmap() being disabled so that chunk recycling would always succeed.
1 parent d36c7eb commit 044047f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/integration/xallocx.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -444,20 +444,11 @@ TEST_END
444444
TEST_BEGIN(test_zero_huge)
445445
{
446446
size_t huge0, huge1;
447-
static const bool maps_coalesce =
448-
#ifdef JEMALLOC_MAPS_COALESCE
449-
true
450-
#else
451-
false
452-
#endif
453-
;
454447

455448
/* Get size classes. */
456449
huge0 = get_huge_size(0);
457450
huge1 = get_huge_size(1);
458451

459-
if (maps_coalesce)
460-
test_zero(huge0, huge0 * 4);
461452
test_zero(huge1, huge0 * 2);
462453
}
463454
TEST_END

0 commit comments

Comments
 (0)