Next Previous Up Top Contents Index

10 The HCL Package

clean-down

Function

Summary

Frees memory and reduces the size of the image, if possible.
Package

hcl

Signature

clean-down &optional free-upper => new-size

Arguments

The keyword:free-upper controls whether the empty segments of the highest generation are removed or not. The default ist.
Values

new-size

The new size of the image, after reduction.

Description

Tries to free as much memory as possible and then reduce the size of the image as much as possible, and also move all the allocated objects to generation 3. This is called by default before saving an image. It callsmark-and-sweep on generation 3, promotes all the objects into generation 3, deletes the empty segments and tries to reduce the image size. It may fail to delete empty segments if there are static segments in high address space.
See also

save-image


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker