All Manuals > LispWorks® User Guide and Reference Manual > 47 The SYSTEM Package

set-delay-promotion Function

Summary

Delays promotion for a specified generation in 64-bit LispWorks.

Package

system

Signature

set-delay-promotion gen-num on => on

Arguments
gen-num
An integer between 0 and 7, inclusive.
on
A generalized boolean.
Values
on
A generalized boolean.
Description

The function set-delay-promotion delays promotion for generation gen-num if on is non-nil, which means that objects are promoted to the next generation in the second garbage collection (GC) that they survive in generation gen-num. By default, objects are promoted in the first GC.

It is not obvious under what circumstances delayed promotion is more useful than the default behavior. If you find this function useful, please let us know at Lisp Support.

Notes

set-delay-promotion is implemented only in 64-bit LispWorks. It does nothing in the Mobile GC and its return value is not meaningful. It is not relevant to the Memory Management API in 32-bit implementations.

See also

set-blocking-gen-num


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02