mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
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
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue