pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*   || 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: main.c,v 1.164 2003/01/11 01:52:55 mast Exp $ + || $Id: main.c,v 1.165 2003/01/12 16:00:14 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.164 2003/01/11 01:52:55 mast Exp $"); + RCSID("$Id: main.c,v 1.165 2003/01/12 16:00:14 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:843: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(SHARED_NODES)
  #ifdef SHARED_NODES    free(node_hash.table);   #endif /* SHARED_NODES */       exit_pike_security();    free_svalue(& throw_value);    throw_value.type=T_INT;    {    while(1) {    int tmp=num_objects; -  do_gc(); +  do_gc(NULL, 1);    if(num_objects >= tmp) break;    }    }       cleanup_gc();       cleanup_pike_types();      #if defined(PIKE_DEBUG) && defined(DEBUG_MALLOC)    if(verbose_debug_exit)
pike.git/src/main.c:898: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(PIKE_DEBUG) && defined(DEBUG_MALLOC)
   count_memory_in_multisets(&num, &size);    if(num)    fprintf(stderr,"Multisets left: %d (%d bytes)\n",num,size);          destruct_objects_to_destruct_cb();    if(recount)    {       fprintf(stderr,"Garbage collecting..\n"); -  do_gc(); +  do_gc(NULL, 1);       count_memory_in_arrays(&num, &size);    fprintf(stderr,"Arrays left: %d (%d bytes)\n",num,size);    count_memory_in_mappings(&num, &size);    fprintf(stderr,"Mappings left: %d (%d bytes)\n",num,size);    count_memory_in_multisets(&num, &size);    fprintf(stderr,"Multisets left: %d (%d bytes)\n",num,size);    }