5.3.2 The Ephemeral Garbage Collector

5.3.2.1 Disabling ephemeral garbage collection

Ephemeral garbage collection is enabled by default when you start Lisp. The following functions pertain to enabling and disabling ephemeral garbage collection:

egc-off
egc-on
egc-state

The function egc-off copies valid objects from the ephemeral levels to the current dynamic semi-space and returns the ephemeral levels to the reserved area.

The function egc-on can first cause a dynamic garbage collection. Space for the ephemeral levels is then taken from the reserved area. Note that dynamic garbage collection must be enabled to enable ephemeral garbage collection.

The function egc-state can help you determine whether ephemeral garbage collection is enabled. The function returns the current state of the ephemeral levels if ephemeral garbage collection is enabled; otherwise, it returnsnil.


The User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker