Branch: Tag:

2001-03-22

2001-03-22 02:21:16 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for placeholders and a little more debug added...

Rev: src/gc.c:1.147
Rev: src/gc.h:1.75
Rev: src/main.c:1.116
Rev: src/object.c:1.166
Rev: src/pike_memory.c:1.102
Rev: src/program.c:1.305

30:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.146 2001/02/28 04:20:17 hubbe Exp $"); + RCSID("$Id: gc.c,v 1.147 2001/03/22 02:21:15 hubbe Exp $");      /* Run garbage collect approximately every time    * 20 percent of all arrays, objects and programs is
1089: Inside #if defined(PIKE_DEBUG)
     #ifdef PIKE_DEBUG    - void gc_add_extra_ref(void *a) + void debug_gc_add_extra_ref(void *a)   {    struct marker *m = get_marker(a);    if (m->flags & GC_GOT_EXTRA_REF)
1099: Inside #if defined(PIKE_DEBUG)
   ++*(INT32 *) a;   }    - void gc_free_extra_ref(void *a) + void debug_gc_free_extra_ref(void *a)   {    struct marker *m = get_marker(a);    if (!(m->flags & GC_GOT_EXTRA_REF))
1108: Inside #if defined(PIKE_DEBUG)
   gc_extra_refs--;   }    +    int debug_gc_is_referenced(void *a)   {    struct marker *m;