|
Classes |
struct | jvmtiThreadInfo |
| Thread information structure returned by GetThreadInfo function. More...
|
struct | jvmtiThreadGroupInfo |
| Thread group information structure returned by GetThreadGroupInfo function. More...
|
struct | jvmtiFrameInfo |
| Single stack frame information structure. More...
|
struct | jvmtiStackInfo |
| Single thread stack information structure. More...
|
struct | jvmtiMonitorUsage |
| Monitor usage information structure. More...
|
struct | jvmtiLineNumberEntry |
| Line numbers information structure. More...
|
struct | jvmtiLocalVariableEntry |
| Local variables information structure. More...
|
struct | jvmtiAddrLocationMap |
| Native to bytecode location mapping information. More...
|
struct | jvmtiEventCallbacks |
| Event callbacks table. More...
|
struct | jvmtiParamInfo |
| Arguments information for extension events callbacks. More...
|
struct | jvmtiExtensionFunctionInfo |
| Extenstion functions information structure. More...
|
struct | jvmtiExtensionEventInfo |
| Extension events information structure. More...
|
struct | jvmtiCapabilities |
| Bit table of JVMTI capabilities supported by VM. More...
|
struct | jvmtiTimerInfo |
| Timer information structure. More...
|
struct | jvmtiClassDefinition |
| Class redefinition information structure. More...
|
Defines |
#define | TOTAL_EVENT_TYPE_NUM (JVMTI_MAX_EVENT_TYPE_VAL - JVMTI_MIN_EVENT_TYPE_VAL + 1) |
| Total number of events specified in JVMTI interface.
|
Typedefs |
typedef ti_interface * | jvmtiEnv |
| JVMTI environment definition for use in C sources.
|
typedef jobject | jthread |
| Reference type which describes a java.lang.Thread instance object in native function.
|
typedef jlong | jlocation |
| 64-bit type which defines executable positon inside of method
|
typedef jobject | jthreadGroup |
| Reference type which describes a java.lang.ThreadGroup instance object in native function.
|
typedef int | jrawMonitorID |
| Raw monitor ID type.
|
typedef JNINativeInterface_ | jniNativeInterface |
| JNI API interface table type for usage in C.
|
typedef JNIEnv * | jni_env |
typedef JNIEnv void * | arg |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jlocation | location |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jlocation | location |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jlocation | location |
typedef JNIEnv jthread jmethodID
jlocation jclass | field_clazz |
typedef JNIEnv jthread jmethodID
jlocation jclass jobject | object |
typedef JNIEnv jthread jmethodID
jlocation jclass jobject jfieldID | field |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jlocation | location |
typedef JNIEnv jthread jmethodID
jlocation jclass | field_clazz |
typedef JNIEnv jthread jmethodID
jlocation jclass jobject | object |
typedef JNIEnv jthread jmethodID
jlocation jclass jobject jfieldID | field |
typedef JNIEnv jthread jmethodID
jlocation jclass jobject jfieldID
char | signature_type |
typedef JNIEnv jthread jmethodID
jlocation jclass jobject jfieldID
char jvalue | new_value |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jboolean | was_popped_by_exception |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jboolean | was_popped_by_exception |
typedef JNIEnv jthread jmethodID
jboolean jvalue | return_value |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
void * | address |
typedef JNIEnv jthread jmethodID
void void ** | new_address_ptr |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jlocation | location |
typedef JNIEnv jthread jmethodID
jlocation jobject | exception |
typedef JNIEnv jthread jmethodID
jlocation jobject jmethodID | catch_method |
typedef JNIEnv jthread jmethodID
jlocation jobject jmethodID
jlocation | catch_location |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jmethodID | method |
typedef JNIEnv jthread jmethodID
jlocation | location |
typedef JNIEnv jthread jmethodID
jlocation jobject | exception |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jclass | clazz |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jclass | clazz |
typedef JNIEnv * | jni_env |
typedef JNIEnv jclass | class_being_redefined |
typedef JNIEnv jclass jobject | loader |
typedef JNIEnv jclass jobject
const char * | name |
typedef JNIEnv jclass jobject
const char jobject | protection_domain |
typedef JNIEnv jclass jobject
const char jobject jint | class_data_len |
typedef JNIEnv jclass jobject
const char jobject jint const
unsigned char * | class_data |
typedef JNIEnv jclass jobject
const char jobject jint const
unsigned char jint * | new_class_data_len |
typedef JNIEnv jclass jobject
const char jobject jint const
unsigned char jint unsigned
char ** | new_class_data |
typedef JNIEnv * | jni_env |
typedef JNIEnv * | jni_env |
typedef jmethodID | method |
typedef jmethodID jint | code_size |
typedef jmethodID jint const
void * | code_addr |
typedef jmethodID jint const
void jint | map_length |
typedef jmethodID jint const
void jint const jvmtiAddrLocationMap * | almap |
typedef jmethodID jint const
void jint const jvmtiAddrLocationMap
const void * | compile_info |
typedef jmethodID | method |
typedef jmethodID const void * | code_addr |
typedef const char * | name |
typedef const char const void * | address |
typedef const char const void
jint | length |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jobject | object |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jobject | object |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jobject | object |
typedef JNIEnv jthread jobject
jlong | timeout |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jobject | object |
typedef JNIEnv jthread jobject
jboolean | timed_out |
typedef JNIEnv * | jni_env |
typedef JNIEnv jthread | thread |
typedef JNIEnv jthread jobject | object |
typedef JNIEnv jthread jobject
jclass | object_clazz |
typedef JNIEnv jthread jobject
jclass jlong | size |
typedef jlong | tag |
typedef void * | jvmtiEventReserved |
| Callback type for reserved event types.
|
typedef jlong | size |
typedef jlong jlong * | tag_ptr |
typedef jlong jlong void * | user_data |
typedef jlong | class_tag |
typedef jlong jlong | size |
typedef jlong jlong jlong * | tag_ptr |
typedef jlong jlong jlong
void * | user_data |
typedef jlong | class_tag |
typedef jlong jlong | size |
typedef jlong jlong jlong * | tag_ptr |
typedef jlong jlong jlong
jlong | thread_tag |
typedef jlong jlong jlong
jlong jint | depth |
typedef jlong jlong jlong
jlong jint jmethodID | method |
typedef jlong jlong jlong
jlong jint jmethodID jint | slot |
typedef jlong jlong jlong
jlong jint jmethodID jint
void * | user_data |
typedef jlong | class_tag |
typedef jlong jlong | size |
typedef jlong jlong jlong * | tag_ptr |
typedef jlong jlong jlong
jlong | referrer_tag |
typedef jlong jlong jlong
jlong jint | referrer_index |
typedef jlong jlong jlong
jlong jint void * | user_data |
Enumerations |
enum | jvmtiError {
JVMTI_ERROR_NONE = 0,
JVMTI_ERROR_NULL_POINTER = 100,
JVMTI_ERROR_OUT_OF_MEMORY = 110,
JVMTI_ERROR_ACCESS_DENIED = 111,
JVMTI_ERROR_UNATTACHED_THREAD = 115,
JVMTI_ERROR_INVALID_ENVIRONMENT = 116,
JVMTI_ERROR_WRONG_PHASE = 112,
JVMTI_ERROR_INTERNAL = 113,
JVMTI_ERROR_INVALID_PRIORITY = 12,
JVMTI_ERROR_THREAD_NOT_SUSPENDED = 13,
JVMTI_ERROR_THREAD_SUSPENDED = 14,
JVMTI_ERROR_THREAD_NOT_ALIVE = 15,
JVMTI_ERROR_CLASS_NOT_PREPARED = 22,
JVMTI_ERROR_NO_MORE_FRAMES = 31,
JVMTI_ERROR_OPAQUE_FRAME = 32,
JVMTI_ERROR_DUPLICATE = 40,
JVMTI_ERROR_NOT_FOUND = 41,
JVMTI_ERROR_NOT_MONITOR_OWNER = 51,
JVMTI_ERROR_INTERRUPT = 52,
JVMTI_ERROR_UNMODIFIABLE_CLASS = 79,
JVMTI_ERROR_NOT_AVAILABLE = 98,
JVMTI_ERROR_ABSENT_INFORMATION = 101,
JVMTI_ERROR_INVALID_EVENT_TYPE = 102,
JVMTI_ERROR_NATIVE_METHOD = 104,
JVMTI_ERROR_INVALID_THREAD = 10,
JVMTI_ERROR_INVALID_FIELDID = 25,
JVMTI_ERROR_INVALID_METHODID = 23,
JVMTI_ERROR_INVALID_LOCATION = 24,
JVMTI_ERROR_INVALID_OBJECT = 20,
JVMTI_ERROR_INVALID_CLASS = 21,
JVMTI_ERROR_TYPE_MISMATCH = 34,
JVMTI_ERROR_INVALID_SLOT = 35,
JVMTI_ERROR_MUST_POSSESS_CAPABILITY = 99,
JVMTI_ERROR_INVALID_THREAD_GROUP = 11,
JVMTI_ERROR_INVALID_MONITOR = 50,
JVMTI_ERROR_ILLEGAL_ARGUMENT = 103,
JVMTI_ERROR_INVALID_TYPESTATE = 65,
JVMTI_ERROR_UNSUPPORTED_VERSION = 68,
JVMTI_ERROR_INVALID_CLASS_FORMAT = 60,
JVMTI_ERROR_CIRCULAR_CLASS_DEFINITION = 61,
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED = 63,
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED = 64,
JVMTI_ERROR_FAILS_VERIFICATION = 62,
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED = 66,
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED = 67,
JVMTI_ERROR_NAMES_DONT_MATCH = 69,
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED = 70,
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED = 71,
JVMTI_NYI = 666
} |
| Error codes which JVMTI API functions may return. More...
|
enum | {
JVMTI_CLASS_STATUS_VERIFIED = 1,
JVMTI_CLASS_STATUS_PREPARED = 2,
JVMTI_CLASS_STATUS_INITIALIZED = 4,
JVMTI_CLASS_STATUS_ERROR = 8,
JVMTI_CLASS_STATUS_ARRAY = 16,
JVMTI_CLASS_STATUS_PRIMITIVE = 32
} |
| Class status flags which GetClassStatus function may return. More...
|
enum | {
JVMTI_THREAD_STATE_ALIVE = 0x0001,
JVMTI_THREAD_STATE_TERMINATED = 0x0002,
JVMTI_THREAD_STATE_RUNNABLE = 0x0004,
JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400,
JVMTI_THREAD_STATE_WAITING = 0x0080,
JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010,
JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020,
JVMTI_THREAD_STATE_SLEEPING = 0x0040,
JVMTI_THREAD_STATE_IN_OBJECT_WAIT = 0x0100,
JVMTI_THREAD_STATE_PARKED = 0x0200,
JVMTI_THREAD_STATE_SUSPENDED = 0x100000,
JVMTI_THREAD_STATE_INTERRUPTED = 0x200000,
JVMTI_THREAD_STATE_IN_NATIVE = 0x400000,
JVMTI_THREAD_STATE_VENDOR_1 = 0x10000000,
JVMTI_THREAD_STATE_VENDOR_2 = 0x20000000,
JVMTI_THREAD_STATE_VENDOR_3 = 0x40000000
} |
| Thread states which may be returned by GetThreadState function. More...
|
enum | {
JVMTI_JAVA_LANG_THREAD_STATE_MASK,
JVMTI_JAVA_LANG_THREAD_STATE_NEW = 0,
JVMTI_JAVA_LANG_THREAD_STATE_TERMINATED = JVMTI_THREAD_STATE_TERMINATED,
JVMTI_JAVA_LANG_THREAD_STATE_RUNNABLE,
JVMTI_JAVA_LANG_THREAD_STATE_BLOCKED,
JVMTI_JAVA_LANG_THREAD_STATE_WAITING,
JVMTI_JAVA_LANG_THREAD_STATE_TIMED_WAITING
} |
| Thread states masks which may be used to filter out thread states in bit mask returned by specification function. More...
|
enum | { JVMTI_THREAD_MIN_PRIORITY = 1,
JVMTI_THREAD_NORM_PRIORITY = 5,
JVMTI_THREAD_MAX_PRIORITY = 10
} |
| Thread priorities. More...
|
enum | jvmtiEvent {
JVMTI_MIN_EVENT_TYPE_VAL = 50,
JVMTI_EVENT_VM_INIT = 50,
JVMTI_EVENT_VM_DEATH = 51,
JVMTI_EVENT_THREAD_START = 52,
JVMTI_EVENT_THREAD_END = 53,
JVMTI_EVENT_CLASS_FILE_LOAD_HOOK = 54,
JVMTI_EVENT_CLASS_LOAD = 55,
JVMTI_EVENT_CLASS_PREPARE = 56,
JVMTI_EVENT_VM_START = 57,
JVMTI_EVENT_EXCEPTION = 58,
JVMTI_EVENT_EXCEPTION_CATCH = 59,
JVMTI_EVENT_SINGLE_STEP = 60,
JVMTI_EVENT_FRAME_POP = 61,
JVMTI_EVENT_BREAKPOINT = 62,
JVMTI_EVENT_FIELD_ACCESS = 63,
JVMTI_EVENT_FIELD_MODIFICATION = 64,
JVMTI_EVENT_METHOD_ENTRY = 65,
JVMTI_EVENT_METHOD_EXIT = 66,
JVMTI_EVENT_NATIVE_METHOD_BIND = 67,
JVMTI_EVENT_COMPILED_METHOD_LOAD = 68,
JVMTI_EVENT_COMPILED_METHOD_UNLOAD = 69,
JVMTI_EVENT_DYNAMIC_CODE_GENERATED = 70,
JVMTI_EVENT_DATA_DUMP_REQUEST = 71,
JVMTI_EVENT_DATA_RESET_REQUEST = 72,
JVMTI_EVENT_MONITOR_WAIT = 73,
JVMTI_EVENT_MONITOR_WAITED = 74,
JVMTI_EVENT_MONITOR_CONTENDED_ENTER = 75,
JVMTI_EVENT_MONITOR_CONTENDED_ENTERED = 76,
JVMTI_EVENT_GARBAGE_COLLECTION_START = 81,
JVMTI_EVENT_GARBAGE_COLLECTION_FINISH = 82,
JVMTI_EVENT_OBJECT_FREE = 83,
JVMTI_EVENT_VM_OBJECT_ALLOC = 84,
JVMTI_MAX_EVENT_TYPE_VAL = 84
} |
| Event numbers. More...
|
enum | jvmtiHeapRootKind {
JVMTI_HEAP_ROOT_JNI_GLOBAL = 1,
JVMTI_HEAP_ROOT_SYSTEM_CLASS = 2,
JVMTI_HEAP_ROOT_MONITOR = 3,
JVMTI_HEAP_ROOT_STACK_LOCAL = 4,
JVMTI_HEAP_ROOT_JNI_LOCAL = 5,
JVMTI_HEAP_ROOT_THREAD = 6,
JVMTI_HEAP_ROOT_OTHER = 7
} |
| Root types used in JVMTI heap iteration. More...
|
enum | jvmtiIterationControl { JVMTI_ITERATION_CONTINUE = 1,
JVMTI_ITERATION_IGNORE = 2,
JVMTI_ITERATION_ABORT = 0
} |
| Generic iteration control used in JVMTI heap iteration. More...
|
enum | jvmtiObjectReferenceKind {
JVMTI_REFERENCE_CLASS = 1,
JVMTI_REFERENCE_FIELD = 2,
JVMTI_REFERENCE_ARRAY_ELEMENT = 3,
JVMTI_REFERENCE_CLASS_LOADER = 4,
JVMTI_REFERENCE_SIGNERS = 5,
JVMTI_REFERENCE_PROTECTION_DOMAIN = 6,
JVMTI_REFERENCE_INTERFACE = 7,
JVMTI_REFERENCE_STATIC_FIELD = 8,
JVMTI_REFERENCE_CONSTANT_POOL = 9
} |
| Describes enumerated references in JVMTI heap iteration. More...
|
enum | jvmtiHeapObjectFilter { JVMTI_HEAP_OBJECT_TAGGED = 1,
JVMTI_HEAP_OBJECT_UNTAGGED = 2,
JVMTI_HEAP_OBJECT_EITHER = 3
} |
| Tagged objects filters used in JVMTI heap iteration. More...
|
enum | jvmtiParamKind {
JVMTI_KIND_IN = 91,
JVMTI_KIND_IN_PTR = 92,
JVMTI_KIND_IN_BUF = 93,
JVMTI_KIND_ALLOC_BUF = 94,
JVMTI_KIND_ALLOC_ALLOC_BUF = 95,
JVMTI_KIND_OUT = 96,
JVMTI_KIND_OUT_BUF = 97
} |
| Arguments kinds for extension events callbacks. More...
|
enum | jvmtiParamTypes {
JVMTI_TYPE_JBYTE = 101,
JVMTI_TYPE_JCHAR = 102,
JVMTI_TYPE_JSHORT = 103,
JVMTI_TYPE_JINT = 104,
JVMTI_TYPE_JLONG = 105,
JVMTI_TYPE_JFLOAT = 106,
JVMTI_TYPE_JDOUBLE = 107,
JVMTI_TYPE_JBOOLEAN = 108,
JVMTI_TYPE_JOBJECT = 109,
JVMTI_TYPE_JTHREAD = 110,
JVMTI_TYPE_JCLASS = 111,
JVMTI_TYPE_JVALUE = 112,
JVMTI_TYPE_JFIELDID = 113,
JVMTI_TYPE_JMETHODID = 114,
JVMTI_TYPE_CCHAR = 115,
JVMTI_TYPE_CVOID = 116,
JVMTI_TYPE_JNIENV = 117
} |
| Arguments types for extension events callbacks. More...
|
enum | jvmtiEventMode { JVMTI_ENABLE = 1,
JVMTI_DISABLE = 0
} |
| Event generation mode. More...
|
enum | jvmtiTimerKind { JVMTI_TIMER_USER_CPU = 30,
JVMTI_TIMER_TOTAL_CPU = 31,
JVMTI_TIMER_ELAPSED = 32
} |
| Timer type identifier. More...
|
enum | jvmtiPhase {
JVMTI_PHASE_ONLOAD = 1,
JVMTI_PHASE_PRIMORDIAL = 2,
JVMTI_PHASE_START = 6,
JVMTI_PHASE_LIVE = 4,
JVMTI_PHASE_DEAD = 8
} |
| VM operation phase identifier. More...
|
enum | jvmtiVerboseFlag { JVMTI_VERBOSE_OTHER = 0,
JVMTI_VERBOSE_GC = 1,
JVMTI_VERBOSE_CLASS = 2,
JVMTI_VERBOSE_JNI = 4
} |
| VM verbosity level. More...
|
enum | jvmtiJlocationFormat { JVMTI_JLOCATION_JVMBCI = 1,
JVMTI_JLOCATION_MACHINEPC = 2,
JVMTI_JLOCATION_OTHER = 0
} |
| JLocation format identifier. More...
|
Functions |
typedef | void (JNICALL *jvmtiStartFunction)(jvmtiEnv *jvmti_env |
| Pointer to a function which could be launched as a separate agent thread.
|
typedef | jvmtiError (JNICALL *jvmtiExtensionFunction)(jvmtiEnv *jvmti_env |
| Callback function type for extension events.
|
typedef | jvmtiIterationControl (JNICALL *jvmtiHeapObjectCallback)(jlong class_tag |
| Callback function type for heap iteration callback which is called for all objects.
|