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

allocated-in-its-own-segment-p Function

Summary

64-bit LispWorks only: Returns if the object is allocated in its own segment.

Package

system

Signature

allocated-in-its-own-segment-p object => result

Arguments
object
Any object.
Values
result
A boolean.
Description

The function allocated-in-its-own-segment-p returns true if object is allocated in its own own segment and false otherwise.

Notes

An object is allocated in its own segment if it is "very large". Currently that means larger than 64 MB for the ordinary 64-bit GC, or larger than 1 MB for the Mobile GC.

allocated-in-its-own-segment-p is intended to help to decide whether to call the functions that are useful only for such objects (make-object-permanent and release-object-and-nullify).

See also

make-object-permanent
release-object-and-nullify
11.5.2 Mobile GC technical details


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