Branch: Tag:

2001-07-15

2001-07-15 23:58:26 by Martin Stjernholm <mast@lysator.liu.se>

Disabled dmalloc-based debug that didn't turn out to work well.

Rev: src/gc.c:1.149

30:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.148 2001/07/05 01:54:57 mast Exp $"); + RCSID("$Id: gc.c,v 1.149 2001/07/15 23:58:26 mast Exp $");      /* Run garbage collect approximately every time    * 20 percent of all arrays, objects and programs is
2154: Inside #if defined(PIKE_DEBUG)
   if (n != (unsigned) num_objects)    fatal("Object count wrong in gc; expected %d, got %d.\n", num_objects, n);    get_marker(rec_list.data)->flags |= GC_MIDDLETOUCHED; + #if 0   #ifdef DEBUG_MALLOC    PTR_HASH_LOOP(marker, i, m)    if (!(m->flags & (GC_MIDDLETOUCHED|GC_WEAK_FREED)) &&
2167: Inside #if defined(PIKE_DEBUG) and #if defined(DEBUG_MALLOC)
   fatal("Fatal in garbage collector.\n");    }   #endif + #endif    GC_VERBOSE_DO(fprintf(stderr, "| middletouch\n"));    }   #endif