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:
Jason Evans 2015-09-24 19:52:28 -07:00
parent d36c7ebb00
commit 044047fae1

View File

@ -444,20 +444,11 @@ TEST_END
TEST_BEGIN(test_zero_huge)
{
size_t huge0, huge1;
static const bool maps_coalesce =
#ifdef JEMALLOC_MAPS_COALESCE
true
#else
false
#endif
;
/* Get size classes. */
huge0 = get_huge_size(0);
huge1 = get_huge_size(1);
if (maps_coalesce)
test_zero(huge0, huge0 * 4);
test_zero(huge1, huge0 * 2);
}
TEST_END