#include <allocThreadObjectTrace.h>
Inheritance diagram for AllocThreadObjectTrace::
Public Methods | |
AllocThreadObjectTrace () | |
Default constructor. | |
virtual | ~AllocThreadObjectTrace () |
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 AllocThreadObjectTraceKey & | getKey (AllocThreadObjectTraceKey &key) |
Retrieves object's key. More... | |
int | operator== (const AllocThreadObjectTraceKey &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 AllocThreadObjectTraceKey &key) |
Hash function. More... | |
Public Attributes | |
AllocObjectTrace * | objectTrace |
parent AllocObjectTrace. | |
AllocThreadObjectMethod * | threadObjectMethod |
parent AllocThreadObjectMethod. | |
AllocThreadTrace * | threadTrace |
parent AllocThreadTrace. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of statistic information about an object allocated in the trace (more detailed than method) while running in a thread. Each record is unique triple (object,trace,thread).
Definition at line 54 of file allocThreadObjectTrace.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 allocThreadObjectTrace.cpp. |
|
Clearing of flag. This method sets the modification flag to zero. Reimplemented from AllocAbstractStatThreadObject. Definition at line 70 of file allocThreadObjectTrace.cpp. |
|
Class identification.
Reimplemented from IdObject. Definition at line 166 of file allocThreadObjectTrace.h. |
|
Retrieves object's key.
Definition at line 83 of file allocThreadObjectTrace.cpp. |
|
Hash function.
Definition at line 95 of file allocThreadObjectTrace.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 100 of file allocThreadObjectTrace.cpp. |
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 181 of file allocThreadObjectTrace.h. |
|
Compares object with given key.
Definition at line 90 of file allocThreadObjectTrace.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 allocThreadObjectTrace.cpp. |