Macros | Functions | Variables
rgc_mem.c File Reference
#include <sys/types.h>
#include <sys/times.h>
#include "eus.h"
Include dependency graph for rgc_mem.c:

Go to the source code of this file.

Macros

#define my_gc_pri   ctx->my_gc_pri
 
#define myctx   (euscontexts[thr_self()])
 

Functions

static unsigned long net_free (int req)
 
static int recalc_gc_priority (int req)
 
pointer rgc_alloc (register int s, int e, int cid, register int nils)
 
static int rgc_expand_heap_or_complete_gc (int req)
 
bpointer rgc_root_alloc_big (register context *ctx, register int req)
 
void rgc_root_alloc_small (register context *ctx, register int req)
 
static int should_start_gc (int req)
 

Variables

long alloccount [MAXBUDDY]
 
long freeheap
 
static volatile int gc_pri = 0
 
static int km [10] = {4096, 4800, 6000, 8192}
 
static int ks [10] = {256, 256, 384, 512}
 
long marked_words
 
static volatile int rem_cnt = 0
 
long totalheap
 

Macro Definition Documentation

#define my_gc_pri   ctx->my_gc_pri

Definition at line 117 of file rgc_mem.c.

#define myctx   (euscontexts[thr_self()])

Definition at line 9 of file rgc_mem.c.

Function Documentation

static unsigned long net_free ( int  req)
inlinestatic

Definition at line 57 of file rgc_mem.c.

static int recalc_gc_priority ( int  req)
static

Definition at line 71 of file rgc_mem.c.

pointer rgc_alloc ( register int  s,
int  e,
int  cid,
register int  nils 
)

Definition at line 347 of file rgc_mem.c.

static int rgc_expand_heap_or_complete_gc ( int  req)
static

Definition at line 26 of file rgc_mem.c.

bpointer rgc_root_alloc_big ( register context ctx,
register int  req 
)

Definition at line 133 of file rgc_mem.c.

void rgc_root_alloc_small ( register context ctx,
register int  req 
)

Definition at line 236 of file rgc_mem.c.

static int should_start_gc ( int  req)
static

Definition at line 120 of file rgc_mem.c.

Variable Documentation

long alloccount[MAXBUDDY]

Definition at line 16 of file rgc_mem.c.

long freeheap

Definition at line 56 of file memory.c.

volatile int gc_pri = 0
static

Definition at line 116 of file rgc_mem.c.

int km[10] = {4096, 4800, 6000, 8192}
static

Definition at line 68 of file rgc_mem.c.

int ks[10] = {256, 256, 384, 512}
static

Definition at line 69 of file rgc_mem.c.

long marked_words

Definition at line 135 of file collector.c.

volatile int rem_cnt = 0
static

Definition at line 115 of file rgc_mem.c.

long totalheap

Definition at line 56 of file memory.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:44