mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
* gc.c (scm_gc_for_newcell): Behave gracefully also if scm_igc
doesn't yield any new cells. In theory this could happen if all cells allocated with NEWCELL are either in use or conservatively marked and all cluster spine cells are conservatively marked. (Thanks to Dirk.)
This commit is contained in:
parent
2500356c67
commit
83d58c8257
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ scm_gc_for_newcell (scm_freelist_t *master, SCM *freelist)
|
|||
++scm_ints_disabled;
|
||||
do
|
||||
{
|
||||
if (SCM_NULLP (master->clusters))
|
||||
while (SCM_NULLP (master->clusters))
|
||||
{
|
||||
if (master->grow_heap_p || scm_block_gc)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue