Next Previous Up Top Contents Index

10 The HCL Package

set-promotion-count

Function

Summary

Controls when objects can be promoted to the next generation.
Package

hcl

Signature

set-promotion-count gen-num count &optional segment => count

Arguments

gen-num

The generation number affected.

count

The number of garbage collections survived by objects in that generation, before promotion. If count isnil, the function returns the current promotion count setting.

segment

Specifies which segment of the generation is to be affected. The default is the lowest segment of the generation.

Values

Returns count.

Description

Controls how many garbage collections an object in a segment must survive before promotion to the next generation.
See also

clean-generation-0
collect-generation-2
collect-highest-generation
expand-generation-1


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker