Loading...
--- libmalloc/libmalloc-792.80.2/tests/xzone_segment_tests.c
+++ libmalloc/libmalloc-792.1.1/tests/xzone_segment_tests.c
@@ -2,12 +2,9 @@
#include "xzone_testing.h"
-T_GLOBAL_META(T_META_RUN_CONCURRENTLY(TRUE), T_META_TAG_VM_PREFERRED,
- T_META_TAG_NO_ALLOCATOR_OVERRIDE);
-
#if CONFIG_XZONE_MALLOC && CONFIG_VM_USER_RANGES
-#include "../src/xzone_malloc/xzone_segment.c"
+#include "../src/xzone/xzone_segment.c"
struct ptr_range_test {
const char *desc;
@@ -53,10 +50,9 @@
{
uintptr_t last_allocated = 0;
uint64_t total_allocated = 0;
- bool warn_on_exhaustion = true;
while (true) {
uintptr_t addr = _xzm_range_group_bump_alloc_segment(rg,
- XZM_SEGMENT_SIZE, warn_on_exhaustion);
+ XZM_SEGMENT_SIZE);
if (!addr) {
T_EXPECT_GE(total_allocated, (XZM_POINTER_RANGE_SIZE / 2) - MiB(16),
"allocated at least expected amount");