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

NextPrevUpTopContentsIndex

in-static-area

Macro
Summary

Allocates the objects produced by the specified forms to the static area.

This macro is 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

Allocates the objects produced by the specified forms 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.

Example

(system:in-static-area (make-string 10))

See also

enlarge-static
make-array
staticp


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex