#include <allocGlobalRef.h>
Inheritance diagram for AllocGlobalRef::
Public Methods | |
AllocGlobalRef () | |
Default constructor. | |
virtual | ~AllocGlobalRef () |
Destructor. | |
const jobject & | getKey (jobject &key) |
Retrieves object's key. More... | |
int | operator== (const jobject &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 jobject &key) |
Hash function. More... | |
Public Attributes | |
AllocInstance * | instance |
object referred to by the global reference. | |
jobject | refId |
JNI global reference. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of data about JNI global reference acquired by receiving a JVMPI_EVENT_JNI_GLOBALREF_ALLOC or a JVMPI_EVENT_JNI_WEAK_GLOBALREF_ALLOC event.
Definition at line 49 of file allocGlobalRef.h.
|
Retrieves object's key.
Definition at line 79 of file allocGlobalRef.h. |
|
Hash function.
Definition at line 98 of file allocGlobalRef.h. |
|
Compares object with given key.
Definition at line 90 of file allocGlobalRef.h. |