1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

* NEWS: More complete description for --enable-debug-freelist.

This commit is contained in:
Greg J. Badros 1999-10-02 22:55:36 +00:00
parent fca7547b1a
commit 38a15cfd38

14
NEWS
View file

@ -16,7 +16,19 @@ These are likely to become separate modules some day.
* Added new configure option --enable-debug-freelist
Also added a setter `gc-set-debug-check-freelist!'
This enables a debugging version of SCM_NEWCELL(), and also registers
an extra primitive, the setter `gc-set-debug-check-freelist!'.
Configure with the --enable-debug-freelist option to enable
the gc-set-debug-check-freelist! primitive, and then use:
(gc-set-debug-check-freelist! #t) # turn on checking of the freelist
(gc-set-debug-check-freelist! #f) # turn off checking
Checking of the freelist forces a traversal of the freelist and
a garbage collection before each allocation of a cell. This can
slow down the interpreter dramatically, so the setter should be used to
turn on this extra processing only when necessary.
Changes since Guile 1.3.2: