mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
Bugfix to mark-sweep
Before this, the last sweep would cause premature gc
This commit is contained in:
parent
fddd4d9416
commit
a693c4ea8a
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ static int sweep(struct context *cx) {
|
|||
}
|
||||
|
||||
cx->sweep = sweep;
|
||||
return sweep < limit;
|
||||
return to_reclaim < 128;
|
||||
}
|
||||
|
||||
static void* allocate_large(struct context *cx, enum alloc_kind kind,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue