From: Ivan Maidanski Date: Wed, 29 Nov 2017 22:24:33 +0000 (+0300) Subject: Update comment in finalized_disclaim to match FINALIZER_CLOSURE_FLAG X-Git-Tag: v8.0.0~468 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd22c80e4d426c6d20036b0395e9128dd30de6d4;p=platform%2Fupstream%2Flibgc.git 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). --- diff --git a/fnlz_mlc.c b/fnlz_mlc.c index f08e536..16d40af 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 */