#include <method.h>
Inheritance diagram for Method::
Public Methods | |
Method () | |
Default constructor. | |
virtual | ~Method () |
Destructor. | |
const jmethodID & | getKey (jmethodID &key) |
Retrieves object's key. More... | |
int | operator== (const jmethodID &key) |
Compares object with given key. More... | |
virtual Buffer & | infoToBin (Buffer &b) |
Convert info to binary. 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 jmethodID &key) |
Hash function. More... | |
Public Attributes | |
String | methodName |
name of method. | |
String | methodSignature |
signature of method. | |
jint | startLineno |
start line number in the source file. | |
jint | endLineno |
end line number in the source file. | |
jmethodID | methodId |
ID given to this method. | |
Class * | clss |
parent class. | |
List< AllocTrace, LI2 > | allocTraces |
associated AllocTraces. | |
List< AllocObjectMethod, LI2 > | allocObjectMethods |
associated AllocObjectMethods. | |
List< AllocThreadMethod, LI3 > | allocThreadMethods |
associated AllocThreadMethods. | |
List< CpuTrace, LI2 > | cpuTraces |
associated CpuTraces. | |
List< CpuThreadMethod, LI3 > | cpuThreadMethods |
associated CpuThreadMethods. | |
List< MonTrace, LI2 > | monTraces |
associated MonTraces. | |
List< MonThreadMethod, LI3 > | monThreadMethods |
associated MonThreadMethods. | |
Static Private Attributes | |
Allocator | _allocator |
method allocator. |
This class consists of data about loaded Java method (gained by receiving a JVMPI_EVENT_CLASS_LOAD event).
Definition at line 65 of file method.h.
|
Class identification.
Reimplemented from IdObject. |
|
Retrieves object's key.
Definition at line 136 of file method.h. Referenced by MonThreadMethod::getKey(), CpuThreadMethod::getKey(), AllocThreadMethod::getKey(), and AllocObjectMethod::getKey().
|
|
Hash function.
Definition at line 155 of file method.h. Referenced by Trace::hashKey().
|
|
Convert info to binary. This method converts information data to binary format in which it is sent thru communication interface to client.
Reimplemented from InfoBinaryFormat. Definition at line 49 of file method.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 101 of file method.cpp. Referenced by MonTrace::isActive(), MonThreadMethod::isActive(), CpuTrace::isActive(), CpuThreadMethod::isActive(), AllocTrace::isActive(), AllocThreadMethod::isActive(), and AllocObjectMethod::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 106 of file method.cpp. |
|
Compares object with given key.
|