summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-04-22 15:32:27 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-04-28 22:18:14 +0300
commitafb7f57b449359157a45c8b15ac6315482a46f70 (patch)
treed6f07d9d4471879b207d0592f0c5684d4835b97b
parent116e4a1088c98d63a9dc91569ec4cdb933ec4679 (diff)
downloadbdwgc-afb7f57b449359157a45c8b15ac6315482a46f70.tar.gz
Fix old function name in comment of GC_finalized_disclaim
(fix of commit 6c1a92445) * fnlz_mlc.c [ENABLE_DISCLAIM] (GC_finalized_disclaim): Fix old function name in comment ("GC_disclaim_and_reclaim").
-rw-r--r--fnlz_mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnlz_mlc.c b/fnlz_mlc.c
index bab06fe6..ec3cf797 100644
--- a/fnlz_mlc.c
+++ b/fnlz_mlc.c
@@ -45,7 +45,7 @@ STATIC int GC_CALLBACK GC_finalized_disclaim(void *obj)
/* 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 */
+ /* info, GC_disclaim_and_reclaim() must be extended to clear */
/* fragments so that the assumption holds for the selected word. */
const struct GC_finalizer_closure *fc
= (void *)(fc_word & ~(word)FINALIZER_CLOSURE_FLAG);