diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-09-26 11:22:39 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-09-26 14:19:35 +0300 |
commit | f4fcd50b0c4459f31cbac6eda9c5919f624d10d0 (patch) | |
tree | ab839a06ce3c9ce95601e6363c331aabf19318ac | |
parent | 63a085b04a73ee779ddbeb6bd8e8c1ce7256b5fe (diff) | |
download | bdwgc-f4fcd50b0c4459f31cbac6eda9c5919f624d10d0.tar.gz |
Update comment in add_to_heap about recompute of GC_collect_at_heapsize
(fix of commit 7dd88d301)
* alloc.c (GC_add_to_heap): Update comment (refer to
GC_scratch_recycle_inner instead of alloc_mark_stack).
-rw-r--r-- | alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1438,7 +1438,7 @@ STATIC void GC_add_to_heap(struct hblk *p, size_t bytes) GC_heapsize += bytes; /* Normally the caller calculates a new GC_collect_at_heapsize, - * but this is also called directly from alloc_mark_stack, so + * but this is also called directly from GC_scratch_recycle_inner, so * adjust here. It will be recalculated when called from * GC_expand_hp_inner. */ |