changeset 34325:a65d8c29442a

(gc_sweep): Add comment.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 07 Dec 2000 12:00:51 +0000
parents 4d26cf62962c
children 9ba111c872bc
files src/alloc.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Thu Dec 07 11:59:38 2000 +0000
+++ b/src/alloc.c	Thu Dec 07 12:00:51 2000 +0000
@@ -4774,6 +4774,9 @@
 
 	for (; sym < end; ++sym)
 	  {
+	    /* Check if the symbol was created during loadup.  In such a case
+	       it might be pointed to by pure bytecode which we don't trace,
+	       so we conservatively assume that it is live.  */
 	    int pure_p = PURE_POINTER_P (sym->name);
 	    
 	    if (!XMARKBIT (sym->plist) && !pure_p)