label malloc slab region gaps

pull/87/head
Daniel Micay 2019-03-23 22:54:21 -04:00
parent 1d62075291
commit 6e67106882
1 changed files with 1 additions and 0 deletions

View File

@ -1009,6 +1009,7 @@ COLD static void init_slow_path(void) {
fatal_error("failed to allocate slab region"); fatal_error("failed to allocate slab region");
} }
ro.slab_region_end = (char *)slab_region_start + slab_region_size; 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; ro.size_class_metadata = allocator_state->size_class_metadata;
for (unsigned class = 0; class < N_SIZE_CLASSES; class++) { for (unsigned class = 0; class < N_SIZE_CLASSES; class++) {