Branch: Tag:

2008-10-12

2008-10-12 22:14:03 by Martin Stjernholm <mast@lysator.liu.se>

Added pike_cycle_depth constants to make Pike.count_memory avoid the most
central global structures.

Rev: server/base_server/configuration.pike:1.658
Rev: server/base_server/module.pike:1.232
Rev: server/base_server/roxen.pike:1.996
Rev: server/etc/modules/RXML.pmod/module.pmod:1.378
Rev: server/etc/modules/RXML.pmod/utils.pmod:1.35
Rev: server/etc/modules/Roxen.pmod:1.249

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS. - // $Id: module.pike,v 1.231 2008/08/15 12:33:53 mast Exp $ + // $Id: module.pike,v 1.232 2008/10/12 22:14:03 mast Exp $      #include <module_constants.h>   #include <module.h>
8:      constant __pragma_save_parent__ = 1;    + // Tell Pike.count_memory this is global. + constant pike_cycle_depth = 0; +    inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);