From 2609704bf7e9fd73594d65bb0204a2bb543c9395 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 30 Jun 2016 01:26:58 +0300 Subject: [PATCH] Revert "Remove redundant comments in GC_obj_kinds" This reverts commit be76fecc24a410f26ac33fb363cfb90a1ace6fca. --- mark.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mark.c b/mark.c index 8faae042..8fd08f70 100644 --- a/mark.c +++ b/mark.c @@ -47,23 +47,25 @@ GC_INNER unsigned GC_n_mark_procs = GC_RESERVED_MARK_PROCS; /* GC_init is called. */ /* It's done here, since we need to deal with mark descriptors. */ GC_INNER struct obj_kind GC_obj_kinds[MAXOBJKINDS] = { - { &GC_freelists[PTRFREE][0], 0 /* filled in dynamically */, +/* PTRFREE */ { &GC_freelists[PTRFREE][0], 0 /* filled in dynamically */, 0 | GC_DS_LENGTH, FALSE, FALSE /*, */ OK_DISCLAIM_INITZ }, - { &GC_freelists[NORMAL][0], 0, +/* NORMAL */ { &GC_freelists[NORMAL][0], 0, 0 | GC_DS_LENGTH, /* Adjusted in GC_init for EXTRA_BYTES */ TRUE /* add length to descr */, TRUE /*, */ OK_DISCLAIM_INITZ }, +/* UNCOLLECTABLE */ { &GC_freelists[UNCOLLECTABLE][0], 0, 0 | GC_DS_LENGTH, TRUE /* add length to descr */, TRUE /*, */ OK_DISCLAIM_INITZ }, # ifdef GC_ATOMIC_UNCOLLECTABLE + /* AUNCOLLECTABLE */ { &GC_freelists[AUNCOLLECTABLE][0], 0, 0 | GC_DS_LENGTH, FALSE /* add length to descr */, FALSE /*, */ OK_DISCLAIM_INITZ }, # endif # ifdef STUBBORN_ALLOC - { (void **)&GC_freelists[STUBBORN][0], 0, +/*STUBBORN*/ { (void **)&GC_freelists[STUBBORN][0], 0, 0 | GC_DS_LENGTH, TRUE /* add length to descr */, TRUE /*, */ OK_DISCLAIM_INITZ }, # endif -- 2.40.0