#include <allocThreadObjectMethod.h>
Inheritance diagram for AllocThreadObjectMethod::
Public Methods | |
AllocThreadObjectMethod () | |
Default constructor. | |
virtual | ~AllocThreadObjectMethod () |
Destructor. | |
virtual void | addMemoryStat (jint size) |
Addition of the object's size to statistics. More... | |
virtual void | subMemoryStat (jint size) |
Subtraction of the object's size from statistics. More... | |
virtual void | clearFlag () |
Clearing of flag. More... | |
const AllocThreadObjectMethodKey & | getKey (AllocThreadObjectMethodKey &key) |
Retrieves object's key. More... | |
int | operator== (const AllocThreadObjectMethodKey &key) |
Compares object with given key. More... | |
void | deactivate () |
Performs deactivation. | |
void * | operator new (size_t sz) |
Overloaded new() operator. | |
void | operator delete (void *unit) |
Overloaded delete() operator. | |
virtual eClassIdent | getClassIdent () |
Class identification. More... | |
virtual int | isActive () |
State of object. More... | |
virtual int | isChanged () |
Indication that object has changed its data. More... | |
virtual void | setUnchanged () |
Set the structure is unchanged although it may not be. | |
Static Public Methods | |
int | hashKey (const AllocThreadObjectMethodKey &key) |
Hash function. More... | |
Public Attributes | |
AllocThreadObject * | threadObject |
parent AllocThreadObject. | |
AllocObjectMethod * | objectMethod |
parent AllocObjectMethod. | |
AllocThreadMethod * | threadMethod |
parent AllocThreadMethod. | |
List< AllocThreadObjectTrace, LI1 > | threadObjectTraces |
associated AllocThreadObjectTraces. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class contains statistic information about an object allocated by a method call while running in a thread. So each record is unique triple (object,method,thread).
Definition at line 57 of file allocThreadObjectMethod.h.
|
Addition of the object's size to statistics. This method adds size of object to the statistic data. It changes number of live/total instances, too.
Reimplemented from AllocAbstractStatThreadObject. Definition at line 46 of file allocThreadObjectMethod.cpp. Referenced by AllocThreadObjectTrace::addMemoryStat().
|
|
Clearing of flag. This method sets the modification flag to zero. Reimplemented from AllocAbstractStatThreadObject. Definition at line 70 of file allocThreadObjectMethod.cpp. Referenced by AllocThreadObjectTrace::clearFlag().
|
|
Class identification.
Reimplemented from IdObject. Definition at line 172 of file allocThreadObjectMethod.h. |
|
Retrieves object's key.
Definition at line 89 of file allocThreadObjectMethod.cpp. |
|
Hash function.
Definition at line 101 of file allocThreadObjectMethod.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 106 of file allocThreadObjectMethod.cpp. Referenced by AllocThreadObjectTrace::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 187 of file allocThreadObjectMethod.h. |
|
Compares object with given key.
Definition at line 96 of file allocThreadObjectMethod.cpp. |
|
Subtraction of the object's size from statistics. This method subtracts size of object from the statistic data. It changes number of live instances, too.
Reimplemented from AllocAbstractStatThreadObject. Definition at line 58 of file allocThreadObjectMethod.cpp. Referenced by AllocThreadObjectTrace::subMemoryStat().
|