#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 |
char* align | ( | void * | p, | |
int | alignment | |||
) |
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:
char* p_rsrc [static] |
Definition at line 27 of file allocation.cpp.
Referenced by allocateResource(), ResourceMark::ResourceMark(), and Resources::used().
Definition at line 127 of file allocation.cpp.
Referenced by ResourceArea::allocate_more_bytes(), CHeapObj::operator delete(), ResourceArea::~ResourceArea(), and ResourceMark::~ResourceMark().