The function expand-generation-1 controls the subsequent behavior of the garbage collector when insufficient space is freed by a
mark-and-sweep
. When this occurs, either generation 1 is expanded, or the objects in it are promoted.
If
on
is
nil
, generation 1 is never expanded.
If
on
is
t
, generation 1 is always expanded (rather than promotion) when needed.
If on is 1, generation 1 is only expanded if its current size is less than 500000 bytes. This is the initial setting.
clean-generation-0
collect-generation-2
collect-highest-generation
mark-and-sweep
set-gc-parameters