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:
parent
fca7547b1a
commit
38a15cfd38
1 changed files with 13 additions and 1 deletions
14
NEWS
14
NEWS
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue