pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:18:   #include "error.h"   #include "pike_memory.h"   #include "pike_macros.h"   #include "pike_types.h"   #include "time_stuff.h"      #include "gc.h"   #include "main.h"   #include <math.h>    - RCSID("$Id: gc.c,v 1.35 1998/04/20 18:53:16 grubba Exp $"); + RCSID("$Id: gc.c,v 1.36 1998/04/24 00:32:08 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:330: Inside #if defined(DEBUG)
   break;    }    fprintf(stderr,"**Attempting to describe program object was instantiated from:\n");       case T_PROGRAM:    {    char *tmp;    INT32 line,pos;       fprintf(stderr,"**Program id: %ld\n",(long)(p->id)); -  if(!p->num_linenumbers) +  if(p->flags & PROGRAM_HAS_C_METHODS)    {    int e;    fprintf(stderr,"**The program was written in C.\n");    fprintf(stderr,"**identifiers:\n");    for(e=0;e<p->num_identifiers;e++)    fprintf(stderr,"**** %s\n",p->identifiers[e].name->str);    }       for(pos=0;pos<(long)p->num_program && pos<100;pos++)    {