Branch: Tag:

2003-02-01

2003-02-01 15:37:23 by Martin Stjernholm <mast@lysator.liu.se>

Enabled some consistency checks in the gc when compiled without rtldebug
(only activated on debug level 1 or higher). Always define _verify_internals
to be able to use this. Made it possible to turn on trace messages for the
gc only with trace(1,"gc") (intended to be compatible with a facility based
trace system in 7.5).

Rev: src/array.c:1.134
Rev: src/builtin.cmod:1.103
Rev: src/builtin_functions.c:1.455
Rev: src/gc.c:1.192
Rev: src/gc.h:1.94
Rev: src/mapping.c:1.158
Rev: src/multiset.c:1.61
Rev: src/object.c:1.213
Rev: src/program.c:1.467

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: mapping.c,v 1.157 2002/12/01 00:16:54 mast Exp $ + || $Id: mapping.c,v 1.158 2003/02/01 15:37:23 mast Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.157 2002/12/01 00:16:54 mast Exp $"); + RCSID("$Id: mapping.c,v 1.158 2003/02/01 15:37:23 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
2319:    }   }    - #ifdef PIKE_DEBUG +    unsigned gc_touch_all_mappings(void)   {    unsigned n = 0;
2334: Inside #if defined(PIKE_DEBUG)
   }    return n;   } - #endif +       void gc_check_all_mappings(void)   {