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

get-default-generation Function

Summary

Returns the current default generation.

Package

hcl

Signature

get-default-generation => default-gen

Values
default-gen
An integer.
Description

By default, all new objects are allocated to a specific generation. The function get-default-generation returns the current value of this default generation.

Notes

In 64-bit LispWorks get-default-generation returns 0.

See also

allocation-in-gen-num
clean-generation-0
collect-generation-2
collect-highest-generation
expand-generation-1
set-default-generation
*symbol-alloc-gen-num*
11.3 Memory Management in 32-bit LispWorks


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35