]> granicus.if.org Git - gc/commit
Bump GC_collect_at_heapsize in GC_add_to_heap. In the normal case it is
authorAndrew Horton <andrew.j.horton@gmail.com>
Sun, 15 Dec 2013 15:55:04 +0000 (15:55 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 2 May 2014 20:03:55 +0000 (00:03 +0400)
commit5f8f10438297f59b9d747665d6b9b17e377dbe3d
treee8974622ff5cf8ecff810a136415489919fd0e8a
parent02b2997d8d74ba18359a37e79d103c0d246056e7
Bump GC_collect_at_heapsize in GC_add_to_heap. In the normal case it is
recalculated straight after. But in the case where it's called directly
from alloc_mark_stack, it isn't. If the mark stack gets very large,
this can cause GC_should_collect to always return true, and
GC_alloc_large to get stuck in a loop calling GC_collect_or_expand.
alloc.c