#include <allocInstance.h>
Inheritance diagram for AllocInstance::
Public Methods | |
AllocInstance () | |
Default constructor. | |
virtual | ~AllocInstance () |
Destructor. | |
const jobjectID & | getKey (jobjectID &key) |
Retrieves object's key. More... | |
int | operator== (const jobjectID &key) |
Compares object with given key. More... | |
void * | operator new (size_t sz) |
Overloaded new() operator. | |
void | operator delete (void *unit) |
Overloaded delete() operator. | |
Static Public Methods | |
int | hashKey (const jobjectID &key) |
Hash function. More... | |
Public Attributes | |
jint | size |
size in number of bytes. | |
jobjectID | objId |
unique object ID. | |
AllocArena * | arena |
arena of this instance. | |
AllocAbstractStatThreadObject * | objectMethodTraceThread |
Trace/Method/Object/Thread. More... | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of data gained by receiving the JVMPI_EVENT_OBJECT_ALLOC event.
Note: 'objID' is unique till the corresponding Java object exists. When object is garbaged, this data is no more actual, so another object with the same 'objID' can be allocated.
Definition at line 54 of file allocInstance.h.
|
Retrieves object's key.
Definition at line 95 of file allocInstance.h. |
|
Hash function.
Definition at line 114 of file allocInstance.h. |
|
Compares object with given key.
Definition at line 106 of file allocInstance.h. |
|
The type of object depends on the optional depth of profiled information. Definition at line 70 of file allocInstance.h. Referenced by Prof::event_arenaDelete(), Prof::event_objectAlloc(), and Prof::event_objectFree().
|