pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:21:   #include "pike_types.h"   #include "time_stuff.h"   #include "constants.h"      #include "gc.h"   #include "main.h"   #include <math.h>      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.43 1999/09/25 20:50:15 grubba Exp $"); + RCSID("$Id: gc.c,v 1.44 2000/01/31 21:08:49 hubbe Exp $");      /* Run garbage collect approximate every time we have    * 20 percent of all arrays, objects and programs is    * garbage.    */      #define GC_CONST 20   #define MIN_ALLOC_THRESHOLD 1000   #define MAX_ALLOC_THRESHOLD 10000000   #define MULTIPLIER 0.9
pike.git/src/gc.c:346:    }       case T_ARRAY:    fprintf(stderr,"**Describing array:\n");    debug_dump_array((struct array *)a);    break;       case T_MAPPING:    fprintf(stderr,"**Describing mapping:\n");    debug_dump_mapping((struct mapping *)a); +  fprintf(stderr,"**Describing mapping data block:\n"); +  describe_something( ((struct mapping *)a)->data, -1, dm);    break;       case T_STRING:    {    struct pike_string *s=(struct pike_string *)a;    fprintf(stderr,"**String length is %d:\n",s->len);    if(s->len>77)    {    fprintf(stderr,"** \"%60s ...\"\n",s->str);    }else{