NextPrevUpTopContentsIndex

expand-generation-1

Function
Summary

Controls expansion of generation 1 in 32-bit LispWorks.

Package

hcl

Signature

expand-generation-1 on

Arguments

on

t , nil or 1.

Description

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.

Note: expand-generation-1 is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations, where you can use set-default-segment-size.

See also

clean-generation-0
collect-generation-2
collect-highest-generation
mark-and-sweep
set-default-segment-size
set-gc-parameters


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex