Loading...
--- libmalloc/libmalloc-792.60.6/tests/introspect_tests.c
+++ libmalloc/libmalloc-792.1.1/tests/introspect_tests.c
@@ -16,7 +16,7 @@
#include <../private/malloc_private.h>
#include <../src/internal.h>
-T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true), T_META_TAG_VM_PREFERRED);
+T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true));
extern int32_t malloc_num_zones;
extern malloc_zone_t **malloc_zones;
@@ -71,7 +71,7 @@
T_DECL(nano_statistics_test, "Test that we can introspect nano zone statistics",
T_META_ENVVAR("MallocNanoZone=V2"), T_META_ENVVAR("MallocProbGuard=0"),
- T_META_CHECK_LEAKS(false), T_META_TAG_ALL_ALLOCATORS)
+ T_META_CHECK_LEAKS(false))
{
#if CONFIG_NANOZONE
(void)malloc(16);
@@ -84,8 +84,9 @@
T_DECL(szone_statistics_test, "Test that we can introspect szone zone statistics",
- T_META_TAG_ALL_ALLOCATORS, T_META_ENVVAR("MallocNanoZone=0"),
- T_META_ENVVAR("MallocProbGuard=0"), T_META_CHECK_LEAKS(false))
+ T_META_TAG_VM_NOT_PREFERRED, T_META_TAG_XZONE,
+ T_META_ENVVAR("MallocNanoZone=0"), T_META_ENVVAR("MallocProbGuard=0"),
+ T_META_CHECK_LEAKS(false))
{
(void)malloc(16);
T_ASSERT_EQ(malloc_engaged_nano(), 0, "Nanozone not engaged");
@@ -103,7 +104,7 @@
T_DECL(malloc_get_all_zones,
"Test that we can retrieve the zones of our own process with a NULL reader",
- T_META_TAG_ALL_ALLOCATORS)
+ T_META_TAG_XZONE, T_META_TAG_VM_PREFERRED)
{
vm_address_t *zones;
unsigned zone_count;