Branch: Tag:

2001-06-06

2001-06-06 02:22:39 by Martin Stjernholm <mast@lysator.liu.se>

Fixed [bug 1728 (#1728)] where setting the weak flag on an empty array or multiset
caused multisets created later to also be weak.

Rev: src/array.c:1.106
Rev: src/array.h:1.35
Rev: src/builtin_functions.c:1.373
Rev: src/gc.c:1.152

30:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.151 2001/05/19 05:30:18 mast Exp $"); + RCSID("$Id: gc.c,v 1.152 2001/06/06 02:22:39 mast Exp $");      /* Run garbage collect approximately every time    * 20 percent of all arrays, objects and programs is
95:   #define GC_VERBOSE_DO(X)   #endif    - INT32 num_objects = 1; /* Account for empty_array. */ + INT32 num_objects = 3; /* Account for *_empty_array. */   INT32 num_allocs =0;   ptrdiff_t alloc_threshold = MIN_ALLOC_THRESHOLD;   PMOD_EXPORT int Pike_in_gc = 0;