allocation.cpp File Reference

#include "incls/_precompiled.incl"
#include "incls/_allocation.cpp.incl"

Include dependency graph for allocation.cpp:

Go to the source code of this file.

Functions

char * align (void *p, int alignment)
char * AllocatePageAligned (int size, char *name)
char * AllocateHeap (int size, char *name)
void FreeHeap (void *p)
void * operator new (size_t size)

Variables

ResourceArea resource_area
Resources resources
static bool in_rsrc
static char * p_rsrc


Function Documentation

char* align ( void *  p,
int  alignment 
)

Definition at line 270 of file allocation.cpp.

Referenced by AllocatePageAligned(), and main().

char* AllocateHeap ( int  size,
char *  name 
)

Definition at line 284 of file allocation.cpp.

References lprintf().

Referenced by GenericGrowableArray::GenericGrowableArray(), GenericGrowableArray::grow(), rSet::operator new(), operator new(), CHeapObj::operator new(), and ResourceAreaChunk::ResourceAreaChunk().

Here is the call graph for this function:

char* AllocatePageAligned ( int  size,
char *  name 
)

Definition at line 276 of file allocation.cpp.

References align(), lprintf(), and Universe::page_size().

Here is the call graph for this function:

void FreeHeap ( void *  p  ) 

Definition at line 289 of file allocation.cpp.

Referenced by bootstrap::add(), InliningDatabase::add_lookup_entry(), CHeapObj::operator delete(), InliningDatabase::reset_lookup_table(), EventLog::resize(), bootstrap::~bootstrap(), and ResourceAreaChunk::~ResourceAreaChunk().

void* operator new ( size_t  size  ) 

Definition at line 296 of file allocation.cpp.

References AllocateHeap(), and fatal.

Here is the call graph for this function:


Variable Documentation

bool in_rsrc [static]

Definition at line 135 of file allocation.cpp.

Referenced by Resources::contains().

char* p_rsrc [static]

Definition at line 136 of file allocation.cpp.

Referenced by Resources::contains().

ResourceArea resource_area

Definition at line 27 of file allocation.cpp.

Referenced by allocateResource(), ResourceMark::ResourceMark(), and Resources::used().

Resources resources

Definition at line 127 of file allocation.cpp.

Referenced by ResourceArea::allocate_more_bytes(), CHeapObj::operator delete(), ResourceArea::~ResourceArea(), and ResourceMark::~ResourceMark().


Generated on Mon Oct 9 13:37:33 2006 for Strongtalk VM by  doxygen 1.4.7