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.
This commit is contained in:
parent
d36c7ebb00
commit
044047fae1
@ -444,20 +444,11 @@ TEST_END
|
|||||||
TEST_BEGIN(test_zero_huge)
|
TEST_BEGIN(test_zero_huge)
|
||||||
{
|
{
|
||||||
size_t huge0, huge1;
|
size_t huge0, huge1;
|
||||||
static const bool maps_coalesce =
|
|
||||||
#ifdef JEMALLOC_MAPS_COALESCE
|
|
||||||
true
|
|
||||||
#else
|
|
||||||
false
|
|
||||||
#endif
|
|
||||||
;
|
|
||||||
|
|
||||||
/* Get size classes. */
|
/* Get size classes. */
|
||||||
huge0 = get_huge_size(0);
|
huge0 = get_huge_size(0);
|
||||||
huge1 = get_huge_size(1);
|
huge1 = get_huge_size(1);
|
||||||
|
|
||||||
if (maps_coalesce)
|
|
||||||
test_zero(huge0, huge0 * 4);
|
|
||||||
test_zero(huge1, huge0 * 2);
|
test_zero(huge1, huge0 * 2);
|
||||||
}
|
}
|
||||||
TEST_END
|
TEST_END
|
||||||
|
Loading…
Reference in New Issue
Block a user