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

in-static-area Macro

Summary

Allocates the objects produced by the specified forms to the static area (deprecated).

Package

system

Signature

in-static-area &rest body => result

Arguments
body
The forms for which you want the garbage collector to allocate space in the static area.
Values
result
The result of executing body.
Description

The macro in-static-area allocates the objects produced by evaluating the forms in body to the static area. Objects in the static area are not moved, though they are garbage collected when there is no longer a pointer to the object.

Notes

in-static-area is deprecated. Use make-array with :allocation :static where possible instead.

In 64-bit LispWorks and the Mobile GC, in-static-area does not affect the allocation conses. There is no interface to make static conses in 64-bit LispWorks or the Mobile GC.

Examples
(system:in-static-area (make-string 10))
See also

enlarge-static
make-array
staticp


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