Branch: Tag:

2003-09-08

2003-09-08 20:05:21 by Martin Stjernholm <mast@lysator.liu.se>

Cleaned up the gc check stuff a bit (large indentantion changes). Added more
tracking in the gc to help track down bugs when the gc follows munged
pointers in the mark pass. That's activated with GC_MARK_DEBUG.

Rev: src/array.c:1.149
Rev: src/backend.cmod:1.47
Rev: src/error.c:1.115
Rev: src/gc.c:1.228
Rev: src/gc.h:1.104
Rev: src/interpret.c:1.329
Rev: src/mapping.c:1.170
Rev: src/multiset.c:1.78
Rev: src/object.c:1.247
Rev: src/program.c:1.524
Rev: src/security.c:1.45
Rev: src/svalue.c:1.173
Rev: src/svalue.h:1.123
Rev: src/threads.c:1.220

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: error.c,v 1.114 2003/08/20 11:53:58 grubba Exp $ + || $Id: error.c,v 1.115 2003/09/08 20:05:20 mast Exp $   */      #define NO_PIKE_SHORTHAND
23:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.114 2003/08/20 11:53:58 grubba Exp $"); + RCSID("$Id: error.c,v 1.115 2003/09/08 20:05:20 mast Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
833: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG   static void gc_check_throw_value(struct callback *foo, void *bar, void *gazonk)   { -  debug_gc_xmark_svalues(&throw_value,1," in the throw value"); +  gc_mark_external_svalues(&throw_value,1," in the throw value");   }   #endif