Next Previous Up Top Contents Index

10 The HCL Package

clean-generation-0

Function

Summary

Attempts to promote all objects from generation zero into generation one, thereby clearing generation zero.
Package

hcl

Signature

clean-generation-0 => 1

Arguments

None

Values

Returns the value 1.
Description

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.
Example

;   allocate lots of non-ephemeral objects 
;   ......  
(clean-generation-0)

Notes

It may be more efficient to directly allocate the objects in a particular generation in the first place, usingallocation-in-gen-num orset-default-generation.
See also

allocation-in-gen-num
collect-generation-2
collect-highest-generation
expand-generation-1
set-promotion-count


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker