This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
SCM_DEBUG_FREELIST
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Subject: SCM_DEBUG_FREELIST
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Thu, 22 Jun 2000 13:29:13 +0200 (MEST)
Hello!
I am about to do some mindless work. This time, I'd like to rename the
debugging macros according to the SCM_DEBUG_ naming scheme. Thus, I have
some questions about GUILE_DEBUG_FREELIST:
* If this macro is enabled, with every new cell the list of free cells is
checked whether it contains cells that are not of the free-cell type.
Is this right, or is there anything else about this macro which I am
missing?
* What are the errors that are supposed to be found with this debugging
option? I. e. in which way may it help developers of guile or
extensions to guile? To me it seems that it can mostly be used to
detect heap corruption, maybe also to find errors in the garbage
collector. Or is there more to it?
Best regards
Dirk