Controls whether generation 2 is garbage collected in 32-bit LispWorks.
hcl
collect-generation-2 on => size
on⇩ |
A generalized boolean. |
size |
The current size of the image. |
The function collect-generation-2
controls whether generation 2 is garbage collected. (Generation 2 normally holds long-lived objects created dynamically.)
If on is nil
, generation 2 is not garbage collected. If on is non-nil, the generation is garbage collected.
collect-generation-2
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-blocking-gen-num instead.
clean-generation-0
collect-highest-generation
expand-generation-1
set-blocking-gen-num
set-promotion-count
11.2 Guidance for control of the memory management system
11.3 Memory Management in 32-bit LispWorks
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35