summaryrefslogtreecommitdiff
path: root/fnlz_mlc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-11-30 01:24:33 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-11-30 01:24:33 +0300
commitcd22c80e4d426c6d20036b0395e9128dd30de6d4 (patch)
tree0ede8274e062cd7e526967048ac41b1f71791e26 /fnlz_mlc.c
parentd27007c5d8fcad61643b6c8725cccdf0bfd7d7d0 (diff)
downloadbdwgc-cd22c80e4d426c6d20036b0395e9128dd30de6d4.tar.gz
Update comment in finalized_disclaim to match FINALIZER_CLOSURE_FLAG
(fix commit 012da3f) * fnlz_mlc.c [ENABLE_DISCLAIM] (GC_finalized_disclaim): Update/refine comment (about the lowest 2 bits of the first word).
Diffstat (limited to 'fnlz_mlc.c')
-rw-r--r--fnlz_mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnlz_mlc.c b/fnlz_mlc.c
index f08e5360..16d40af7 100644
--- a/fnlz_mlc.c
+++ b/fnlz_mlc.c
@@ -36,7 +36,7 @@ STATIC int GC_CALLBACK GC_finalized_disclaim(void *obj)
/* The disclaim function may be passed fragments from the */
/* free-list, on which it should not run finalization. */
/* To recognize this case, we use the fact that the first word */
- /* on such fragments are always even (a link to the next */
+ /* on such fragments is always multiple of 4 (a link to the next */
/* fragment, or NULL). If it is desirable to have a finalizer */
/* which does not use the first word for storing finalization */
/* info, GC_reclaim_with_finalization must be extended to clear */