Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/lib/jvm/java-ope.../include
File: jvmti.h
/*
[0] Fix | Delete
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
[1] Fix | Delete
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
[2] Fix | Delete
*
[3] Fix | Delete
* This code is free software; you can redistribute it and/or modify it
[4] Fix | Delete
* under the terms of the GNU General Public License version 2 only, as
[5] Fix | Delete
* published by the Free Software Foundation. Oracle designates this
[6] Fix | Delete
* particular file as subject to the "Classpath" exception as provided
[7] Fix | Delete
* by Oracle in the LICENSE file that accompanied this code.
[8] Fix | Delete
*
[9] Fix | Delete
* This code is distributed in the hope that it will be useful, but WITHOUT
[10] Fix | Delete
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
[11] Fix | Delete
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
[12] Fix | Delete
* version 2 for more details (a copy is included in the LICENSE file that
[13] Fix | Delete
* accompanied this code).
[14] Fix | Delete
*
[15] Fix | Delete
* You should have received a copy of the GNU General Public License version
[16] Fix | Delete
* 2 along with this work; if not, write to the Free Software Foundation,
[17] Fix | Delete
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
[18] Fix | Delete
*
[19] Fix | Delete
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
[20] Fix | Delete
* or visit www.oracle.com if you need additional information or have any
[21] Fix | Delete
* questions.
[22] Fix | Delete
*/
[23] Fix | Delete
[24] Fix | Delete
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
[25] Fix | Delete
[26] Fix | Delete
[27] Fix | Delete
/* Include file for the Java(tm) Virtual Machine Tool Interface */
[28] Fix | Delete
[29] Fix | Delete
#ifndef _JAVA_JVMTI_H_
[30] Fix | Delete
#define _JAVA_JVMTI_H_
[31] Fix | Delete
[32] Fix | Delete
#include "jni.h"
[33] Fix | Delete
[34] Fix | Delete
#ifdef __cplusplus
[35] Fix | Delete
extern "C" {
[36] Fix | Delete
#endif
[37] Fix | Delete
[38] Fix | Delete
enum {
[39] Fix | Delete
JVMTI_VERSION_1 = 0x30010000,
[40] Fix | Delete
JVMTI_VERSION_1_0 = 0x30010000,
[41] Fix | Delete
JVMTI_VERSION_1_1 = 0x30010100,
[42] Fix | Delete
JVMTI_VERSION_1_2 = 0x30010200,
[43] Fix | Delete
[44] Fix | Delete
JVMTI_VERSION = 0x30000000 + (1 * 0x10000) + (2 * 0x100) + 1 /* version: 1.2.1 */
[45] Fix | Delete
};
[46] Fix | Delete
[47] Fix | Delete
JNIEXPORT jint JNICALL
[48] Fix | Delete
Agent_OnLoad(JavaVM *vm, char *options, void *reserved);
[49] Fix | Delete
[50] Fix | Delete
JNIEXPORT jint JNICALL
[51] Fix | Delete
Agent_OnAttach(JavaVM* vm, char* options, void* reserved);
[52] Fix | Delete
[53] Fix | Delete
JNIEXPORT void JNICALL
[54] Fix | Delete
Agent_OnUnload(JavaVM *vm);
[55] Fix | Delete
[56] Fix | Delete
/* Forward declaration of the environment */
[57] Fix | Delete
[58] Fix | Delete
struct _jvmtiEnv;
[59] Fix | Delete
[60] Fix | Delete
struct jvmtiInterface_1_;
[61] Fix | Delete
[62] Fix | Delete
#ifdef __cplusplus
[63] Fix | Delete
typedef _jvmtiEnv jvmtiEnv;
[64] Fix | Delete
#else
[65] Fix | Delete
typedef const struct jvmtiInterface_1_ *jvmtiEnv;
[66] Fix | Delete
#endif /* __cplusplus */
[67] Fix | Delete
[68] Fix | Delete
/* Derived Base Types */
[69] Fix | Delete
[70] Fix | Delete
typedef jobject jthread;
[71] Fix | Delete
typedef jobject jthreadGroup;
[72] Fix | Delete
typedef jlong jlocation;
[73] Fix | Delete
struct _jrawMonitorID;
[74] Fix | Delete
typedef struct _jrawMonitorID *jrawMonitorID;
[75] Fix | Delete
typedef struct JNINativeInterface_ jniNativeInterface;
[76] Fix | Delete
[77] Fix | Delete
/* Constants */
[78] Fix | Delete
[79] Fix | Delete
[80] Fix | Delete
/* Thread State Flags */
[81] Fix | Delete
[82] Fix | Delete
enum {
[83] Fix | Delete
JVMTI_THREAD_STATE_ALIVE = 0x0001,
[84] Fix | Delete
JVMTI_THREAD_STATE_TERMINATED = 0x0002,
[85] Fix | Delete
JVMTI_THREAD_STATE_RUNNABLE = 0x0004,
[86] Fix | Delete
JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400,
[87] Fix | Delete
JVMTI_THREAD_STATE_WAITING = 0x0080,
[88] Fix | Delete
JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010,
[89] Fix | Delete
JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020,
[90] Fix | Delete
JVMTI_THREAD_STATE_SLEEPING = 0x0040,
[91] Fix | Delete
JVMTI_THREAD_STATE_IN_OBJECT_WAIT = 0x0100,
[92] Fix | Delete
JVMTI_THREAD_STATE_PARKED = 0x0200,
[93] Fix | Delete
JVMTI_THREAD_STATE_SUSPENDED = 0x100000,
[94] Fix | Delete
JVMTI_THREAD_STATE_INTERRUPTED = 0x200000,
[95] Fix | Delete
JVMTI_THREAD_STATE_IN_NATIVE = 0x400000,
[96] Fix | Delete
JVMTI_THREAD_STATE_VENDOR_1 = 0x10000000,
[97] Fix | Delete
JVMTI_THREAD_STATE_VENDOR_2 = 0x20000000,
[98] Fix | Delete
JVMTI_THREAD_STATE_VENDOR_3 = 0x40000000
[99] Fix | Delete
};
[100] Fix | Delete
[101] Fix | Delete
/* java.lang.Thread.State Conversion Masks */
[102] Fix | Delete
[103] Fix | Delete
enum {
[104] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_MASK = JVMTI_THREAD_STATE_TERMINATED | JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT,
[105] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_NEW = 0,
[106] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_TERMINATED = JVMTI_THREAD_STATE_TERMINATED,
[107] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_RUNNABLE = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE,
[108] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_BLOCKED = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER,
[109] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY,
[110] Fix | Delete
JVMTI_JAVA_LANG_THREAD_STATE_TIMED_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT
[111] Fix | Delete
};
[112] Fix | Delete
[113] Fix | Delete
/* Thread Priority Constants */
[114] Fix | Delete
[115] Fix | Delete
enum {
[116] Fix | Delete
JVMTI_THREAD_MIN_PRIORITY = 1,
[117] Fix | Delete
JVMTI_THREAD_NORM_PRIORITY = 5,
[118] Fix | Delete
JVMTI_THREAD_MAX_PRIORITY = 10
[119] Fix | Delete
};
[120] Fix | Delete
[121] Fix | Delete
/* Heap Filter Flags */
[122] Fix | Delete
[123] Fix | Delete
enum {
[124] Fix | Delete
JVMTI_HEAP_FILTER_TAGGED = 0x4,
[125] Fix | Delete
JVMTI_HEAP_FILTER_UNTAGGED = 0x8,
[126] Fix | Delete
JVMTI_HEAP_FILTER_CLASS_TAGGED = 0x10,
[127] Fix | Delete
JVMTI_HEAP_FILTER_CLASS_UNTAGGED = 0x20
[128] Fix | Delete
};
[129] Fix | Delete
[130] Fix | Delete
/* Heap Visit Control Flags */
[131] Fix | Delete
[132] Fix | Delete
enum {
[133] Fix | Delete
JVMTI_VISIT_OBJECTS = 0x100,
[134] Fix | Delete
JVMTI_VISIT_ABORT = 0x8000
[135] Fix | Delete
};
[136] Fix | Delete
[137] Fix | Delete
/* Heap Reference Enumeration */
[138] Fix | Delete
[139] Fix | Delete
typedef enum {
[140] Fix | Delete
JVMTI_HEAP_REFERENCE_CLASS = 1,
[141] Fix | Delete
JVMTI_HEAP_REFERENCE_FIELD = 2,
[142] Fix | Delete
JVMTI_HEAP_REFERENCE_ARRAY_ELEMENT = 3,
[143] Fix | Delete
JVMTI_HEAP_REFERENCE_CLASS_LOADER = 4,
[144] Fix | Delete
JVMTI_HEAP_REFERENCE_SIGNERS = 5,
[145] Fix | Delete
JVMTI_HEAP_REFERENCE_PROTECTION_DOMAIN = 6,
[146] Fix | Delete
JVMTI_HEAP_REFERENCE_INTERFACE = 7,
[147] Fix | Delete
JVMTI_HEAP_REFERENCE_STATIC_FIELD = 8,
[148] Fix | Delete
JVMTI_HEAP_REFERENCE_CONSTANT_POOL = 9,
[149] Fix | Delete
JVMTI_HEAP_REFERENCE_SUPERCLASS = 10,
[150] Fix | Delete
JVMTI_HEAP_REFERENCE_JNI_GLOBAL = 21,
[151] Fix | Delete
JVMTI_HEAP_REFERENCE_SYSTEM_CLASS = 22,
[152] Fix | Delete
JVMTI_HEAP_REFERENCE_MONITOR = 23,
[153] Fix | Delete
JVMTI_HEAP_REFERENCE_STACK_LOCAL = 24,
[154] Fix | Delete
JVMTI_HEAP_REFERENCE_JNI_LOCAL = 25,
[155] Fix | Delete
JVMTI_HEAP_REFERENCE_THREAD = 26,
[156] Fix | Delete
JVMTI_HEAP_REFERENCE_OTHER = 27
[157] Fix | Delete
} jvmtiHeapReferenceKind;
[158] Fix | Delete
[159] Fix | Delete
/* Primitive Type Enumeration */
[160] Fix | Delete
[161] Fix | Delete
typedef enum {
[162] Fix | Delete
JVMTI_PRIMITIVE_TYPE_BOOLEAN = 90,
[163] Fix | Delete
JVMTI_PRIMITIVE_TYPE_BYTE = 66,
[164] Fix | Delete
JVMTI_PRIMITIVE_TYPE_CHAR = 67,
[165] Fix | Delete
JVMTI_PRIMITIVE_TYPE_SHORT = 83,
[166] Fix | Delete
JVMTI_PRIMITIVE_TYPE_INT = 73,
[167] Fix | Delete
JVMTI_PRIMITIVE_TYPE_LONG = 74,
[168] Fix | Delete
JVMTI_PRIMITIVE_TYPE_FLOAT = 70,
[169] Fix | Delete
JVMTI_PRIMITIVE_TYPE_DOUBLE = 68
[170] Fix | Delete
} jvmtiPrimitiveType;
[171] Fix | Delete
[172] Fix | Delete
/* Heap Object Filter Enumeration */
[173] Fix | Delete
[174] Fix | Delete
typedef enum {
[175] Fix | Delete
JVMTI_HEAP_OBJECT_TAGGED = 1,
[176] Fix | Delete
JVMTI_HEAP_OBJECT_UNTAGGED = 2,
[177] Fix | Delete
JVMTI_HEAP_OBJECT_EITHER = 3
[178] Fix | Delete
} jvmtiHeapObjectFilter;
[179] Fix | Delete
[180] Fix | Delete
/* Heap Root Kind Enumeration */
[181] Fix | Delete
[182] Fix | Delete
typedef enum {
[183] Fix | Delete
JVMTI_HEAP_ROOT_JNI_GLOBAL = 1,
[184] Fix | Delete
JVMTI_HEAP_ROOT_SYSTEM_CLASS = 2,
[185] Fix | Delete
JVMTI_HEAP_ROOT_MONITOR = 3,
[186] Fix | Delete
JVMTI_HEAP_ROOT_STACK_LOCAL = 4,
[187] Fix | Delete
JVMTI_HEAP_ROOT_JNI_LOCAL = 5,
[188] Fix | Delete
JVMTI_HEAP_ROOT_THREAD = 6,
[189] Fix | Delete
JVMTI_HEAP_ROOT_OTHER = 7
[190] Fix | Delete
} jvmtiHeapRootKind;
[191] Fix | Delete
[192] Fix | Delete
/* Object Reference Enumeration */
[193] Fix | Delete
[194] Fix | Delete
typedef enum {
[195] Fix | Delete
JVMTI_REFERENCE_CLASS = 1,
[196] Fix | Delete
JVMTI_REFERENCE_FIELD = 2,
[197] Fix | Delete
JVMTI_REFERENCE_ARRAY_ELEMENT = 3,
[198] Fix | Delete
JVMTI_REFERENCE_CLASS_LOADER = 4,
[199] Fix | Delete
JVMTI_REFERENCE_SIGNERS = 5,
[200] Fix | Delete
JVMTI_REFERENCE_PROTECTION_DOMAIN = 6,
[201] Fix | Delete
JVMTI_REFERENCE_INTERFACE = 7,
[202] Fix | Delete
JVMTI_REFERENCE_STATIC_FIELD = 8,
[203] Fix | Delete
JVMTI_REFERENCE_CONSTANT_POOL = 9
[204] Fix | Delete
} jvmtiObjectReferenceKind;
[205] Fix | Delete
[206] Fix | Delete
/* Iteration Control Enumeration */
[207] Fix | Delete
[208] Fix | Delete
typedef enum {
[209] Fix | Delete
JVMTI_ITERATION_CONTINUE = 1,
[210] Fix | Delete
JVMTI_ITERATION_IGNORE = 2,
[211] Fix | Delete
JVMTI_ITERATION_ABORT = 0
[212] Fix | Delete
} jvmtiIterationControl;
[213] Fix | Delete
[214] Fix | Delete
/* Class Status Flags */
[215] Fix | Delete
[216] Fix | Delete
enum {
[217] Fix | Delete
JVMTI_CLASS_STATUS_VERIFIED = 1,
[218] Fix | Delete
JVMTI_CLASS_STATUS_PREPARED = 2,
[219] Fix | Delete
JVMTI_CLASS_STATUS_INITIALIZED = 4,
[220] Fix | Delete
JVMTI_CLASS_STATUS_ERROR = 8,
[221] Fix | Delete
JVMTI_CLASS_STATUS_ARRAY = 16,
[222] Fix | Delete
JVMTI_CLASS_STATUS_PRIMITIVE = 32
[223] Fix | Delete
};
[224] Fix | Delete
[225] Fix | Delete
/* Event Enable/Disable */
[226] Fix | Delete
[227] Fix | Delete
typedef enum {
[228] Fix | Delete
JVMTI_ENABLE = 1,
[229] Fix | Delete
JVMTI_DISABLE = 0
[230] Fix | Delete
} jvmtiEventMode;
[231] Fix | Delete
[232] Fix | Delete
/* Extension Function/Event Parameter Types */
[233] Fix | Delete
[234] Fix | Delete
typedef enum {
[235] Fix | Delete
JVMTI_TYPE_JBYTE = 101,
[236] Fix | Delete
JVMTI_TYPE_JCHAR = 102,
[237] Fix | Delete
JVMTI_TYPE_JSHORT = 103,
[238] Fix | Delete
JVMTI_TYPE_JINT = 104,
[239] Fix | Delete
JVMTI_TYPE_JLONG = 105,
[240] Fix | Delete
JVMTI_TYPE_JFLOAT = 106,
[241] Fix | Delete
JVMTI_TYPE_JDOUBLE = 107,
[242] Fix | Delete
JVMTI_TYPE_JBOOLEAN = 108,
[243] Fix | Delete
JVMTI_TYPE_JOBJECT = 109,
[244] Fix | Delete
JVMTI_TYPE_JTHREAD = 110,
[245] Fix | Delete
JVMTI_TYPE_JCLASS = 111,
[246] Fix | Delete
JVMTI_TYPE_JVALUE = 112,
[247] Fix | Delete
JVMTI_TYPE_JFIELDID = 113,
[248] Fix | Delete
JVMTI_TYPE_JMETHODID = 114,
[249] Fix | Delete
JVMTI_TYPE_CCHAR = 115,
[250] Fix | Delete
JVMTI_TYPE_CVOID = 116,
[251] Fix | Delete
JVMTI_TYPE_JNIENV = 117
[252] Fix | Delete
} jvmtiParamTypes;
[253] Fix | Delete
[254] Fix | Delete
/* Extension Function/Event Parameter Kinds */
[255] Fix | Delete
[256] Fix | Delete
typedef enum {
[257] Fix | Delete
JVMTI_KIND_IN = 91,
[258] Fix | Delete
JVMTI_KIND_IN_PTR = 92,
[259] Fix | Delete
JVMTI_KIND_IN_BUF = 93,
[260] Fix | Delete
JVMTI_KIND_ALLOC_BUF = 94,
[261] Fix | Delete
JVMTI_KIND_ALLOC_ALLOC_BUF = 95,
[262] Fix | Delete
JVMTI_KIND_OUT = 96,
[263] Fix | Delete
JVMTI_KIND_OUT_BUF = 97
[264] Fix | Delete
} jvmtiParamKind;
[265] Fix | Delete
[266] Fix | Delete
/* Timer Kinds */
[267] Fix | Delete
[268] Fix | Delete
typedef enum {
[269] Fix | Delete
JVMTI_TIMER_USER_CPU = 30,
[270] Fix | Delete
JVMTI_TIMER_TOTAL_CPU = 31,
[271] Fix | Delete
JVMTI_TIMER_ELAPSED = 32
[272] Fix | Delete
} jvmtiTimerKind;
[273] Fix | Delete
[274] Fix | Delete
/* Phases of execution */
[275] Fix | Delete
[276] Fix | Delete
typedef enum {
[277] Fix | Delete
JVMTI_PHASE_ONLOAD = 1,
[278] Fix | Delete
JVMTI_PHASE_PRIMORDIAL = 2,
[279] Fix | Delete
JVMTI_PHASE_START = 6,
[280] Fix | Delete
JVMTI_PHASE_LIVE = 4,
[281] Fix | Delete
JVMTI_PHASE_DEAD = 8
[282] Fix | Delete
} jvmtiPhase;
[283] Fix | Delete
[284] Fix | Delete
/* Version Interface Types */
[285] Fix | Delete
[286] Fix | Delete
enum {
[287] Fix | Delete
JVMTI_VERSION_INTERFACE_JNI = 0x00000000,
[288] Fix | Delete
JVMTI_VERSION_INTERFACE_JVMTI = 0x30000000
[289] Fix | Delete
};
[290] Fix | Delete
[291] Fix | Delete
/* Version Masks */
[292] Fix | Delete
[293] Fix | Delete
enum {
[294] Fix | Delete
JVMTI_VERSION_MASK_INTERFACE_TYPE = 0x70000000,
[295] Fix | Delete
JVMTI_VERSION_MASK_MAJOR = 0x0FFF0000,
[296] Fix | Delete
JVMTI_VERSION_MASK_MINOR = 0x0000FF00,
[297] Fix | Delete
JVMTI_VERSION_MASK_MICRO = 0x000000FF
[298] Fix | Delete
};
[299] Fix | Delete
[300] Fix | Delete
/* Version Shifts */
[301] Fix | Delete
[302] Fix | Delete
enum {
[303] Fix | Delete
JVMTI_VERSION_SHIFT_MAJOR = 16,
[304] Fix | Delete
JVMTI_VERSION_SHIFT_MINOR = 8,
[305] Fix | Delete
JVMTI_VERSION_SHIFT_MICRO = 0
[306] Fix | Delete
};
[307] Fix | Delete
[308] Fix | Delete
/* Verbose Flag Enumeration */
[309] Fix | Delete
[310] Fix | Delete
typedef enum {
[311] Fix | Delete
JVMTI_VERBOSE_OTHER = 0,
[312] Fix | Delete
JVMTI_VERBOSE_GC = 1,
[313] Fix | Delete
JVMTI_VERBOSE_CLASS = 2,
[314] Fix | Delete
JVMTI_VERBOSE_JNI = 4
[315] Fix | Delete
} jvmtiVerboseFlag;
[316] Fix | Delete
[317] Fix | Delete
/* JLocation Format Enumeration */
[318] Fix | Delete
[319] Fix | Delete
typedef enum {
[320] Fix | Delete
JVMTI_JLOCATION_JVMBCI = 1,
[321] Fix | Delete
JVMTI_JLOCATION_MACHINEPC = 2,
[322] Fix | Delete
JVMTI_JLOCATION_OTHER = 0
[323] Fix | Delete
} jvmtiJlocationFormat;
[324] Fix | Delete
[325] Fix | Delete
/* Resource Exhaustion Flags */
[326] Fix | Delete
[327] Fix | Delete
enum {
[328] Fix | Delete
JVMTI_RESOURCE_EXHAUSTED_OOM_ERROR = 0x0001,
[329] Fix | Delete
JVMTI_RESOURCE_EXHAUSTED_JAVA_HEAP = 0x0002,
[330] Fix | Delete
JVMTI_RESOURCE_EXHAUSTED_THREADS = 0x0004
[331] Fix | Delete
};
[332] Fix | Delete
[333] Fix | Delete
/* Errors */
[334] Fix | Delete
[335] Fix | Delete
typedef enum {
[336] Fix | Delete
JVMTI_ERROR_NONE = 0,
[337] Fix | Delete
JVMTI_ERROR_INVALID_THREAD = 10,
[338] Fix | Delete
JVMTI_ERROR_INVALID_THREAD_GROUP = 11,
[339] Fix | Delete
JVMTI_ERROR_INVALID_PRIORITY = 12,
[340] Fix | Delete
JVMTI_ERROR_THREAD_NOT_SUSPENDED = 13,
[341] Fix | Delete
JVMTI_ERROR_THREAD_SUSPENDED = 14,
[342] Fix | Delete
JVMTI_ERROR_THREAD_NOT_ALIVE = 15,
[343] Fix | Delete
JVMTI_ERROR_INVALID_OBJECT = 20,
[344] Fix | Delete
JVMTI_ERROR_INVALID_CLASS = 21,
[345] Fix | Delete
JVMTI_ERROR_CLASS_NOT_PREPARED = 22,
[346] Fix | Delete
JVMTI_ERROR_INVALID_METHODID = 23,
[347] Fix | Delete
JVMTI_ERROR_INVALID_LOCATION = 24,
[348] Fix | Delete
JVMTI_ERROR_INVALID_FIELDID = 25,
[349] Fix | Delete
JVMTI_ERROR_NO_MORE_FRAMES = 31,
[350] Fix | Delete
JVMTI_ERROR_OPAQUE_FRAME = 32,
[351] Fix | Delete
JVMTI_ERROR_TYPE_MISMATCH = 34,
[352] Fix | Delete
JVMTI_ERROR_INVALID_SLOT = 35,
[353] Fix | Delete
JVMTI_ERROR_DUPLICATE = 40,
[354] Fix | Delete
JVMTI_ERROR_NOT_FOUND = 41,
[355] Fix | Delete
JVMTI_ERROR_INVALID_MONITOR = 50,
[356] Fix | Delete
JVMTI_ERROR_NOT_MONITOR_OWNER = 51,
[357] Fix | Delete
JVMTI_ERROR_INTERRUPT = 52,
[358] Fix | Delete
JVMTI_ERROR_INVALID_CLASS_FORMAT = 60,
[359] Fix | Delete
JVMTI_ERROR_CIRCULAR_CLASS_DEFINITION = 61,
[360] Fix | Delete
JVMTI_ERROR_FAILS_VERIFICATION = 62,
[361] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED = 63,
[362] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED = 64,
[363] Fix | Delete
JVMTI_ERROR_INVALID_TYPESTATE = 65,
[364] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED = 66,
[365] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED = 67,
[366] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_VERSION = 68,
[367] Fix | Delete
JVMTI_ERROR_NAMES_DONT_MATCH = 69,
[368] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED = 70,
[369] Fix | Delete
JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED = 71,
[370] Fix | Delete
JVMTI_ERROR_UNMODIFIABLE_CLASS = 79,
[371] Fix | Delete
JVMTI_ERROR_NOT_AVAILABLE = 98,
[372] Fix | Delete
JVMTI_ERROR_MUST_POSSESS_CAPABILITY = 99,
[373] Fix | Delete
JVMTI_ERROR_NULL_POINTER = 100,
[374] Fix | Delete
JVMTI_ERROR_ABSENT_INFORMATION = 101,
[375] Fix | Delete
JVMTI_ERROR_INVALID_EVENT_TYPE = 102,
[376] Fix | Delete
JVMTI_ERROR_ILLEGAL_ARGUMENT = 103,
[377] Fix | Delete
JVMTI_ERROR_NATIVE_METHOD = 104,
[378] Fix | Delete
JVMTI_ERROR_CLASS_LOADER_UNSUPPORTED = 106,
[379] Fix | Delete
JVMTI_ERROR_OUT_OF_MEMORY = 110,
[380] Fix | Delete
JVMTI_ERROR_ACCESS_DENIED = 111,
[381] Fix | Delete
JVMTI_ERROR_WRONG_PHASE = 112,
[382] Fix | Delete
JVMTI_ERROR_INTERNAL = 113,
[383] Fix | Delete
JVMTI_ERROR_UNATTACHED_THREAD = 115,
[384] Fix | Delete
JVMTI_ERROR_INVALID_ENVIRONMENT = 116,
[385] Fix | Delete
JVMTI_ERROR_MAX = 116
[386] Fix | Delete
} jvmtiError;
[387] Fix | Delete
[388] Fix | Delete
/* Event IDs */
[389] Fix | Delete
[390] Fix | Delete
typedef enum {
[391] Fix | Delete
JVMTI_MIN_EVENT_TYPE_VAL = 50,
[392] Fix | Delete
JVMTI_EVENT_VM_INIT = 50,
[393] Fix | Delete
JVMTI_EVENT_VM_DEATH = 51,
[394] Fix | Delete
JVMTI_EVENT_THREAD_START = 52,
[395] Fix | Delete
JVMTI_EVENT_THREAD_END = 53,
[396] Fix | Delete
JVMTI_EVENT_CLASS_FILE_LOAD_HOOK = 54,
[397] Fix | Delete
JVMTI_EVENT_CLASS_LOAD = 55,
[398] Fix | Delete
JVMTI_EVENT_CLASS_PREPARE = 56,
[399] Fix | Delete
JVMTI_EVENT_VM_START = 57,
[400] Fix | Delete
JVMTI_EVENT_EXCEPTION = 58,
[401] Fix | Delete
JVMTI_EVENT_EXCEPTION_CATCH = 59,
[402] Fix | Delete
JVMTI_EVENT_SINGLE_STEP = 60,
[403] Fix | Delete
JVMTI_EVENT_FRAME_POP = 61,
[404] Fix | Delete
JVMTI_EVENT_BREAKPOINT = 62,
[405] Fix | Delete
JVMTI_EVENT_FIELD_ACCESS = 63,
[406] Fix | Delete
JVMTI_EVENT_FIELD_MODIFICATION = 64,
[407] Fix | Delete
JVMTI_EVENT_METHOD_ENTRY = 65,
[408] Fix | Delete
JVMTI_EVENT_METHOD_EXIT = 66,
[409] Fix | Delete
JVMTI_EVENT_NATIVE_METHOD_BIND = 67,
[410] Fix | Delete
JVMTI_EVENT_COMPILED_METHOD_LOAD = 68,
[411] Fix | Delete
JVMTI_EVENT_COMPILED_METHOD_UNLOAD = 69,
[412] Fix | Delete
JVMTI_EVENT_DYNAMIC_CODE_GENERATED = 70,
[413] Fix | Delete
JVMTI_EVENT_DATA_DUMP_REQUEST = 71,
[414] Fix | Delete
JVMTI_EVENT_MONITOR_WAIT = 73,
[415] Fix | Delete
JVMTI_EVENT_MONITOR_WAITED = 74,
[416] Fix | Delete
JVMTI_EVENT_MONITOR_CONTENDED_ENTER = 75,
[417] Fix | Delete
JVMTI_EVENT_MONITOR_CONTENDED_ENTERED = 76,
[418] Fix | Delete
JVMTI_EVENT_RESOURCE_EXHAUSTED = 80,
[419] Fix | Delete
JVMTI_EVENT_GARBAGE_COLLECTION_START = 81,
[420] Fix | Delete
JVMTI_EVENT_GARBAGE_COLLECTION_FINISH = 82,
[421] Fix | Delete
JVMTI_EVENT_OBJECT_FREE = 83,
[422] Fix | Delete
JVMTI_EVENT_VM_OBJECT_ALLOC = 84,
[423] Fix | Delete
JVMTI_MAX_EVENT_TYPE_VAL = 84
[424] Fix | Delete
} jvmtiEvent;
[425] Fix | Delete
[426] Fix | Delete
[427] Fix | Delete
/* Pre-Declarations */
[428] Fix | Delete
struct _jvmtiThreadInfo;
[429] Fix | Delete
typedef struct _jvmtiThreadInfo jvmtiThreadInfo;
[430] Fix | Delete
struct _jvmtiMonitorStackDepthInfo;
[431] Fix | Delete
typedef struct _jvmtiMonitorStackDepthInfo jvmtiMonitorStackDepthInfo;
[432] Fix | Delete
struct _jvmtiThreadGroupInfo;
[433] Fix | Delete
typedef struct _jvmtiThreadGroupInfo jvmtiThreadGroupInfo;
[434] Fix | Delete
struct _jvmtiFrameInfo;
[435] Fix | Delete
typedef struct _jvmtiFrameInfo jvmtiFrameInfo;
[436] Fix | Delete
struct _jvmtiStackInfo;
[437] Fix | Delete
typedef struct _jvmtiStackInfo jvmtiStackInfo;
[438] Fix | Delete
struct _jvmtiHeapReferenceInfoField;
[439] Fix | Delete
typedef struct _jvmtiHeapReferenceInfoField jvmtiHeapReferenceInfoField;
[440] Fix | Delete
struct _jvmtiHeapReferenceInfoArray;
[441] Fix | Delete
typedef struct _jvmtiHeapReferenceInfoArray jvmtiHeapReferenceInfoArray;
[442] Fix | Delete
struct _jvmtiHeapReferenceInfoConstantPool;
[443] Fix | Delete
typedef struct _jvmtiHeapReferenceInfoConstantPool jvmtiHeapReferenceInfoConstantPool;
[444] Fix | Delete
struct _jvmtiHeapReferenceInfoStackLocal;
[445] Fix | Delete
typedef struct _jvmtiHeapReferenceInfoStackLocal jvmtiHeapReferenceInfoStackLocal;
[446] Fix | Delete
struct _jvmtiHeapReferenceInfoJniLocal;
[447] Fix | Delete
typedef struct _jvmtiHeapReferenceInfoJniLocal jvmtiHeapReferenceInfoJniLocal;
[448] Fix | Delete
struct _jvmtiHeapReferenceInfoReserved;
[449] Fix | Delete
typedef struct _jvmtiHeapReferenceInfoReserved jvmtiHeapReferenceInfoReserved;
[450] Fix | Delete
union _jvmtiHeapReferenceInfo;
[451] Fix | Delete
typedef union _jvmtiHeapReferenceInfo jvmtiHeapReferenceInfo;
[452] Fix | Delete
struct _jvmtiHeapCallbacks;
[453] Fix | Delete
typedef struct _jvmtiHeapCallbacks jvmtiHeapCallbacks;
[454] Fix | Delete
struct _jvmtiClassDefinition;
[455] Fix | Delete
typedef struct _jvmtiClassDefinition jvmtiClassDefinition;
[456] Fix | Delete
struct _jvmtiMonitorUsage;
[457] Fix | Delete
typedef struct _jvmtiMonitorUsage jvmtiMonitorUsage;
[458] Fix | Delete
struct _jvmtiLineNumberEntry;
[459] Fix | Delete
typedef struct _jvmtiLineNumberEntry jvmtiLineNumberEntry;
[460] Fix | Delete
struct _jvmtiLocalVariableEntry;
[461] Fix | Delete
typedef struct _jvmtiLocalVariableEntry jvmtiLocalVariableEntry;
[462] Fix | Delete
struct _jvmtiParamInfo;
[463] Fix | Delete
typedef struct _jvmtiParamInfo jvmtiParamInfo;
[464] Fix | Delete
struct _jvmtiExtensionFunctionInfo;
[465] Fix | Delete
typedef struct _jvmtiExtensionFunctionInfo jvmtiExtensionFunctionInfo;
[466] Fix | Delete
struct _jvmtiExtensionEventInfo;
[467] Fix | Delete
typedef struct _jvmtiExtensionEventInfo jvmtiExtensionEventInfo;
[468] Fix | Delete
struct _jvmtiTimerInfo;
[469] Fix | Delete
typedef struct _jvmtiTimerInfo jvmtiTimerInfo;
[470] Fix | Delete
struct _jvmtiAddrLocationMap;
[471] Fix | Delete
typedef struct _jvmtiAddrLocationMap jvmtiAddrLocationMap;
[472] Fix | Delete
[473] Fix | Delete
/* Function Types */
[474] Fix | Delete
[475] Fix | Delete
typedef void (JNICALL *jvmtiStartFunction)
[476] Fix | Delete
(jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg);
[477] Fix | Delete
[478] Fix | Delete
typedef jint (JNICALL *jvmtiHeapIterationCallback)
[479] Fix | Delete
(jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data);
[480] Fix | Delete
[481] Fix | Delete
typedef jint (JNICALL *jvmtiHeapReferenceCallback)
[482] Fix | Delete
(jvmtiHeapReferenceKind reference_kind, const jvmtiHeapReferenceInfo* reference_info, jlong class_tag, jlong referrer_class_tag, jlong size, jlong* tag_ptr, jlong* referrer_tag_ptr, jint length, void* user_data);
[483] Fix | Delete
[484] Fix | Delete
typedef jint (JNICALL *jvmtiPrimitiveFieldCallback)
[485] Fix | Delete
(jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_data);
[486] Fix | Delete
[487] Fix | Delete
typedef jint (JNICALL *jvmtiArrayPrimitiveValueCallback)
[488] Fix | Delete
(jlong class_tag, jlong size, jlong* tag_ptr, jint element_count, jvmtiPrimitiveType element_type, const void* elements, void* user_data);
[489] Fix | Delete
[490] Fix | Delete
typedef jint (JNICALL *jvmtiStringPrimitiveValueCallback)
[491] Fix | Delete
(jlong class_tag, jlong size, jlong* tag_ptr, const jchar* value, jint value_length, void* user_data);
[492] Fix | Delete
[493] Fix | Delete
typedef jint (JNICALL *jvmtiReservedCallback)
[494] Fix | Delete
();
[495] Fix | Delete
[496] Fix | Delete
typedef jvmtiIterationControl (JNICALL *jvmtiHeapObjectCallback)
[497] Fix | Delete
(jlong class_tag, jlong size, jlong* tag_ptr, void* user_data);
[498] Fix | Delete
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function