Loading...
--- libmalloc/libmalloc-792.80.2/tests/malloc_create_purgeable_zone.c
+++ libmalloc/libmalloc-792.1.1/tests/malloc_create_purgeable_zone.c
@@ -40,7 +40,7 @@
}
T_DECL(malloc_create_purgeable_zone, "create a purgeable zone while constantly registering zones",
- T_META_TAG_ALL_ALLOCATORS,
+ T_META_TAG_XZONE,
T_META_TAG_VM_NOT_PREFERRED)
{
pthread_t zone_threads[N_ZONE_CREATION_THREADS];
@@ -62,7 +62,7 @@
T_DECL(malloc_purgeable_zone_helper,
"Test that the purgeable zone uses the default xzone as its helper",
- T_META_TAG_XZONE_ONLY, T_META_TAG_VM_PREFERRED)
+ T_META_TAG_XZONE_ONLY)
{
malloc_zone_t *purgeable_zone = malloc_default_purgeable_zone();
malloc_zone_t *default_zone = malloc_zones[0];
@@ -103,9 +103,8 @@
return state;
}
-T_DECL(malloc_purgeable_vm_size,
- "check that the size of a purgeable allocation matches the vm object size",
- T_META_TAG_ALL_ALLOCATORS, T_META_TAG_VM_PREFERRED)
+T_DECL(malloc_purgeable_vm_size, "check that the size of a purgeable allocation matches the vm object size",
+ T_META_TAG_XZONE)
{
// All allocations that come out of the purgeable zone should be a VM object,
// since we need to be able to tag it as purgeable or non-purgeable. The VM
@@ -191,7 +190,7 @@
T_DECL(purgeable_aligned_alloc,
"Make an aligned purgeable allocation smaller than the minimum purgeable size",
- T_META_TAG_ALL_ALLOCATORS, T_META_TAG_VM_PREFERRED)
+ T_META_TAG_XZONE)
{
void *ptr = malloc_zone_memalign(malloc_default_purgeable_zone(), KiB(64),
KiB(32));
@@ -201,7 +200,7 @@
}
T_DECL(purgeable_realloc, "Test reallocating pointers from the purgeable zone",
- T_META_TAG_ALL_ALLOCATORS, T_META_TAG_VM_PREFERRED)
+ T_META_TAG_XZONE)
{
// Test reallocating from the purgeable zone to the purgeable zone
void *ptr = malloc_zone_malloc(malloc_default_purgeable_zone(), KiB(64));