From 38a15cfd38160549c77064ae88c6b066045c93cc Mon Sep 17 00:00:00 2001 From: "Greg J. Badros" Date: Sat, 2 Oct 1999 22:55:36 +0000 Subject: [PATCH] * NEWS: More complete description for --enable-debug-freelist. --- NEWS | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index bd70106ca..924cfb86c 100644 --- a/NEWS +++ b/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: