tenuring

Macro

Package: excl

Arguments: &body body

Use this macro to immediately tenure all objects allocated while within the scope of body. This macro is normally used when loading files, or performing some other operation where the objects created by forms will not become garbage in the short term.

In releases prior to 6.0, body was wrapped in a prog1 and so only the first value returned by body was returned. Starting in 6.0, body is wrapped in a multiple-value-prog1 so all values are returned.

This macro is very useful for preventing newspace expansion. Without the tenuring macro, loading a very large fasl file may cause the newspace to expand to several times its previous size. With the tenuring macro, the newspace will not grow as severely, which will usually improve performance in the resulting Lisp.

See also gc.htm for general information on garbage collection Allegro CL.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.