All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

finish-heavy-allocation Function

Summary

Tells the system that allocation of many long-lived objects is over.

Package

hcl

Signature

finish-heavy-allocation

Description

The function finish-heavy-allocation tells the system that the application finished doing 'heavy' allocation, and from that point onwards allocation is 'normal'. The main distinction between heavy and normal allocation is the typical lifetime of objects: normal allocation means most of new objects are ephemeral, while heavy allocation a large proportion of the new objects are long-lived.

Heavy allocation normally happens when loading, either the application itself or large amount of data. Operations that do not involve loading will almost always be normal. Hence the time that is useful to call finish-heavy-allocation is after loading something.

See also

with-heavy-allocation


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35