Functions | Variables
memory.c File Reference

Go to the source code of this file.

Functions

eusinteger_t _end ()
 
void call_disposers ()
 
 dump_bcell (int k, struct buddyfree *b)
 
 edata ()
 
void gc ()
 
pointer gc_alloc (int s, int e, int cid, int nils)
 
void mark (pointer p)
 
void markall ()
 
static bpointer mergecell (bpointer p, int cbix)
 
int newchunk (int k)
 
void newgcstack (pointer *oldsp)
 
pointer p_print (pointer v, context *ctx)
 
void reclaim (bpointer p)
 
void resume_all_threads ()
 
bpointer root_alloc_big (context *ctx, int req)
 
void root_alloc_small (context *ctx, int req)
 
void splitheap (int k, struct buddyfree *buddy)
 
void suspend_all_threads ()
 
static void sweep (struct chunk *cp, int gcmerge)
 
void sweepall ()
 

Variables

long alloccount [MAXBUDDY]
 
static eusinteger_t bottom_addr
 
struct chunkchunklist =NULL
 
static pointer dispose [MAXDISPOSE]
 
static int dispose_count
 
 edata
 
long freeheap =0
 
long gccount
 
pointergcsp
 
pointergcsplimit
 
pointergcstack
 
pointer K_DISPOSE
 
long mark_buddy_q
 
contextmark_ctx
 
pointer mark_root
 
long mark_stack_root
 
int mark_state
 
pointer marking
 
pointer marking2
 
long marktime
 
char * maxmemory =(char *)0x0
 
char * minmemory =(char *)0xffffffffffffffff
 
pointer QPARAGC
 
static char * rcsid ="@(#)$Id$"
 
long sweeptime
 
static eusinteger_t top_addr
 
long totalheap =0
 

Function Documentation

eusinteger_t _end ( )
void call_disposers ( )

Definition at line 706 of file memory.c.

dump_bcell ( int  k,
struct buddyfree b 
)

Definition at line 830 of file memory.c.

edata ( )
void gc ( void  )

Definition at line 765 of file memory.c.

pointer gc_alloc ( int  s,
int  e,
int  cid,
int  nils 
)

Definition at line 326 of file memory.c.

void mark ( pointer  p)

Definition at line 447 of file memory.c.

void markall ( void  )

Definition at line 517 of file memory.c.

static bpointer mergecell ( bpointer  p,
int  cbix 
)
static

Definition at line 629 of file memory.c.

int newchunk ( int  k)

Definition at line 67 of file memory.c.

void newgcstack ( pointer oldsp)

Definition at line 492 of file memory.c.

pointer p_print ( pointer  v,
context ctx 
)

Definition at line 848 of file memory.c.

void reclaim ( bpointer  p)

Definition at line 593 of file memory.c.

void resume_all_threads ( )

Definition at line 752 of file memory.c.

bpointer root_alloc_big ( context ctx,
int  req 
)

Definition at line 211 of file memory.c.

void root_alloc_small ( context ctx,
int  req 
)

Definition at line 260 of file memory.c.

void splitheap ( int  k,
struct buddyfree buddy 
)

Definition at line 157 of file memory.c.

void suspend_all_threads ( )

Definition at line 742 of file memory.c.

static void sweep ( struct chunk cp,
int  gcmerge 
)
static

Definition at line 661 of file memory.c.

void sweepall ( void  )

Definition at line 719 of file memory.c.

Variable Documentation

long alloccount[MAXBUDDY]

Definition at line 60 of file memory.c.

eusinteger_t bottom_addr
static

Definition at line 44 of file memory.c.

struct chunk* chunklist =NULL

Definition at line 57 of file memory.c.

pointer dispose[MAXDISPOSE]
static

Definition at line 64 of file memory.c.

int dispose_count
static

Definition at line 65 of file memory.c.

edata
long freeheap =0

Definition at line 56 of file memory.c.

long gccount

Definition at line 59 of file memory.c.

pointer * gcsp

Definition at line 411 of file memory.c.

pointer * gcsplimit

Definition at line 411 of file memory.c.

pointer* gcstack

Definition at line 411 of file memory.c.

pointer K_DISPOSE

Definition at line 135 of file eus.c.

long mark_buddy_q

Definition at line 515 of file memory.c.

context* mark_ctx

Definition at line 513 of file memory.c.

pointer mark_root

Definition at line 445 of file memory.c.

long mark_stack_root

Definition at line 514 of file memory.c.

int mark_state

Definition at line 512 of file memory.c.

pointer marking

Definition at line 445 of file memory.c.

pointer marking2

Definition at line 445 of file memory.c.

long marktime

Definition at line 59 of file memory.c.

char* maxmemory =(char *)0x0

Definition at line 50 of file memory.c.

char* minmemory =(char *)0xffffffffffffffff

Definition at line 52 of file memory.c.

pointer QPARAGC

Definition at line 125 of file eus.c.

char* rcsid ="@(#)$Id$"
static

Definition at line 6 of file memory.c.

long sweeptime

Definition at line 59 of file memory.c.

eusinteger_t top_addr
static

Definition at line 44 of file memory.c.

long totalheap =0

Definition at line 56 of file memory.c.



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