#include <allocation.hpp>
Collaboration diagram for ResourceArea:

Public Member Functions | |
| ResourceArea () | |
| ~ResourceArea () | |
| char * | allocate_more_bytes (int size) |
| char * | allocate_bytes (int size) |
| int | capacity () |
| int | used () |
| bool | contains (void *p) |
Public Attributes | |
| ResourceAreaChunk * | chunk |
Definition at line 175 of file allocation.hpp.
| ResourceArea::ResourceArea | ( | ) |
| ResourceArea::~ResourceArea | ( | ) |
Definition at line 106 of file allocation.cpp.
References Resources::addToFreeList(), chunk, ResourceAreaChunk::prev, and resources.
Here is the call graph for this function:

| char* ResourceArea::allocate_bytes | ( | int | size | ) | [inline] |
Definition at line 187 of file allocation.hpp.
References ResourceAreaChunk::allocate_bytes(), allocate_more_bytes(), assert, chunk, error(), oopSize, and roundTo.
Referenced by allocateResource().
Here is the call graph for this function:

| char * ResourceArea::allocate_more_bytes | ( | int | size | ) |
Definition at line 115 of file allocation.cpp.
References ResourceAreaChunk::allocate_bytes(), assert, chunk, Resources::new_chunk(), and resources.
Referenced by allocate_bytes().
Here is the call graph for this function:

| int ResourceArea::capacity | ( | ) | [inline] |
| bool ResourceArea::contains | ( | void * | p | ) | [inline] |
Definition at line 212 of file allocation.hpp.
References chunk, and ResourceAreaChunk::contains().
Here is the call graph for this function:

| int ResourceArea::used | ( | ) |
Definition at line 122 of file allocation.cpp.
References ResourceAreaChunk::_previous_used, chunk, ResourceAreaChunk::prev, and ResourceAreaChunk::used().
Referenced by Resources::used().
Here is the call graph for this function:

Definition at line 177 of file allocation.hpp.
Referenced by allocate_bytes(), allocate_more_bytes(), capacity(), contains(), ResourceArea(), ResourceMark::ResourceMark(), used(), ~ResourceArea(), and ResourceMark::~ResourceMark().
1.4.7