NextPrevUpTopContentsIndex

sweep-gen-num-objects

Function
Summary

Applies a function to all the live objects in a generation in 64-bit LispWorks.

Package

system

Signature

sweep-gen-num-objects gen-num function

Arguments

gen-num

An integer in the inclusive range [0,7].

function

A designator for a function of one argument, the object.

Values

sweep-gen-num-objects returns nil .

Description

The function sweep-gen-num-objects applies function to all the live objects in the generation gen-num .

function should take one argument, the object. It can allocate, but if it allocates heavily the sweeping becomes unreliable. Small amounts of allocation will normally happen only in generation 0, and so will not affect sweeping of other generations.

Note: sweep-gen-num-objects is not implemented in 32-bit LispWorks, where you can use sweep-all-objects instead.

See also

sweep-all-objects


LispWorks Reference Manual - 20 Jul 2006

NextPrevUpTopContentsIndex