From: Ivan Maidanski Date: Wed, 29 Jun 2016 22:26:58 +0000 (+0300) Subject: Revert "Remove redundant comments in GC_obj_kinds" X-Git-Tag: gc7_6_0~25^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2609704bf7e9fd73594d65bb0204a2bb543c9395;p=gc Revert "Remove redundant comments in GC_obj_kinds" This reverts commit be76fecc24a410f26ac33fb363cfb90a1ace6fca. --- 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