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

NextPrevUpTopContentsIndex

collect-generation-2

Function
Summary

Controls whether generation 2 is garbage collected in 32-bit LispWorks.

Package

hcl

Signature

collect-generation-2 on => size

Arguments

on

If on is nil, generation 2 is not garbage collected. If on is t, the generation is garbage collected.

Values

size

The current size of the image.

Description

Controls whether generation 2 is garbage collected. (Generation 2 normally holds long-lived objects created dynamically.)

Notes

collect-generation-2 is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations, where you can use set-blocking-gen-num instead.

See also

clean-generation-0
collect-highest-generation
expand-generation-1
set-blocking-gen-num
set-promotion-count
Guidance for control of the memory management system
Memory Management in 32-bit LispWorks


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex