2003-02-01
2003-02-01 15:43:51 by Martin Stjernholm <mast@lysator.liu.se>
-
50d97aa57c2d73266845a66cf689d713fcce0c15
(7 lines)
(+3/-4)
[
Show
| Annotate
]
Branch: 7.9
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"). This is the embryo of a facility based trace system. Still to
do: Raise all the global trace levels to make room for gc only trace at
level 1, and fix a framework for trace facilities.
Rev: src/array.c:1.137
Rev: src/builtin.cmod:1.113
Rev: src/builtin_functions.c:1.466
Rev: src/gc.c:1.199
Rev: src/gc.h:1.97
Rev: src/mapping.c:1.162
Rev: src/multiset.c:1.68
Rev: src/object.c:1.218
Rev: src/program.c:1.477
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.161 2003/01/11 03:06:54 mast Exp $
+ || $Id: mapping.c,v 1.162 2003/02/01 15:43:50 mast Exp $
*/
#include "global.h"
- RCSID("$Id: mapping.c,v 1.161 2003/01/11 03:06:54 mast Exp $");
+ RCSID("$Id: mapping.c,v 1.162 2003/02/01 15:43:50 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)
{