Functions | Variables
memory.safe.c File Reference

Go to the source code of this file.

Functions

 _end ()
pointer alloc (int s, int e, int cid, int nils)
 gc ()
pointer halloc (int req, int e, int cid)
 mark (pointer p)
 markall ()
static bpointer mergecell (bpointer p, int cbix)
 newchunk (int k)
 reclaim (bpointer p)
static void splitheap (int k)
static void sweep (struct chunk *cp)
void sweepall ()

Variables

mutex_t alloc_lock
long alloccount [MAXBUDDY]
struct chunkchunklist = NULL
long freeheap = 0
long gccount
contextmarkctx
long marktime
char * maxmemory = (char *)0x100000
long sweeptime
long totalheap = 0

Function Documentation

_end ( )
pointer alloc ( int  s,
int  e,
int  cid,
int  nils 
)

Definition at line 113 of file memory.safe.c.

gc ( void  )

Definition at line 258 of file memory.safe.c.

pointer halloc ( int  req,
int  e,
int  cid 
)

Definition at line 80 of file memory.safe.c.

mark ( pointer  p)

Definition at line 135 of file memory.safe.c.

markall ( void  )

Definition at line 166 of file memory.safe.c.

static bpointer mergecell ( bpointer  p,
int  cbix 
) [static]

Definition at line 205 of file memory.safe.c.

newchunk ( int  k)

Definition at line 34 of file memory.safe.c.

reclaim ( bpointer  p)

Definition at line 186 of file memory.safe.c.

static void splitheap ( int  k) [static]

Definition at line 57 of file memory.safe.c.

static void sweep ( struct chunk cp) [static]

Definition at line 225 of file memory.safe.c.

void sweepall ( void  )

Definition at line 248 of file memory.safe.c.


Variable Documentation

mutex_t alloc_lock

Definition at line 32 of file memory.safe.c.

long alloccount[MAXBUDDY]

Definition at line 30 of file memory.safe.c.

struct chunk* chunklist = NULL

Definition at line 27 of file memory.safe.c.

long freeheap = 0

Definition at line 26 of file memory.safe.c.

long gccount

Definition at line 29 of file memory.safe.c.

Definition at line 133 of file memory.safe.c.

long marktime

Definition at line 29 of file memory.safe.c.

char* maxmemory = (char *)0x100000

Definition at line 25 of file memory.safe.c.

long sweeptime

Definition at line 29 of file memory.safe.c.

long totalheap = 0

Definition at line 26 of file memory.safe.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Mar 9 2017 04:57:51