Next Prev Up Top Contents Index

set-default-generation

Function
Summary

Set the current generation for storage allocation.

Package

hcl

Signature

set-default-generation num => num

Arguments

num

The number of generation from which to do future allocation.

Values

Returns num .

Description

Set the current generation for storage allocation. By default the system allocates memory from the youngest generation (generation 0).

Examples
(set-default-generation 1)
         ;; allocate from an
         ;; older generation 
(set-default-generation 0)
         ;; return to normal
See also
allocation-in-gen-num
clean-generation-0
collect-generation-2
collect-highest-generation
expand-generation-1
get-default-generation
set-promotion-count
*symbol-alloc-gen-num*

LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index