From 2e7f6b82f4271c521d73ffadd49c121ccc9d6163 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 6 Mar 2022 09:30:35 +0300 Subject: Print objs_in_block as zero for large objects in GC_print_block_list * reclaim.c (GC_print_block_descr): Do not change n_objs to 1 if it is zero. --- reclaim.c | 1 - 1 file changed, 1 deletion(-) (limited to 'reclaim.c') diff --git a/reclaim.c b/reclaim.c index bb7905ac..9d4606eb 100644 --- a/reclaim.c +++ b/reclaim.c @@ -549,7 +549,6 @@ STATIC void GC_print_block_descr(struct hblk *h, unsigned n_marks = GC_n_set_marks(hhdr); unsigned n_objs = (unsigned)HBLK_OBJS(sz); - if (0 == n_objs) n_objs = 1; if (hhdr -> hb_n_marks != n_marks) { GC_printf("%u,%u,%u!=%u,%u\n", hhdr->hb_obj_kind, (unsigned)sz, (unsigned)hhdr->hb_n_marks, n_marks, n_objs); -- cgit v1.2.1