* gc.c (struct scm_heap_seg_data): Doc fixes.
authorJim Blandy <jimb@red-bean.com>
Sun, 10 Nov 1996 20:46:21 +0000 (20:46 +0000)
committerJim Blandy <jimb@red-bean.com>
Sun, 10 Nov 1996 20:46:21 +0000 (20:46 +0000)
commitcf2d30f60f16403f3cbf8a90e69354e22936e859
treef47281f0e01fefc9b283bdf62cae61aab5053994
parent88256b2e0e97ea0ee59906b279d8e78c6d413daf
* gc.c (struct scm_heap_seg_data): Doc fixes.

* gc.c (scm_gc_sweep): Prepend each segment's free cells to its
freelist, rather than wiping out the old value.  (Thanks to Marius
Vollmer.)

* gc.c (which_seg, scm_map_free_list, scm_newcell_count,
scm_check_freelist, scm_debug_newcell): New functions and
variables, for debugging freelist problems.
* pairs.h (SCM_NEWCELL): New debugging version added.
* gc.h (scm_debug_newcell): Added extern declaration, used by
debugging version of SCM_NEWCELL.
libguile/gc.c