#include <allocation.hpp>
Inheritance diagram for ResourceMark:
Public Member Functions | |
ResourceMark () | |
~ResourceMark () | |
Protected Attributes | |
ResourceArea * | area |
ResourceAreaChunk * | chunk |
char * | top |
Static Protected Attributes | |
static bool | enabled = true |
Definition at line 218 of file allocation.hpp.
ResourceMark::ResourceMark | ( | ) |
Definition at line 210 of file allocation.cpp.
References area, assert, ResourceArea::chunk, chunk, enabled, ResourceAreaChunk::first_free, resource_area, and top.
ResourceMark::~ResourceMark | ( | ) |
Definition at line 222 of file allocation.cpp.
References Resources::addToFreeList(), area, assert, chunk, ResourceArea::chunk, enabled, lprintf(), ResourceAreaChunk::prev, PrintResourceAllocation, resources, and top.
Here is the call graph for this function:
ResourceArea* ResourceMark::area [protected] |
ResourceAreaChunk* ResourceMark::chunk [protected] |
bool ResourceMark::enabled = true [static, protected] |
Definition at line 220 of file allocation.hpp.
Referenced by FinalResourceMark::FinalResourceMark(), ResourceMark(), FinalResourceMark::~FinalResourceMark(), and ~ResourceMark().
char* ResourceMark::top [protected] |