Allocates the objects produced by the specified forms to the static area (deprecated).
system
in-static-area &rest body => result
| body⇩ |
The forms for which you want the garbage collector to allocate space in the static area. |
| result |
The result of executing body. |
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.
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.
(system:in-static-area (make-string 10))
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:47