From 6e67106882039f677a22ab18e55952c7880e67bd Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 23 Mar 2019 22:54:21 -0400 Subject: [PATCH] label malloc slab region gaps --- h_malloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/h_malloc.c b/h_malloc.c index e7f25c5..c42fd60 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -1009,6 +1009,7 @@ COLD static void init_slow_path(void) { fatal_error("failed to allocate slab region"); } ro.slab_region_end = (char *)slab_region_start + slab_region_size; + memory_set_name(slab_region_start, slab_region_size, "malloc slab region gap"); ro.size_class_metadata = allocator_state->size_class_metadata; for (unsigned class = 0; class < N_SIZE_CLASSES; class++) {