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)
 
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
 
euspointer_t mark_buddy_q
 
contextmark_ctx
 
pointer mark_root
 
euspointer_t 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

◆ _end()

eusinteger_t _end ( )

Definition at line 33 of file eus.c.

◆ call_disposers()

void call_disposers ( )

Definition at line 709 of file memory.c.

◆ dump_bcell()

dump_bcell ( int  k,
struct buddyfree b 
)

Definition at line 833 of file memory.c.

◆ gc()

void gc ( )

Definition at line 768 of file memory.c.

◆ gc_alloc()

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

Definition at line 329 of file memory.c.

◆ mark()

void mark ( pointer  p)

Definition at line 450 of file memory.c.

◆ markall()

void markall ( )

Definition at line 520 of file memory.c.

◆ mergecell()

static bpointer mergecell ( bpointer  p,
int  cbix 
)
static

Definition at line 632 of file memory.c.

◆ newchunk()

int newchunk ( int  k)

Definition at line 67 of file memory.c.

◆ newgcstack()

void newgcstack ( pointer oldsp)

Definition at line 495 of file memory.c.

◆ p_print()

pointer p_print ( pointer  v,
context ctx 
)

Definition at line 851 of file memory.c.

◆ reclaim()

void reclaim ( bpointer  p)

Definition at line 596 of file memory.c.

◆ resume_all_threads()

void resume_all_threads ( )

Definition at line 755 of file memory.c.

◆ root_alloc_big()

bpointer root_alloc_big ( context ctx,
int  req 
)

Definition at line 214 of file memory.c.

◆ root_alloc_small()

void root_alloc_small ( context ctx,
int  req 
)

Definition at line 263 of file memory.c.

◆ splitheap()

void splitheap ( int  k,
struct buddyfree buddy 
)

Definition at line 160 of file memory.c.

◆ suspend_all_threads()

void suspend_all_threads ( )

Definition at line 745 of file memory.c.

◆ sweep()

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

Definition at line 664 of file memory.c.

◆ sweepall()

void sweepall ( )

Definition at line 722 of file memory.c.

Variable Documentation

◆ alloccount

long alloccount[MAXBUDDY]

Definition at line 60 of file memory.c.

◆ bottom_addr

eusinteger_t bottom_addr
static

Definition at line 44 of file memory.c.

◆ chunklist

struct chunk* chunklist =NULL

Definition at line 57 of file memory.c.

◆ dispose

pointer dispose[MAXDISPOSE]
static

Definition at line 64 of file memory.c.

◆ dispose_count

int dispose_count
static

Definition at line 65 of file memory.c.

◆ edata

edata

◆ freeheap

long freeheap =0

Definition at line 56 of file memory.c.

◆ gccount

long gccount

Definition at line 59 of file memory.c.

◆ gcsp

pointer * gcsp

Definition at line 414 of file memory.c.

◆ gcsplimit

pointer * gcsplimit

Definition at line 414 of file memory.c.

◆ gcstack

pointer* gcstack

Definition at line 414 of file memory.c.

◆ K_DISPOSE

pointer K_DISPOSE

Definition at line 135 of file eus.c.

◆ mark_buddy_q

euspointer_t mark_buddy_q

Definition at line 518 of file memory.c.

◆ mark_ctx

context* mark_ctx

Definition at line 516 of file memory.c.

◆ mark_root

pointer mark_root

Definition at line 448 of file memory.c.

◆ mark_stack_root

euspointer_t mark_stack_root

Definition at line 517 of file memory.c.

◆ mark_state

int mark_state

Definition at line 515 of file memory.c.

◆ marking

pointer marking

Definition at line 448 of file memory.c.

◆ marking2

pointer marking2

Definition at line 448 of file memory.c.

◆ marktime

long marktime

Definition at line 59 of file memory.c.

◆ maxmemory

char* maxmemory =(char *)0x0

Definition at line 50 of file memory.c.

◆ minmemory

char* minmemory =(char *)0xffffffffffffffff

Definition at line 52 of file memory.c.

◆ QPARAGC

pointer QPARAGC

Definition at line 125 of file eus.c.

◆ rcsid

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

Definition at line 6 of file memory.c.

◆ sweeptime

long sweeptime

Definition at line 59 of file memory.c.

◆ top_addr

eusinteger_t top_addr
static

Definition at line 44 of file memory.c.

◆ totalheap

long totalheap =0

Definition at line 56 of file memory.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43