Next Prev Up Top Contents Index

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 is nil , the function returns the current promotion count setting.

segment

An integer specifying which segment of the generation is to be affected. The default is 0, meaning 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
block-promotion
clean-generation-0
collect-generation-2
collect-highest-generation
expand-generation-1

LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index