Attempts to promote all objects from generation zero into generation one, thereby clearing generation zero, in 32-bit LispWorks.
clean-generation-0 => 1
Returns the value 1.
This is useful when passing from a phase of creating long-lived data to a phase of mostly ephemeral data, for example, the end of loading an application and the start of its use.
The function may not be very useful, as it may be more efficient to directly allocate the objects in a particular generation in the first place, using allocation-in-gen-num or set-default-generation.
clean-generation-0 is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations, where the same effect can be obtained by a call
; allocate lots of non-ephemeral objects
LispWorks User Guide and Reference Manual - 13 Feb 2015