ResourceMark Class Reference

#include <allocation.hpp>

Inheritance diagram for ResourceMark:

Inheritance graph
[legend]
Collaboration diagram for ResourceMark:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ResourceMark ()
 ~ResourceMark ()

Protected Attributes

ResourceAreaarea
ResourceAreaChunkchunk
char * top

Static Protected Attributes

static bool enabled = true

Detailed Description

Definition at line 218 of file allocation.hpp.


Constructor & Destructor Documentation

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:


Member Data Documentation

ResourceArea* ResourceMark::area [protected]

Definition at line 221 of file allocation.hpp.

Referenced by ResourceMark(), and ~ResourceMark().

ResourceAreaChunk* ResourceMark::chunk [protected]

Definition at line 222 of file allocation.hpp.

Referenced by ResourceMark(), and ~ResourceMark().

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]

Definition at line 223 of file allocation.hpp.

Referenced by ResourceMark(), and ~ResourceMark().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:15:23 2006 for Strongtalk VM by  doxygen 1.4.7