The generation number affected.
The number of garbage collections survived by objects in that generation, before promotion. If count is
nil
, the function returns the current promotion count setting.
An integer specifying which segment of the generation is to be affected. The default is 0, meaning the lowest segment of the generation.
Controls how many garbage collections an object in a segment must survive before promotion to the next generation.
Note:
set-promotion-count
is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations, wherein you may be able to achieve the effect with set-delay-promotion.
block-promotion
clean-generation-0
collect-generation-2
collect-highest-generation
expand-generation-1