0N/A/*
3909N/A * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A /* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
0N/A
0N/A
0N/A /* Include file for the Java(tm) Virtual Machine Tool Interface */
0N/A
0N/A#ifndef _JAVA_JVMTI_H_
0N/A#define _JAVA_JVMTI_H_
0N/A
0N/A#include "jni.h"
0N/A
0N/A#ifdef __cplusplus
0N/Aextern "C" {
0N/A#endif
0N/A
0N/Aenum {
0N/A JVMTI_VERSION_1 = 0x30010000,
0N/A JVMTI_VERSION_1_0 = 0x30010000,
0N/A JVMTI_VERSION_1_1 = 0x30010100,
3389N/A JVMTI_VERSION_1_2 = 0x30010200,
3389N/A
3389N/A JVMTI_VERSION = 0x30000000 + (1 * 0x10000) + (2 * 0x100) + 1 /* version: 1.2.1 */
0N/A};
0N/A
0N/AJNIEXPORT jint JNICALL
0N/AAgent_OnLoad(JavaVM *vm, char *options, void *reserved);
0N/A
0N/AJNIEXPORT jint JNICALL
0N/AAgent_OnAttach(JavaVM* vm, char* options, void* reserved);
0N/A
0N/AJNIEXPORT void JNICALL
0N/AAgent_OnUnload(JavaVM *vm);
0N/A
0N/A /* Forward declaration of the environment */
0N/A
0N/Astruct _jvmtiEnv;
0N/A
0N/Astruct jvmtiInterface_1_;
0N/A
0N/A#ifdef __cplusplus
0N/Atypedef _jvmtiEnv jvmtiEnv;
0N/A#else
0N/Atypedef const struct jvmtiInterface_1_ *jvmtiEnv;
0N/A#endif /* __cplusplus */
0N/A
0N/A/* Derived Base Types */
0N/A
0N/Atypedef jobject jthread;
0N/Atypedef jobject jthreadGroup;
0N/Atypedef jlong jlocation;
0N/Astruct _jrawMonitorID;
0N/Atypedef struct _jrawMonitorID *jrawMonitorID;
0N/Atypedef struct JNINativeInterface_ jniNativeInterface;
0N/A
0N/A /* Constants */
0N/A
0N/A
0N/A /* Thread State Flags */
0N/A
0N/Aenum {
0N/A JVMTI_THREAD_STATE_ALIVE = 0x0001,
0N/A JVMTI_THREAD_STATE_TERMINATED = 0x0002,
0N/A JVMTI_THREAD_STATE_RUNNABLE = 0x0004,
0N/A JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400,
0N/A JVMTI_THREAD_STATE_WAITING = 0x0080,
0N/A JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010,
0N/A JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020,
0N/A JVMTI_THREAD_STATE_SLEEPING = 0x0040,
0N/A JVMTI_THREAD_STATE_IN_OBJECT_WAIT = 0x0100,
0N/A JVMTI_THREAD_STATE_PARKED = 0x0200,
0N/A JVMTI_THREAD_STATE_SUSPENDED = 0x100000,
0N/A JVMTI_THREAD_STATE_INTERRUPTED = 0x200000,
0N/A JVMTI_THREAD_STATE_IN_NATIVE = 0x400000,
0N/A JVMTI_THREAD_STATE_VENDOR_1 = 0x10000000,
0N/A JVMTI_THREAD_STATE_VENDOR_2 = 0x20000000,
0N/A JVMTI_THREAD_STATE_VENDOR_3 = 0x40000000
0N/A};
0N/A
0N/A /* java.lang.Thread.State Conversion Masks */
0N/A
0N/Aenum {
0N/A 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,
0N/A JVMTI_JAVA_LANG_THREAD_STATE_NEW = 0,
0N/A JVMTI_JAVA_LANG_THREAD_STATE_TERMINATED = JVMTI_THREAD_STATE_TERMINATED,
0N/A JVMTI_JAVA_LANG_THREAD_STATE_RUNNABLE = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE,
0N/A JVMTI_JAVA_LANG_THREAD_STATE_BLOCKED = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER,
0N/A JVMTI_JAVA_LANG_THREAD_STATE_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY,
0N/A JVMTI_JAVA_LANG_THREAD_STATE_TIMED_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT
0N/A};
0N/A
0N/A /* Thread Priority Constants */
0N/A
0N/Aenum {
0N/A JVMTI_THREAD_MIN_PRIORITY = 1,
0N/A JVMTI_THREAD_NORM_PRIORITY = 5,
0N/A JVMTI_THREAD_MAX_PRIORITY = 10
0N/A};
0N/A
0N/A /* Heap Filter Flags */
0N/A
0N/Aenum {
0N/A JVMTI_HEAP_FILTER_TAGGED = 0x4,
0N/A JVMTI_HEAP_FILTER_UNTAGGED = 0x8,
0N/A JVMTI_HEAP_FILTER_CLASS_TAGGED = 0x10,
0N/A JVMTI_HEAP_FILTER_CLASS_UNTAGGED = 0x20
0N/A};
0N/A
0N/A /* Heap Visit Control Flags */
0N/A
0N/Aenum {
0N/A JVMTI_VISIT_OBJECTS = 0x100,
0N/A JVMTI_VISIT_ABORT = 0x8000
0N/A};
0N/A
0N/A /* Heap Reference Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_HEAP_REFERENCE_CLASS = 1,
0N/A JVMTI_HEAP_REFERENCE_FIELD = 2,
0N/A JVMTI_HEAP_REFERENCE_ARRAY_ELEMENT = 3,
0N/A JVMTI_HEAP_REFERENCE_CLASS_LOADER = 4,
0N/A JVMTI_HEAP_REFERENCE_SIGNERS = 5,
0N/A JVMTI_HEAP_REFERENCE_PROTECTION_DOMAIN = 6,
0N/A JVMTI_HEAP_REFERENCE_INTERFACE = 7,
0N/A JVMTI_HEAP_REFERENCE_STATIC_FIELD = 8,
0N/A JVMTI_HEAP_REFERENCE_CONSTANT_POOL = 9,
0N/A JVMTI_HEAP_REFERENCE_SUPERCLASS = 10,
0N/A JVMTI_HEAP_REFERENCE_JNI_GLOBAL = 21,
0N/A JVMTI_HEAP_REFERENCE_SYSTEM_CLASS = 22,
0N/A JVMTI_HEAP_REFERENCE_MONITOR = 23,
0N/A JVMTI_HEAP_REFERENCE_STACK_LOCAL = 24,
0N/A JVMTI_HEAP_REFERENCE_JNI_LOCAL = 25,
0N/A JVMTI_HEAP_REFERENCE_THREAD = 26,
0N/A JVMTI_HEAP_REFERENCE_OTHER = 27
0N/A} jvmtiHeapReferenceKind;
0N/A
0N/A /* Primitive Type Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_PRIMITIVE_TYPE_BOOLEAN = 90,
0N/A JVMTI_PRIMITIVE_TYPE_BYTE = 66,
0N/A JVMTI_PRIMITIVE_TYPE_CHAR = 67,
0N/A JVMTI_PRIMITIVE_TYPE_SHORT = 83,
0N/A JVMTI_PRIMITIVE_TYPE_INT = 73,
0N/A JVMTI_PRIMITIVE_TYPE_LONG = 74,
0N/A JVMTI_PRIMITIVE_TYPE_FLOAT = 70,
0N/A JVMTI_PRIMITIVE_TYPE_DOUBLE = 68
0N/A} jvmtiPrimitiveType;
0N/A
0N/A /* Heap Object Filter Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_HEAP_OBJECT_TAGGED = 1,
0N/A JVMTI_HEAP_OBJECT_UNTAGGED = 2,
0N/A JVMTI_HEAP_OBJECT_EITHER = 3
0N/A} jvmtiHeapObjectFilter;
0N/A
0N/A /* Heap Root Kind Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_HEAP_ROOT_JNI_GLOBAL = 1,
0N/A JVMTI_HEAP_ROOT_SYSTEM_CLASS = 2,
0N/A JVMTI_HEAP_ROOT_MONITOR = 3,
0N/A JVMTI_HEAP_ROOT_STACK_LOCAL = 4,
0N/A JVMTI_HEAP_ROOT_JNI_LOCAL = 5,
0N/A JVMTI_HEAP_ROOT_THREAD = 6,
0N/A JVMTI_HEAP_ROOT_OTHER = 7
0N/A} jvmtiHeapRootKind;
0N/A
0N/A /* Object Reference Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_REFERENCE_CLASS = 1,
0N/A JVMTI_REFERENCE_FIELD = 2,
0N/A JVMTI_REFERENCE_ARRAY_ELEMENT = 3,
0N/A JVMTI_REFERENCE_CLASS_LOADER = 4,
0N/A JVMTI_REFERENCE_SIGNERS = 5,
0N/A JVMTI_REFERENCE_PROTECTION_DOMAIN = 6,
0N/A JVMTI_REFERENCE_INTERFACE = 7,
0N/A JVMTI_REFERENCE_STATIC_FIELD = 8,
0N/A JVMTI_REFERENCE_CONSTANT_POOL = 9
0N/A} jvmtiObjectReferenceKind;
0N/A
0N/A /* Iteration Control Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_ITERATION_CONTINUE = 1,
0N/A JVMTI_ITERATION_IGNORE = 2,
0N/A JVMTI_ITERATION_ABORT = 0
0N/A} jvmtiIterationControl;
0N/A
0N/A /* Class Status Flags */
0N/A
0N/Aenum {
0N/A JVMTI_CLASS_STATUS_VERIFIED = 1,
0N/A JVMTI_CLASS_STATUS_PREPARED = 2,
0N/A JVMTI_CLASS_STATUS_INITIALIZED = 4,
0N/A JVMTI_CLASS_STATUS_ERROR = 8,
0N/A JVMTI_CLASS_STATUS_ARRAY = 16,
0N/A JVMTI_CLASS_STATUS_PRIMITIVE = 32
0N/A};
0N/A
0N/A /* Event Enable/Disable */
0N/A
0N/Atypedef enum {
0N/A JVMTI_ENABLE = 1,
0N/A JVMTI_DISABLE = 0
0N/A} jvmtiEventMode;
0N/A
0N/A /* Extension Function/Event Parameter Types */
0N/A
0N/Atypedef enum {
0N/A JVMTI_TYPE_JBYTE = 101,
0N/A JVMTI_TYPE_JCHAR = 102,
0N/A JVMTI_TYPE_JSHORT = 103,
0N/A JVMTI_TYPE_JINT = 104,
0N/A JVMTI_TYPE_JLONG = 105,
0N/A JVMTI_TYPE_JFLOAT = 106,
0N/A JVMTI_TYPE_JDOUBLE = 107,
0N/A JVMTI_TYPE_JBOOLEAN = 108,
0N/A JVMTI_TYPE_JOBJECT = 109,
0N/A JVMTI_TYPE_JTHREAD = 110,
0N/A JVMTI_TYPE_JCLASS = 111,
0N/A JVMTI_TYPE_JVALUE = 112,
0N/A JVMTI_TYPE_JFIELDID = 113,
0N/A JVMTI_TYPE_JMETHODID = 114,
0N/A JVMTI_TYPE_CCHAR = 115,
0N/A JVMTI_TYPE_CVOID = 116,
0N/A JVMTI_TYPE_JNIENV = 117
0N/A} jvmtiParamTypes;
0N/A
0N/A /* Extension Function/Event Parameter Kinds */
0N/A
0N/Atypedef enum {
0N/A JVMTI_KIND_IN = 91,
0N/A JVMTI_KIND_IN_PTR = 92,
0N/A JVMTI_KIND_IN_BUF = 93,
0N/A JVMTI_KIND_ALLOC_BUF = 94,
0N/A JVMTI_KIND_ALLOC_ALLOC_BUF = 95,
0N/A JVMTI_KIND_OUT = 96,
0N/A JVMTI_KIND_OUT_BUF = 97
0N/A} jvmtiParamKind;
0N/A
0N/A /* Timer Kinds */
0N/A
0N/Atypedef enum {
0N/A JVMTI_TIMER_USER_CPU = 30,
0N/A JVMTI_TIMER_TOTAL_CPU = 31,
0N/A JVMTI_TIMER_ELAPSED = 32
0N/A} jvmtiTimerKind;
0N/A
0N/A /* Phases of execution */
0N/A
0N/Atypedef enum {
0N/A JVMTI_PHASE_ONLOAD = 1,
0N/A JVMTI_PHASE_PRIMORDIAL = 2,
0N/A JVMTI_PHASE_START = 6,
0N/A JVMTI_PHASE_LIVE = 4,
0N/A JVMTI_PHASE_DEAD = 8
0N/A} jvmtiPhase;
0N/A
0N/A /* Version Interface Types */
0N/A
0N/Aenum {
0N/A JVMTI_VERSION_INTERFACE_JNI = 0x00000000,
0N/A JVMTI_VERSION_INTERFACE_JVMTI = 0x30000000
0N/A};
0N/A
0N/A /* Version Masks */
0N/A
0N/Aenum {
0N/A JVMTI_VERSION_MASK_INTERFACE_TYPE = 0x70000000,
0N/A JVMTI_VERSION_MASK_MAJOR = 0x0FFF0000,
0N/A JVMTI_VERSION_MASK_MINOR = 0x0000FF00,
0N/A JVMTI_VERSION_MASK_MICRO = 0x000000FF
0N/A};
0N/A
0N/A /* Version Shifts */
0N/A
0N/Aenum {
0N/A JVMTI_VERSION_SHIFT_MAJOR = 16,
0N/A JVMTI_VERSION_SHIFT_MINOR = 8,
0N/A JVMTI_VERSION_SHIFT_MICRO = 0
0N/A};
0N/A
0N/A /* Verbose Flag Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_VERBOSE_OTHER = 0,
0N/A JVMTI_VERBOSE_GC = 1,
0N/A JVMTI_VERBOSE_CLASS = 2,
0N/A JVMTI_VERBOSE_JNI = 4
0N/A} jvmtiVerboseFlag;
0N/A
0N/A /* JLocation Format Enumeration */
0N/A
0N/Atypedef enum {
0N/A JVMTI_JLOCATION_JVMBCI = 1,
0N/A JVMTI_JLOCATION_MACHINEPC = 2,
0N/A JVMTI_JLOCATION_OTHER = 0
0N/A} jvmtiJlocationFormat;
0N/A
0N/A /* Resource Exhaustion Flags */
0N/A
0N/Aenum {
0N/A JVMTI_RESOURCE_EXHAUSTED_OOM_ERROR = 0x0001,
0N/A JVMTI_RESOURCE_EXHAUSTED_JAVA_HEAP = 0x0002,
0N/A JVMTI_RESOURCE_EXHAUSTED_THREADS = 0x0004
0N/A};
0N/A
0N/A /* Errors */
0N/A
0N/Atypedef enum {
0N/A JVMTI_ERROR_NONE = 0,
0N/A JVMTI_ERROR_INVALID_THREAD = 10,
0N/A JVMTI_ERROR_INVALID_THREAD_GROUP = 11,
0N/A JVMTI_ERROR_INVALID_PRIORITY = 12,
0N/A JVMTI_ERROR_THREAD_NOT_SUSPENDED = 13,
0N/A JVMTI_ERROR_THREAD_SUSPENDED = 14,
0N/A JVMTI_ERROR_THREAD_NOT_ALIVE = 15,
0N/A JVMTI_ERROR_INVALID_OBJECT = 20,
0N/A JVMTI_ERROR_INVALID_CLASS = 21,
0N/A JVMTI_ERROR_CLASS_NOT_PREPARED = 22,
0N/A JVMTI_ERROR_INVALID_METHODID = 23,
0N/A JVMTI_ERROR_INVALID_LOCATION = 24,
0N/A JVMTI_ERROR_INVALID_FIELDID = 25,
0N/A JVMTI_ERROR_NO_MORE_FRAMES = 31,
0N/A JVMTI_ERROR_OPAQUE_FRAME = 32,
0N/A JVMTI_ERROR_TYPE_MISMATCH = 34,
0N/A JVMTI_ERROR_INVALID_SLOT = 35,
0N/A JVMTI_ERROR_DUPLICATE = 40,
0N/A JVMTI_ERROR_NOT_FOUND = 41,
0N/A JVMTI_ERROR_INVALID_MONITOR = 50,
0N/A JVMTI_ERROR_NOT_MONITOR_OWNER = 51,
0N/A JVMTI_ERROR_INTERRUPT = 52,
0N/A JVMTI_ERROR_INVALID_CLASS_FORMAT = 60,
0N/A JVMTI_ERROR_CIRCULAR_CLASS_DEFINITION = 61,
0N/A JVMTI_ERROR_FAILS_VERIFICATION = 62,
0N/A JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED = 63,
0N/A JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED = 64,
0N/A JVMTI_ERROR_INVALID_TYPESTATE = 65,
0N/A JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED = 66,
0N/A JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED = 67,
0N/A JVMTI_ERROR_UNSUPPORTED_VERSION = 68,
0N/A JVMTI_ERROR_NAMES_DONT_MATCH = 69,
0N/A JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED = 70,
0N/A JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED = 71,
0N/A JVMTI_ERROR_UNMODIFIABLE_CLASS = 79,
0N/A JVMTI_ERROR_NOT_AVAILABLE = 98,
0N/A JVMTI_ERROR_MUST_POSSESS_CAPABILITY = 99,
0N/A JVMTI_ERROR_NULL_POINTER = 100,
0N/A JVMTI_ERROR_ABSENT_INFORMATION = 101,
0N/A JVMTI_ERROR_INVALID_EVENT_TYPE = 102,
0N/A JVMTI_ERROR_ILLEGAL_ARGUMENT = 103,
0N/A JVMTI_ERROR_NATIVE_METHOD = 104,
0N/A JVMTI_ERROR_CLASS_LOADER_UNSUPPORTED = 106,
0N/A JVMTI_ERROR_OUT_OF_MEMORY = 110,
0N/A JVMTI_ERROR_ACCESS_DENIED = 111,
0N/A JVMTI_ERROR_WRONG_PHASE = 112,
0N/A JVMTI_ERROR_INTERNAL = 113,
0N/A JVMTI_ERROR_UNATTACHED_THREAD = 115,
0N/A JVMTI_ERROR_INVALID_ENVIRONMENT = 116,
0N/A JVMTI_ERROR_MAX = 116
0N/A} jvmtiError;
0N/A
0N/A /* Event IDs */
0N/A
0N/Atypedef enum {
0N/A JVMTI_MIN_EVENT_TYPE_VAL = 50,
0N/A JVMTI_EVENT_VM_INIT = 50,
0N/A JVMTI_EVENT_VM_DEATH = 51,
0N/A JVMTI_EVENT_THREAD_START = 52,
0N/A JVMTI_EVENT_THREAD_END = 53,
0N/A JVMTI_EVENT_CLASS_FILE_LOAD_HOOK = 54,
0N/A JVMTI_EVENT_CLASS_LOAD = 55,
0N/A JVMTI_EVENT_CLASS_PREPARE = 56,
0N/A JVMTI_EVENT_VM_START = 57,
0N/A JVMTI_EVENT_EXCEPTION = 58,
0N/A JVMTI_EVENT_EXCEPTION_CATCH = 59,
0N/A JVMTI_EVENT_SINGLE_STEP = 60,
0N/A JVMTI_EVENT_FRAME_POP = 61,
0N/A JVMTI_EVENT_BREAKPOINT = 62,
0N/A JVMTI_EVENT_FIELD_ACCESS = 63,
0N/A JVMTI_EVENT_FIELD_MODIFICATION = 64,
0N/A JVMTI_EVENT_METHOD_ENTRY = 65,
0N/A JVMTI_EVENT_METHOD_EXIT = 66,
0N/A JVMTI_EVENT_NATIVE_METHOD_BIND = 67,
0N/A JVMTI_EVENT_COMPILED_METHOD_LOAD = 68,
0N/A JVMTI_EVENT_COMPILED_METHOD_UNLOAD = 69,
0N/A JVMTI_EVENT_DYNAMIC_CODE_GENERATED = 70,
0N/A JVMTI_EVENT_DATA_DUMP_REQUEST = 71,
0N/A JVMTI_EVENT_MONITOR_WAIT = 73,
0N/A JVMTI_EVENT_MONITOR_WAITED = 74,
0N/A JVMTI_EVENT_MONITOR_CONTENDED_ENTER = 75,
0N/A JVMTI_EVENT_MONITOR_CONTENDED_ENTERED = 76,
0N/A JVMTI_EVENT_RESOURCE_EXHAUSTED = 80,
0N/A JVMTI_EVENT_GARBAGE_COLLECTION_START = 81,
0N/A JVMTI_EVENT_GARBAGE_COLLECTION_FINISH = 82,
0N/A JVMTI_EVENT_OBJECT_FREE = 83,
0N/A JVMTI_EVENT_VM_OBJECT_ALLOC = 84,
0N/A JVMTI_MAX_EVENT_TYPE_VAL = 84
0N/A} jvmtiEvent;
0N/A
0N/A
0N/A /* Pre-Declarations */
0N/Astruct _jvmtiThreadInfo;
0N/Atypedef struct _jvmtiThreadInfo jvmtiThreadInfo;
0N/Astruct _jvmtiMonitorStackDepthInfo;
0N/Atypedef struct _jvmtiMonitorStackDepthInfo jvmtiMonitorStackDepthInfo;
0N/Astruct _jvmtiThreadGroupInfo;
0N/Atypedef struct _jvmtiThreadGroupInfo jvmtiThreadGroupInfo;
0N/Astruct _jvmtiFrameInfo;
0N/Atypedef struct _jvmtiFrameInfo jvmtiFrameInfo;
0N/Astruct _jvmtiStackInfo;
0N/Atypedef struct _jvmtiStackInfo jvmtiStackInfo;
0N/Astruct _jvmtiHeapReferenceInfoField;
0N/Atypedef struct _jvmtiHeapReferenceInfoField jvmtiHeapReferenceInfoField;
0N/Astruct _jvmtiHeapReferenceInfoArray;
0N/Atypedef struct _jvmtiHeapReferenceInfoArray jvmtiHeapReferenceInfoArray;
0N/Astruct _jvmtiHeapReferenceInfoConstantPool;
0N/Atypedef struct _jvmtiHeapReferenceInfoConstantPool jvmtiHeapReferenceInfoConstantPool;
0N/Astruct _jvmtiHeapReferenceInfoStackLocal;
0N/Atypedef struct _jvmtiHeapReferenceInfoStackLocal jvmtiHeapReferenceInfoStackLocal;
0N/Astruct _jvmtiHeapReferenceInfoJniLocal;
0N/Atypedef struct _jvmtiHeapReferenceInfoJniLocal jvmtiHeapReferenceInfoJniLocal;
0N/Astruct _jvmtiHeapReferenceInfoReserved;
0N/Atypedef struct _jvmtiHeapReferenceInfoReserved jvmtiHeapReferenceInfoReserved;
0N/Aunion _jvmtiHeapReferenceInfo;
0N/Atypedef union _jvmtiHeapReferenceInfo jvmtiHeapReferenceInfo;
0N/Astruct _jvmtiHeapCallbacks;
0N/Atypedef struct _jvmtiHeapCallbacks jvmtiHeapCallbacks;
0N/Astruct _jvmtiClassDefinition;
0N/Atypedef struct _jvmtiClassDefinition jvmtiClassDefinition;
0N/Astruct _jvmtiMonitorUsage;
0N/Atypedef struct _jvmtiMonitorUsage jvmtiMonitorUsage;
0N/Astruct _jvmtiLineNumberEntry;
0N/Atypedef struct _jvmtiLineNumberEntry jvmtiLineNumberEntry;
0N/Astruct _jvmtiLocalVariableEntry;
0N/Atypedef struct _jvmtiLocalVariableEntry jvmtiLocalVariableEntry;
0N/Astruct _jvmtiParamInfo;
0N/Atypedef struct _jvmtiParamInfo jvmtiParamInfo;
0N/Astruct _jvmtiExtensionFunctionInfo;
0N/Atypedef struct _jvmtiExtensionFunctionInfo jvmtiExtensionFunctionInfo;
0N/Astruct _jvmtiExtensionEventInfo;
0N/Atypedef struct _jvmtiExtensionEventInfo jvmtiExtensionEventInfo;
0N/Astruct _jvmtiTimerInfo;
0N/Atypedef struct _jvmtiTimerInfo jvmtiTimerInfo;
0N/Astruct _jvmtiAddrLocationMap;
0N/Atypedef struct _jvmtiAddrLocationMap jvmtiAddrLocationMap;
0N/A
0N/A /* Function Types */
0N/A
0N/Atypedef void (JNICALL *jvmtiStartFunction)
0N/A (jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg);
0N/A
0N/Atypedef jint (JNICALL *jvmtiHeapIterationCallback)
0N/A (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data);
0N/A
0N/Atypedef jint (JNICALL *jvmtiHeapReferenceCallback)
0N/A (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);
0N/A
0N/Atypedef jint (JNICALL *jvmtiPrimitiveFieldCallback)
0N/A (jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_data);
0N/A
0N/Atypedef jint (JNICALL *jvmtiArrayPrimitiveValueCallback)
0N/A (jlong class_tag, jlong size, jlong* tag_ptr, jint element_count, jvmtiPrimitiveType element_type, const void* elements, void* user_data);
0N/A
0N/Atypedef jint (JNICALL *jvmtiStringPrimitiveValueCallback)
0N/A (jlong class_tag, jlong size, jlong* tag_ptr, const jchar* value, jint value_length, void* user_data);
0N/A
0N/Atypedef jint (JNICALL *jvmtiReservedCallback)
0N/A ();
0N/A
0N/Atypedef jvmtiIterationControl (JNICALL *jvmtiHeapObjectCallback)
0N/A (jlong class_tag, jlong size, jlong* tag_ptr, void* user_data);
0N/A
0N/Atypedef jvmtiIterationControl (JNICALL *jvmtiHeapRootCallback)
0N/A (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, void* user_data);
0N/A
0N/Atypedef jvmtiIterationControl (JNICALL *jvmtiStackReferenceCallback)
0N/A (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong thread_tag, jint depth, jmethodID method, jint slot, void* user_data);
0N/A
0N/Atypedef jvmtiIterationControl (JNICALL *jvmtiObjectReferenceCallback)
0N/A (jvmtiObjectReferenceKind reference_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong referrer_tag, jint referrer_index, void* user_data);
0N/A
0N/Atypedef jvmtiError (JNICALL *jvmtiExtensionFunction)
0N/A (jvmtiEnv* jvmti_env, ...);
0N/A
0N/Atypedef void (JNICALL *jvmtiExtensionEvent)
0N/A (jvmtiEnv* jvmti_env, ...);
0N/A
0N/A
0N/A /* Structure Types */
0N/Astruct _jvmtiThreadInfo {
0N/A char* name;
0N/A jint priority;
0N/A jboolean is_daemon;
0N/A jthreadGroup thread_group;
0N/A jobject context_class_loader;
0N/A};
0N/Astruct _jvmtiMonitorStackDepthInfo {
0N/A jobject monitor;
0N/A jint stack_depth;
0N/A};
0N/Astruct _jvmtiThreadGroupInfo {
0N/A jthreadGroup parent;
0N/A char* name;
0N/A jint max_priority;
0N/A jboolean is_daemon;
0N/A};
0N/Astruct _jvmtiFrameInfo {
0N/A jmethodID method;
0N/A jlocation location;
0N/A};
0N/Astruct _jvmtiStackInfo {
0N/A jthread thread;
0N/A jint state;
0N/A jvmtiFrameInfo* frame_buffer;
0N/A jint frame_count;
0N/A};
0N/Astruct _jvmtiHeapReferenceInfoField {
0N/A jint index;
0N/A};
0N/Astruct _jvmtiHeapReferenceInfoArray {
0N/A jint index;
0N/A};
0N/Astruct _jvmtiHeapReferenceInfoConstantPool {
0N/A jint index;
0N/A};
0N/Astruct _jvmtiHeapReferenceInfoStackLocal {
0N/A jlong thread_tag;
0N/A jlong thread_id;
0N/A jint depth;
0N/A jmethodID method;
0N/A jlocation location;
0N/A jint slot;
0N/A};
0N/Astruct _jvmtiHeapReferenceInfoJniLocal {
0N/A jlong thread_tag;
0N/A jlong thread_id;
0N/A jint depth;
0N/A jmethodID method;
0N/A};
0N/Astruct _jvmtiHeapReferenceInfoReserved {
0N/A jlong reserved1;
0N/A jlong reserved2;
0N/A jlong reserved3;
0N/A jlong reserved4;
0N/A jlong reserved5;
0N/A jlong reserved6;
0N/A jlong reserved7;
0N/A jlong reserved8;
0N/A};
0N/Aunion _jvmtiHeapReferenceInfo {
0N/A jvmtiHeapReferenceInfoField field;
0N/A jvmtiHeapReferenceInfoArray array;
0N/A jvmtiHeapReferenceInfoConstantPool constant_pool;
0N/A jvmtiHeapReferenceInfoStackLocal stack_local;
0N/A jvmtiHeapReferenceInfoJniLocal jni_local;
0N/A jvmtiHeapReferenceInfoReserved other;
0N/A};
0N/Astruct _jvmtiHeapCallbacks {
0N/A jvmtiHeapIterationCallback heap_iteration_callback;
0N/A jvmtiHeapReferenceCallback heap_reference_callback;
0N/A jvmtiPrimitiveFieldCallback primitive_field_callback;
0N/A jvmtiArrayPrimitiveValueCallback array_primitive_value_callback;
0N/A jvmtiStringPrimitiveValueCallback string_primitive_value_callback;
0N/A jvmtiReservedCallback reserved5;
0N/A jvmtiReservedCallback reserved6;
0N/A jvmtiReservedCallback reserved7;
0N/A jvmtiReservedCallback reserved8;
0N/A jvmtiReservedCallback reserved9;
0N/A jvmtiReservedCallback reserved10;
0N/A jvmtiReservedCallback reserved11;
0N/A jvmtiReservedCallback reserved12;
0N/A jvmtiReservedCallback reserved13;
0N/A jvmtiReservedCallback reserved14;
0N/A jvmtiReservedCallback reserved15;
0N/A};
0N/Astruct _jvmtiClassDefinition {
0N/A jclass klass;
0N/A jint class_byte_count;
0N/A const unsigned char* class_bytes;
0N/A};
0N/Astruct _jvmtiMonitorUsage {
0N/A jthread owner;
0N/A jint entry_count;
0N/A jint waiter_count;
0N/A jthread* waiters;
0N/A jint notify_waiter_count;
0N/A jthread* notify_waiters;
0N/A};
0N/Astruct _jvmtiLineNumberEntry {
0N/A jlocation start_location;
0N/A jint line_number;
0N/A};
0N/Astruct _jvmtiLocalVariableEntry {
0N/A jlocation start_location;
0N/A jint length;
0N/A char* name;
0N/A char* signature;
0N/A char* generic_signature;
0N/A jint slot;
0N/A};
0N/Astruct _jvmtiParamInfo {
0N/A char* name;
0N/A jvmtiParamKind kind;
0N/A jvmtiParamTypes base_type;
0N/A jboolean null_ok;
0N/A};
0N/Astruct _jvmtiExtensionFunctionInfo {
0N/A jvmtiExtensionFunction func;
0N/A char* id;
0N/A char* short_description;
0N/A jint param_count;
0N/A jvmtiParamInfo* params;
0N/A jint error_count;
0N/A jvmtiError* errors;
0N/A};
0N/Astruct _jvmtiExtensionEventInfo {
0N/A jint extension_event_index;
0N/A char* id;
0N/A char* short_description;
0N/A jint param_count;
0N/A jvmtiParamInfo* params;
0N/A};
0N/Astruct _jvmtiTimerInfo {
0N/A jlong max_value;
0N/A jboolean may_skip_forward;
0N/A jboolean may_skip_backward;
0N/A jvmtiTimerKind kind;
0N/A jlong reserved1;
0N/A jlong reserved2;
0N/A};
0N/Astruct _jvmtiAddrLocationMap {
0N/A const void* start_address;
0N/A jlocation location;
0N/A};
0N/A
0N/Atypedef struct {
0N/A unsigned int can_tag_objects : 1;
0N/A unsigned int can_generate_field_modification_events : 1;
0N/A unsigned int can_generate_field_access_events : 1;
0N/A unsigned int can_get_bytecodes : 1;
0N/A unsigned int can_get_synthetic_attribute : 1;
0N/A unsigned int can_get_owned_monitor_info : 1;
0N/A unsigned int can_get_current_contended_monitor : 1;
0N/A unsigned int can_get_monitor_info : 1;
0N/A unsigned int can_pop_frame : 1;
0N/A unsigned int can_redefine_classes : 1;
0N/A unsigned int can_signal_thread : 1;
0N/A unsigned int can_get_source_file_name : 1;
0N/A unsigned int can_get_line_numbers : 1;
0N/A unsigned int can_get_source_debug_extension : 1;
0N/A unsigned int can_access_local_variables : 1;
0N/A unsigned int can_maintain_original_method_order : 1;
0N/A unsigned int can_generate_single_step_events : 1;
0N/A unsigned int can_generate_exception_events : 1;
0N/A unsigned int can_generate_frame_pop_events : 1;
0N/A unsigned int can_generate_breakpoint_events : 1;
0N/A unsigned int can_suspend : 1;
0N/A unsigned int can_redefine_any_class : 1;
0N/A unsigned int can_get_current_thread_cpu_time : 1;
0N/A unsigned int can_get_thread_cpu_time : 1;
0N/A unsigned int can_generate_method_entry_events : 1;
0N/A unsigned int can_generate_method_exit_events : 1;
0N/A unsigned int can_generate_all_class_hook_events : 1;
0N/A unsigned int can_generate_compiled_method_load_events : 1;
0N/A unsigned int can_generate_monitor_events : 1;
0N/A unsigned int can_generate_vm_object_alloc_events : 1;
0N/A unsigned int can_generate_native_method_bind_events : 1;
0N/A unsigned int can_generate_garbage_collection_events : 1;
0N/A unsigned int can_generate_object_free_events : 1;
0N/A unsigned int can_force_early_return : 1;
0N/A unsigned int can_get_owned_monitor_stack_depth_info : 1;
0N/A unsigned int can_get_constant_pool : 1;
0N/A unsigned int can_set_native_method_prefix : 1;
0N/A unsigned int can_retransform_classes : 1;
0N/A unsigned int can_retransform_any_class : 1;
0N/A unsigned int can_generate_resource_exhaustion_heap_events : 1;
0N/A unsigned int can_generate_resource_exhaustion_threads_events : 1;
0N/A unsigned int : 7;
0N/A unsigned int : 16;
0N/A unsigned int : 16;
0N/A unsigned int : 16;
0N/A unsigned int : 16;
0N/A unsigned int : 16;
0N/A} jvmtiCapabilities;
0N/A
0N/A
0N/A /* Event Definitions */
0N/A
0N/Atypedef void (JNICALL *jvmtiEventReserved)(void);
0N/A
0N/A
0N/Atypedef void (JNICALL *jvmtiEventBreakpoint)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jlocation location);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventClassFileLoadHook)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jclass class_being_redefined,
0N/A jobject loader,
0N/A const char* name,
0N/A jobject protection_domain,
0N/A jint class_data_len,
0N/A const unsigned char* class_data,
0N/A jint* new_class_data_len,
0N/A unsigned char** new_class_data);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventClassLoad)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jclass klass);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventClassPrepare)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jclass klass);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventCompiledMethodLoad)
0N/A (jvmtiEnv *jvmti_env,
0N/A jmethodID method,
0N/A jint code_size,
0N/A const void* code_addr,
0N/A jint map_length,
0N/A const jvmtiAddrLocationMap* map,
0N/A const void* compile_info);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventCompiledMethodUnload)
0N/A (jvmtiEnv *jvmti_env,
0N/A jmethodID method,
0N/A const void* code_addr);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventDataDumpRequest)
0N/A (jvmtiEnv *jvmti_env);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventDynamicCodeGenerated)
0N/A (jvmtiEnv *jvmti_env,
0N/A const char* name,
0N/A const void* address,
0N/A jint length);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventException)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jlocation location,
0N/A jobject exception,
0N/A jmethodID catch_method,
0N/A jlocation catch_location);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventExceptionCatch)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jlocation location,
0N/A jobject exception);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventFieldAccess)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jlocation location,
0N/A jclass field_klass,
0N/A jobject object,
0N/A jfieldID field);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventFieldModification)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jlocation location,
0N/A jclass field_klass,
0N/A jobject object,
0N/A jfieldID field,
0N/A char signature_type,
0N/A jvalue new_value);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventFramePop)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jboolean was_popped_by_exception);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventGarbageCollectionFinish)
0N/A (jvmtiEnv *jvmti_env);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventGarbageCollectionStart)
0N/A (jvmtiEnv *jvmti_env);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventMethodEntry)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventMethodExit)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jboolean was_popped_by_exception,
0N/A jvalue return_value);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventMonitorContendedEnter)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jobject object);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventMonitorContendedEntered)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jobject object);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventMonitorWait)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jobject object,
0N/A jlong timeout);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventMonitorWaited)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jobject object,
0N/A jboolean timed_out);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventNativeMethodBind)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A void* address,
0N/A void** new_address_ptr);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventObjectFree)
0N/A (jvmtiEnv *jvmti_env,
0N/A jlong tag);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventResourceExhausted)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jint flags,
0N/A const void* reserved,
0N/A const char* description);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventSingleStep)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jmethodID method,
0N/A jlocation location);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventThreadEnd)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventThreadStart)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventVMDeath)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventVMInit)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventVMObjectAlloc)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env,
0N/A jthread thread,
0N/A jobject object,
0N/A jclass object_klass,
0N/A jlong size);
0N/A
0N/Atypedef void (JNICALL *jvmtiEventVMStart)
0N/A (jvmtiEnv *jvmti_env,
0N/A JNIEnv* jni_env);
0N/A
0N/A /* Event Callback Structure */
0N/A
0N/Atypedef struct {
0N/A /* 50 : VM Initialization Event */
0N/A jvmtiEventVMInit VMInit;
0N/A /* 51 : VM Death Event */
0N/A jvmtiEventVMDeath VMDeath;
0N/A /* 52 : Thread Start */
0N/A jvmtiEventThreadStart ThreadStart;
0N/A /* 53 : Thread End */
0N/A jvmtiEventThreadEnd ThreadEnd;
0N/A /* 54 : Class File Load Hook */
0N/A jvmtiEventClassFileLoadHook ClassFileLoadHook;
0N/A /* 55 : Class Load */
0N/A jvmtiEventClassLoad ClassLoad;
0N/A /* 56 : Class Prepare */
0N/A jvmtiEventClassPrepare ClassPrepare;
0N/A /* 57 : VM Start Event */
0N/A jvmtiEventVMStart VMStart;
0N/A /* 58 : Exception */
0N/A jvmtiEventException Exception;
0N/A /* 59 : Exception Catch */
0N/A jvmtiEventExceptionCatch ExceptionCatch;
0N/A /* 60 : Single Step */
0N/A jvmtiEventSingleStep SingleStep;
0N/A /* 61 : Frame Pop */
0N/A jvmtiEventFramePop FramePop;
0N/A /* 62 : Breakpoint */
0N/A jvmtiEventBreakpoint Breakpoint;
0N/A /* 63 : Field Access */
0N/A jvmtiEventFieldAccess FieldAccess;
0N/A /* 64 : Field Modification */
0N/A jvmtiEventFieldModification FieldModification;
0N/A /* 65 : Method Entry */
0N/A jvmtiEventMethodEntry MethodEntry;
0N/A /* 66 : Method Exit */
0N/A jvmtiEventMethodExit MethodExit;
0N/A /* 67 : Native Method Bind */
0N/A jvmtiEventNativeMethodBind NativeMethodBind;
0N/A /* 68 : Compiled Method Load */
0N/A jvmtiEventCompiledMethodLoad CompiledMethodLoad;
0N/A /* 69 : Compiled Method Unload */
0N/A jvmtiEventCompiledMethodUnload CompiledMethodUnload;
0N/A /* 70 : Dynamic Code Generated */
0N/A jvmtiEventDynamicCodeGenerated DynamicCodeGenerated;
0N/A /* 71 : Data Dump Request */
0N/A jvmtiEventDataDumpRequest DataDumpRequest;
0N/A /* 72 */
0N/A jvmtiEventReserved reserved72;
0N/A /* 73 : Monitor Wait */
0N/A jvmtiEventMonitorWait MonitorWait;
0N/A /* 74 : Monitor Waited */
0N/A jvmtiEventMonitorWaited MonitorWaited;
0N/A /* 75 : Monitor Contended Enter */
0N/A jvmtiEventMonitorContendedEnter MonitorContendedEnter;
0N/A /* 76 : Monitor Contended Entered */
0N/A jvmtiEventMonitorContendedEntered MonitorContendedEntered;
0N/A /* 77 */
0N/A jvmtiEventReserved reserved77;
0N/A /* 78 */
0N/A jvmtiEventReserved reserved78;
0N/A /* 79 */
0N/A jvmtiEventReserved reserved79;
0N/A /* 80 : Resource Exhausted */
0N/A jvmtiEventResourceExhausted ResourceExhausted;
0N/A /* 81 : Garbage Collection Start */
0N/A jvmtiEventGarbageCollectionStart GarbageCollectionStart;
0N/A /* 82 : Garbage Collection Finish */
0N/A jvmtiEventGarbageCollectionFinish GarbageCollectionFinish;
0N/A /* 83 : Object Free */
0N/A jvmtiEventObjectFree ObjectFree;
0N/A /* 84 : VM Object Allocation */
0N/A jvmtiEventVMObjectAlloc VMObjectAlloc;
0N/A} jvmtiEventCallbacks;
0N/A
0N/A
0N/A /* Function Interface */
0N/A
0N/Atypedef struct jvmtiInterface_1_ {
0N/A
0N/A /* 1 : RESERVED */
0N/A void *reserved1;
0N/A
0N/A /* 2 : Set Event Notification Mode */
0N/A jvmtiError (JNICALL *SetEventNotificationMode) (jvmtiEnv* env,
0N/A jvmtiEventMode mode,
0N/A jvmtiEvent event_type,
0N/A jthread event_thread,
0N/A ...);
0N/A
0N/A /* 3 : RESERVED */
0N/A void *reserved3;
0N/A
0N/A /* 4 : Get All Threads */
0N/A jvmtiError (JNICALL *GetAllThreads) (jvmtiEnv* env,
0N/A jint* threads_count_ptr,
0N/A jthread** threads_ptr);
0N/A
0N/A /* 5 : Suspend Thread */
0N/A jvmtiError (JNICALL *SuspendThread) (jvmtiEnv* env,
0N/A jthread thread);
0N/A
0N/A /* 6 : Resume Thread */
0N/A jvmtiError (JNICALL *ResumeThread) (jvmtiEnv* env,
0N/A jthread thread);
0N/A
0N/A /* 7 : Stop Thread */
0N/A jvmtiError (JNICALL *StopThread) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jobject exception);
0N/A
0N/A /* 8 : Interrupt Thread */
0N/A jvmtiError (JNICALL *InterruptThread) (jvmtiEnv* env,
0N/A jthread thread);
0N/A
0N/A /* 9 : Get Thread Info */
0N/A jvmtiError (JNICALL *GetThreadInfo) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jvmtiThreadInfo* info_ptr);
0N/A
0N/A /* 10 : Get Owned Monitor Info */
0N/A jvmtiError (JNICALL *GetOwnedMonitorInfo) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint* owned_monitor_count_ptr,
0N/A jobject** owned_monitors_ptr);
0N/A
0N/A /* 11 : Get Current Contended Monitor */
0N/A jvmtiError (JNICALL *GetCurrentContendedMonitor) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jobject* monitor_ptr);
0N/A
0N/A /* 12 : Run Agent Thread */
0N/A jvmtiError (JNICALL *RunAgentThread) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jvmtiStartFunction proc,
0N/A const void* arg,
0N/A jint priority);
0N/A
0N/A /* 13 : Get Top Thread Groups */
0N/A jvmtiError (JNICALL *GetTopThreadGroups) (jvmtiEnv* env,
0N/A jint* group_count_ptr,
0N/A jthreadGroup** groups_ptr);
0N/A
0N/A /* 14 : Get Thread Group Info */
0N/A jvmtiError (JNICALL *GetThreadGroupInfo) (jvmtiEnv* env,
0N/A jthreadGroup group,
0N/A jvmtiThreadGroupInfo* info_ptr);
0N/A
0N/A /* 15 : Get Thread Group Children */
0N/A jvmtiError (JNICALL *GetThreadGroupChildren) (jvmtiEnv* env,
0N/A jthreadGroup group,
0N/A jint* thread_count_ptr,
0N/A jthread** threads_ptr,
0N/A jint* group_count_ptr,
0N/A jthreadGroup** groups_ptr);
0N/A
0N/A /* 16 : Get Frame Count */
0N/A jvmtiError (JNICALL *GetFrameCount) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint* count_ptr);
0N/A
0N/A /* 17 : Get Thread State */
0N/A jvmtiError (JNICALL *GetThreadState) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint* thread_state_ptr);
0N/A
0N/A /* 18 : Get Current Thread */
0N/A jvmtiError (JNICALL *GetCurrentThread) (jvmtiEnv* env,
0N/A jthread* thread_ptr);
0N/A
0N/A /* 19 : Get Frame Location */
0N/A jvmtiError (JNICALL *GetFrameLocation) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jmethodID* method_ptr,
0N/A jlocation* location_ptr);
0N/A
0N/A /* 20 : Notify Frame Pop */
0N/A jvmtiError (JNICALL *NotifyFramePop) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth);
0N/A
0N/A /* 21 : Get Local Variable - Object */
0N/A jvmtiError (JNICALL *GetLocalObject) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jobject* value_ptr);
0N/A
0N/A /* 22 : Get Local Variable - Int */
0N/A jvmtiError (JNICALL *GetLocalInt) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jint* value_ptr);
0N/A
0N/A /* 23 : Get Local Variable - Long */
0N/A jvmtiError (JNICALL *GetLocalLong) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jlong* value_ptr);
0N/A
0N/A /* 24 : Get Local Variable - Float */
0N/A jvmtiError (JNICALL *GetLocalFloat) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jfloat* value_ptr);
0N/A
0N/A /* 25 : Get Local Variable - Double */
0N/A jvmtiError (JNICALL *GetLocalDouble) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jdouble* value_ptr);
0N/A
0N/A /* 26 : Set Local Variable - Object */
0N/A jvmtiError (JNICALL *SetLocalObject) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jobject value);
0N/A
0N/A /* 27 : Set Local Variable - Int */
0N/A jvmtiError (JNICALL *SetLocalInt) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jint value);
0N/A
0N/A /* 28 : Set Local Variable - Long */
0N/A jvmtiError (JNICALL *SetLocalLong) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jlong value);
0N/A
0N/A /* 29 : Set Local Variable - Float */
0N/A jvmtiError (JNICALL *SetLocalFloat) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jfloat value);
0N/A
0N/A /* 30 : Set Local Variable - Double */
0N/A jvmtiError (JNICALL *SetLocalDouble) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jdouble value);
0N/A
0N/A /* 31 : Create Raw Monitor */
0N/A jvmtiError (JNICALL *CreateRawMonitor) (jvmtiEnv* env,
0N/A const char* name,
0N/A jrawMonitorID* monitor_ptr);
0N/A
0N/A /* 32 : Destroy Raw Monitor */
0N/A jvmtiError (JNICALL *DestroyRawMonitor) (jvmtiEnv* env,
0N/A jrawMonitorID monitor);
0N/A
0N/A /* 33 : Raw Monitor Enter */
0N/A jvmtiError (JNICALL *RawMonitorEnter) (jvmtiEnv* env,
0N/A jrawMonitorID monitor);
0N/A
0N/A /* 34 : Raw Monitor Exit */
0N/A jvmtiError (JNICALL *RawMonitorExit) (jvmtiEnv* env,
0N/A jrawMonitorID monitor);
0N/A
0N/A /* 35 : Raw Monitor Wait */
0N/A jvmtiError (JNICALL *RawMonitorWait) (jvmtiEnv* env,
0N/A jrawMonitorID monitor,
0N/A jlong millis);
0N/A
0N/A /* 36 : Raw Monitor Notify */
0N/A jvmtiError (JNICALL *RawMonitorNotify) (jvmtiEnv* env,
0N/A jrawMonitorID monitor);
0N/A
0N/A /* 37 : Raw Monitor Notify All */
0N/A jvmtiError (JNICALL *RawMonitorNotifyAll) (jvmtiEnv* env,
0N/A jrawMonitorID monitor);
0N/A
0N/A /* 38 : Set Breakpoint */
0N/A jvmtiError (JNICALL *SetBreakpoint) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jlocation location);
0N/A
0N/A /* 39 : Clear Breakpoint */
0N/A jvmtiError (JNICALL *ClearBreakpoint) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jlocation location);
0N/A
0N/A /* 40 : RESERVED */
0N/A void *reserved40;
0N/A
0N/A /* 41 : Set Field Access Watch */
0N/A jvmtiError (JNICALL *SetFieldAccessWatch) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field);
0N/A
0N/A /* 42 : Clear Field Access Watch */
0N/A jvmtiError (JNICALL *ClearFieldAccessWatch) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field);
0N/A
0N/A /* 43 : Set Field Modification Watch */
0N/A jvmtiError (JNICALL *SetFieldModificationWatch) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field);
0N/A
0N/A /* 44 : Clear Field Modification Watch */
0N/A jvmtiError (JNICALL *ClearFieldModificationWatch) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field);
0N/A
0N/A /* 45 : Is Modifiable Class */
0N/A jvmtiError (JNICALL *IsModifiableClass) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jboolean* is_modifiable_class_ptr);
0N/A
0N/A /* 46 : Allocate */
0N/A jvmtiError (JNICALL *Allocate) (jvmtiEnv* env,
0N/A jlong size,
0N/A unsigned char** mem_ptr);
0N/A
0N/A /* 47 : Deallocate */
0N/A jvmtiError (JNICALL *Deallocate) (jvmtiEnv* env,
0N/A unsigned char* mem);
0N/A
0N/A /* 48 : Get Class Signature */
0N/A jvmtiError (JNICALL *GetClassSignature) (jvmtiEnv* env,
0N/A jclass klass,
0N/A char** signature_ptr,
0N/A char** generic_ptr);
0N/A
0N/A /* 49 : Get Class Status */
0N/A jvmtiError (JNICALL *GetClassStatus) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* status_ptr);
0N/A
0N/A /* 50 : Get Source File Name */
0N/A jvmtiError (JNICALL *GetSourceFileName) (jvmtiEnv* env,
0N/A jclass klass,
0N/A char** source_name_ptr);
0N/A
0N/A /* 51 : Get Class Modifiers */
0N/A jvmtiError (JNICALL *GetClassModifiers) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* modifiers_ptr);
0N/A
0N/A /* 52 : Get Class Methods */
0N/A jvmtiError (JNICALL *GetClassMethods) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* method_count_ptr,
0N/A jmethodID** methods_ptr);
0N/A
0N/A /* 53 : Get Class Fields */
0N/A jvmtiError (JNICALL *GetClassFields) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* field_count_ptr,
0N/A jfieldID** fields_ptr);
0N/A
0N/A /* 54 : Get Implemented Interfaces */
0N/A jvmtiError (JNICALL *GetImplementedInterfaces) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* interface_count_ptr,
0N/A jclass** interfaces_ptr);
0N/A
0N/A /* 55 : Is Interface */
0N/A jvmtiError (JNICALL *IsInterface) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jboolean* is_interface_ptr);
0N/A
0N/A /* 56 : Is Array Class */
0N/A jvmtiError (JNICALL *IsArrayClass) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jboolean* is_array_class_ptr);
0N/A
0N/A /* 57 : Get Class Loader */
0N/A jvmtiError (JNICALL *GetClassLoader) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jobject* classloader_ptr);
0N/A
0N/A /* 58 : Get Object Hash Code */
0N/A jvmtiError (JNICALL *GetObjectHashCode) (jvmtiEnv* env,
0N/A jobject object,
0N/A jint* hash_code_ptr);
0N/A
0N/A /* 59 : Get Object Monitor Usage */
0N/A jvmtiError (JNICALL *GetObjectMonitorUsage) (jvmtiEnv* env,
0N/A jobject object,
0N/A jvmtiMonitorUsage* info_ptr);
0N/A
0N/A /* 60 : Get Field Name (and Signature) */
0N/A jvmtiError (JNICALL *GetFieldName) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field,
0N/A char** name_ptr,
0N/A char** signature_ptr,
0N/A char** generic_ptr);
0N/A
0N/A /* 61 : Get Field Declaring Class */
0N/A jvmtiError (JNICALL *GetFieldDeclaringClass) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field,
0N/A jclass* declaring_class_ptr);
0N/A
0N/A /* 62 : Get Field Modifiers */
0N/A jvmtiError (JNICALL *GetFieldModifiers) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field,
0N/A jint* modifiers_ptr);
0N/A
0N/A /* 63 : Is Field Synthetic */
0N/A jvmtiError (JNICALL *IsFieldSynthetic) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jfieldID field,
0N/A jboolean* is_synthetic_ptr);
0N/A
0N/A /* 64 : Get Method Name (and Signature) */
0N/A jvmtiError (JNICALL *GetMethodName) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A char** name_ptr,
0N/A char** signature_ptr,
0N/A char** generic_ptr);
0N/A
0N/A /* 65 : Get Method Declaring Class */
0N/A jvmtiError (JNICALL *GetMethodDeclaringClass) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jclass* declaring_class_ptr);
0N/A
0N/A /* 66 : Get Method Modifiers */
0N/A jvmtiError (JNICALL *GetMethodModifiers) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jint* modifiers_ptr);
0N/A
0N/A /* 67 : RESERVED */
0N/A void *reserved67;
0N/A
0N/A /* 68 : Get Max Locals */
0N/A jvmtiError (JNICALL *GetMaxLocals) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jint* max_ptr);
0N/A
0N/A /* 69 : Get Arguments Size */
0N/A jvmtiError (JNICALL *GetArgumentsSize) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jint* size_ptr);
0N/A
0N/A /* 70 : Get Line Number Table */
0N/A jvmtiError (JNICALL *GetLineNumberTable) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jint* entry_count_ptr,
0N/A jvmtiLineNumberEntry** table_ptr);
0N/A
0N/A /* 71 : Get Method Location */
0N/A jvmtiError (JNICALL *GetMethodLocation) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jlocation* start_location_ptr,
0N/A jlocation* end_location_ptr);
0N/A
0N/A /* 72 : Get Local Variable Table */
0N/A jvmtiError (JNICALL *GetLocalVariableTable) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jint* entry_count_ptr,
0N/A jvmtiLocalVariableEntry** table_ptr);
0N/A
0N/A /* 73 : Set Native Method Prefix */
0N/A jvmtiError (JNICALL *SetNativeMethodPrefix) (jvmtiEnv* env,
0N/A const char* prefix);
0N/A
0N/A /* 74 : Set Native Method Prefixes */
0N/A jvmtiError (JNICALL *SetNativeMethodPrefixes) (jvmtiEnv* env,
0N/A jint prefix_count,
0N/A char** prefixes);
0N/A
0N/A /* 75 : Get Bytecodes */
0N/A jvmtiError (JNICALL *GetBytecodes) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jint* bytecode_count_ptr,
0N/A unsigned char** bytecodes_ptr);
0N/A
0N/A /* 76 : Is Method Native */
0N/A jvmtiError (JNICALL *IsMethodNative) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jboolean* is_native_ptr);
0N/A
0N/A /* 77 : Is Method Synthetic */
0N/A jvmtiError (JNICALL *IsMethodSynthetic) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jboolean* is_synthetic_ptr);
0N/A
0N/A /* 78 : Get Loaded Classes */
0N/A jvmtiError (JNICALL *GetLoadedClasses) (jvmtiEnv* env,
0N/A jint* class_count_ptr,
0N/A jclass** classes_ptr);
0N/A
0N/A /* 79 : Get Classloader Classes */
0N/A jvmtiError (JNICALL *GetClassLoaderClasses) (jvmtiEnv* env,
0N/A jobject initiating_loader,
0N/A jint* class_count_ptr,
0N/A jclass** classes_ptr);
0N/A
0N/A /* 80 : Pop Frame */
0N/A jvmtiError (JNICALL *PopFrame) (jvmtiEnv* env,
0N/A jthread thread);
0N/A
0N/A /* 81 : Force Early Return - Object */
0N/A jvmtiError (JNICALL *ForceEarlyReturnObject) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jobject value);
0N/A
0N/A /* 82 : Force Early Return - Int */
0N/A jvmtiError (JNICALL *ForceEarlyReturnInt) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint value);
0N/A
0N/A /* 83 : Force Early Return - Long */
0N/A jvmtiError (JNICALL *ForceEarlyReturnLong) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jlong value);
0N/A
0N/A /* 84 : Force Early Return - Float */
0N/A jvmtiError (JNICALL *ForceEarlyReturnFloat) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jfloat value);
0N/A
0N/A /* 85 : Force Early Return - Double */
0N/A jvmtiError (JNICALL *ForceEarlyReturnDouble) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jdouble value);
0N/A
0N/A /* 86 : Force Early Return - Void */
0N/A jvmtiError (JNICALL *ForceEarlyReturnVoid) (jvmtiEnv* env,
0N/A jthread thread);
0N/A
0N/A /* 87 : Redefine Classes */
0N/A jvmtiError (JNICALL *RedefineClasses) (jvmtiEnv* env,
0N/A jint class_count,
0N/A const jvmtiClassDefinition* class_definitions);
0N/A
0N/A /* 88 : Get Version Number */
0N/A jvmtiError (JNICALL *GetVersionNumber) (jvmtiEnv* env,
0N/A jint* version_ptr);
0N/A
0N/A /* 89 : Get Capabilities */
0N/A jvmtiError (JNICALL *GetCapabilities) (jvmtiEnv* env,
0N/A jvmtiCapabilities* capabilities_ptr);
0N/A
0N/A /* 90 : Get Source Debug Extension */
0N/A jvmtiError (JNICALL *GetSourceDebugExtension) (jvmtiEnv* env,
0N/A jclass klass,
0N/A char** source_debug_extension_ptr);
0N/A
0N/A /* 91 : Is Method Obsolete */
0N/A jvmtiError (JNICALL *IsMethodObsolete) (jvmtiEnv* env,
0N/A jmethodID method,
0N/A jboolean* is_obsolete_ptr);
0N/A
0N/A /* 92 : Suspend Thread List */
0N/A jvmtiError (JNICALL *SuspendThreadList) (jvmtiEnv* env,
0N/A jint request_count,
0N/A const jthread* request_list,
0N/A jvmtiError* results);
0N/A
0N/A /* 93 : Resume Thread List */
0N/A jvmtiError (JNICALL *ResumeThreadList) (jvmtiEnv* env,
0N/A jint request_count,
0N/A const jthread* request_list,
0N/A jvmtiError* results);
0N/A
0N/A /* 94 : RESERVED */
0N/A void *reserved94;
0N/A
0N/A /* 95 : RESERVED */
0N/A void *reserved95;
0N/A
0N/A /* 96 : RESERVED */
0N/A void *reserved96;
0N/A
0N/A /* 97 : RESERVED */
0N/A void *reserved97;
0N/A
0N/A /* 98 : RESERVED */
0N/A void *reserved98;
0N/A
0N/A /* 99 : RESERVED */
0N/A void *reserved99;
0N/A
0N/A /* 100 : Get All Stack Traces */
0N/A jvmtiError (JNICALL *GetAllStackTraces) (jvmtiEnv* env,
0N/A jint max_frame_count,
0N/A jvmtiStackInfo** stack_info_ptr,
0N/A jint* thread_count_ptr);
0N/A
0N/A /* 101 : Get Thread List Stack Traces */
0N/A jvmtiError (JNICALL *GetThreadListStackTraces) (jvmtiEnv* env,
0N/A jint thread_count,
0N/A const jthread* thread_list,
0N/A jint max_frame_count,
0N/A jvmtiStackInfo** stack_info_ptr);
0N/A
0N/A /* 102 : Get Thread Local Storage */
0N/A jvmtiError (JNICALL *GetThreadLocalStorage) (jvmtiEnv* env,
0N/A jthread thread,
0N/A void** data_ptr);
0N/A
0N/A /* 103 : Set Thread Local Storage */
0N/A jvmtiError (JNICALL *SetThreadLocalStorage) (jvmtiEnv* env,
0N/A jthread thread,
0N/A const void* data);
0N/A
0N/A /* 104 : Get Stack Trace */
0N/A jvmtiError (JNICALL *GetStackTrace) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint start_depth,
0N/A jint max_frame_count,
0N/A jvmtiFrameInfo* frame_buffer,
0N/A jint* count_ptr);
0N/A
0N/A /* 105 : RESERVED */
0N/A void *reserved105;
0N/A
0N/A /* 106 : Get Tag */
0N/A jvmtiError (JNICALL *GetTag) (jvmtiEnv* env,
0N/A jobject object,
0N/A jlong* tag_ptr);
0N/A
0N/A /* 107 : Set Tag */
0N/A jvmtiError (JNICALL *SetTag) (jvmtiEnv* env,
0N/A jobject object,
0N/A jlong tag);
0N/A
0N/A /* 108 : Force Garbage Collection */
0N/A jvmtiError (JNICALL *ForceGarbageCollection) (jvmtiEnv* env);
0N/A
0N/A /* 109 : Iterate Over Objects Reachable From Object */
0N/A jvmtiError (JNICALL *IterateOverObjectsReachableFromObject) (jvmtiEnv* env,
0N/A jobject object,
0N/A jvmtiObjectReferenceCallback object_reference_callback,
0N/A const void* user_data);
0N/A
0N/A /* 110 : Iterate Over Reachable Objects */
0N/A jvmtiError (JNICALL *IterateOverReachableObjects) (jvmtiEnv* env,
0N/A jvmtiHeapRootCallback heap_root_callback,
0N/A jvmtiStackReferenceCallback stack_ref_callback,
0N/A jvmtiObjectReferenceCallback object_ref_callback,
0N/A const void* user_data);
0N/A
0N/A /* 111 : Iterate Over Heap */
0N/A jvmtiError (JNICALL *IterateOverHeap) (jvmtiEnv* env,
0N/A jvmtiHeapObjectFilter object_filter,
0N/A jvmtiHeapObjectCallback heap_object_callback,
0N/A const void* user_data);
0N/A
0N/A /* 112 : Iterate Over Instances Of Class */
0N/A jvmtiError (JNICALL *IterateOverInstancesOfClass) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jvmtiHeapObjectFilter object_filter,
0N/A jvmtiHeapObjectCallback heap_object_callback,
0N/A const void* user_data);
0N/A
0N/A /* 113 : RESERVED */
0N/A void *reserved113;
0N/A
0N/A /* 114 : Get Objects With Tags */
0N/A jvmtiError (JNICALL *GetObjectsWithTags) (jvmtiEnv* env,
0N/A jint tag_count,
0N/A const jlong* tags,
0N/A jint* count_ptr,
0N/A jobject** object_result_ptr,
0N/A jlong** tag_result_ptr);
0N/A
0N/A /* 115 : Follow References */
0N/A jvmtiError (JNICALL *FollowReferences) (jvmtiEnv* env,
0N/A jint heap_filter,
0N/A jclass klass,
0N/A jobject initial_object,
0N/A const jvmtiHeapCallbacks* callbacks,
0N/A const void* user_data);
0N/A
0N/A /* 116 : Iterate Through Heap */
0N/A jvmtiError (JNICALL *IterateThroughHeap) (jvmtiEnv* env,
0N/A jint heap_filter,
0N/A jclass klass,
0N/A const jvmtiHeapCallbacks* callbacks,
0N/A const void* user_data);
0N/A
0N/A /* 117 : RESERVED */
0N/A void *reserved117;
0N/A
0N/A /* 118 : RESERVED */
0N/A void *reserved118;
0N/A
0N/A /* 119 : RESERVED */
0N/A void *reserved119;
0N/A
0N/A /* 120 : Set JNI Function Table */
0N/A jvmtiError (JNICALL *SetJNIFunctionTable) (jvmtiEnv* env,
0N/A const jniNativeInterface* function_table);
0N/A
0N/A /* 121 : Get JNI Function Table */
0N/A jvmtiError (JNICALL *GetJNIFunctionTable) (jvmtiEnv* env,
0N/A jniNativeInterface** function_table);
0N/A
0N/A /* 122 : Set Event Callbacks */
0N/A jvmtiError (JNICALL *SetEventCallbacks) (jvmtiEnv* env,
0N/A const jvmtiEventCallbacks* callbacks,
0N/A jint size_of_callbacks);
0N/A
0N/A /* 123 : Generate Events */
0N/A jvmtiError (JNICALL *GenerateEvents) (jvmtiEnv* env,
0N/A jvmtiEvent event_type);
0N/A
0N/A /* 124 : Get Extension Functions */
0N/A jvmtiError (JNICALL *GetExtensionFunctions) (jvmtiEnv* env,
0N/A jint* extension_count_ptr,
0N/A jvmtiExtensionFunctionInfo** extensions);
0N/A
0N/A /* 125 : Get Extension Events */
0N/A jvmtiError (JNICALL *GetExtensionEvents) (jvmtiEnv* env,
0N/A jint* extension_count_ptr,
0N/A jvmtiExtensionEventInfo** extensions);
0N/A
0N/A /* 126 : Set Extension Event Callback */
0N/A jvmtiError (JNICALL *SetExtensionEventCallback) (jvmtiEnv* env,
0N/A jint extension_event_index,
0N/A jvmtiExtensionEvent callback);
0N/A
0N/A /* 127 : Dispose Environment */
0N/A jvmtiError (JNICALL *DisposeEnvironment) (jvmtiEnv* env);
0N/A
0N/A /* 128 : Get Error Name */
0N/A jvmtiError (JNICALL *GetErrorName) (jvmtiEnv* env,
0N/A jvmtiError error,
0N/A char** name_ptr);
0N/A
0N/A /* 129 : Get JLocation Format */
0N/A jvmtiError (JNICALL *GetJLocationFormat) (jvmtiEnv* env,
0N/A jvmtiJlocationFormat* format_ptr);
0N/A
0N/A /* 130 : Get System Properties */
0N/A jvmtiError (JNICALL *GetSystemProperties) (jvmtiEnv* env,
0N/A jint* count_ptr,
0N/A char*** property_ptr);
0N/A
0N/A /* 131 : Get System Property */
0N/A jvmtiError (JNICALL *GetSystemProperty) (jvmtiEnv* env,
0N/A const char* property,
0N/A char** value_ptr);
0N/A
0N/A /* 132 : Set System Property */
0N/A jvmtiError (JNICALL *SetSystemProperty) (jvmtiEnv* env,
0N/A const char* property,
0N/A const char* value);
0N/A
0N/A /* 133 : Get Phase */
0N/A jvmtiError (JNICALL *GetPhase) (jvmtiEnv* env,
0N/A jvmtiPhase* phase_ptr);
0N/A
0N/A /* 134 : Get Current Thread CPU Timer Information */
0N/A jvmtiError (JNICALL *GetCurrentThreadCpuTimerInfo) (jvmtiEnv* env,
0N/A jvmtiTimerInfo* info_ptr);
0N/A
0N/A /* 135 : Get Current Thread CPU Time */
0N/A jvmtiError (JNICALL *GetCurrentThreadCpuTime) (jvmtiEnv* env,
0N/A jlong* nanos_ptr);
0N/A
0N/A /* 136 : Get Thread CPU Timer Information */
0N/A jvmtiError (JNICALL *GetThreadCpuTimerInfo) (jvmtiEnv* env,
0N/A jvmtiTimerInfo* info_ptr);
0N/A
0N/A /* 137 : Get Thread CPU Time */
0N/A jvmtiError (JNICALL *GetThreadCpuTime) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jlong* nanos_ptr);
0N/A
0N/A /* 138 : Get Timer Information */
0N/A jvmtiError (JNICALL *GetTimerInfo) (jvmtiEnv* env,
0N/A jvmtiTimerInfo* info_ptr);
0N/A
0N/A /* 139 : Get Time */
0N/A jvmtiError (JNICALL *GetTime) (jvmtiEnv* env,
0N/A jlong* nanos_ptr);
0N/A
0N/A /* 140 : Get Potential Capabilities */
0N/A jvmtiError (JNICALL *GetPotentialCapabilities) (jvmtiEnv* env,
0N/A jvmtiCapabilities* capabilities_ptr);
0N/A
0N/A /* 141 : RESERVED */
0N/A void *reserved141;
0N/A
0N/A /* 142 : Add Capabilities */
0N/A jvmtiError (JNICALL *AddCapabilities) (jvmtiEnv* env,
0N/A const jvmtiCapabilities* capabilities_ptr);
0N/A
0N/A /* 143 : Relinquish Capabilities */
0N/A jvmtiError (JNICALL *RelinquishCapabilities) (jvmtiEnv* env,
0N/A const jvmtiCapabilities* capabilities_ptr);
0N/A
0N/A /* 144 : Get Available Processors */
0N/A jvmtiError (JNICALL *GetAvailableProcessors) (jvmtiEnv* env,
0N/A jint* processor_count_ptr);
0N/A
0N/A /* 145 : Get Class Version Numbers */
0N/A jvmtiError (JNICALL *GetClassVersionNumbers) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* minor_version_ptr,
0N/A jint* major_version_ptr);
0N/A
0N/A /* 146 : Get Constant Pool */
0N/A jvmtiError (JNICALL *GetConstantPool) (jvmtiEnv* env,
0N/A jclass klass,
0N/A jint* constant_pool_count_ptr,
0N/A jint* constant_pool_byte_count_ptr,
0N/A unsigned char** constant_pool_bytes_ptr);
0N/A
0N/A /* 147 : Get Environment Local Storage */
0N/A jvmtiError (JNICALL *GetEnvironmentLocalStorage) (jvmtiEnv* env,
0N/A void** data_ptr);
0N/A
0N/A /* 148 : Set Environment Local Storage */
0N/A jvmtiError (JNICALL *SetEnvironmentLocalStorage) (jvmtiEnv* env,
0N/A const void* data);
0N/A
0N/A /* 149 : Add To Bootstrap Class Loader Search */
0N/A jvmtiError (JNICALL *AddToBootstrapClassLoaderSearch) (jvmtiEnv* env,
0N/A const char* segment);
0N/A
0N/A /* 150 : Set Verbose Flag */
0N/A jvmtiError (JNICALL *SetVerboseFlag) (jvmtiEnv* env,
0N/A jvmtiVerboseFlag flag,
0N/A jboolean value);
0N/A
0N/A /* 151 : Add To System Class Loader Search */
0N/A jvmtiError (JNICALL *AddToSystemClassLoaderSearch) (jvmtiEnv* env,
0N/A const char* segment);
0N/A
0N/A /* 152 : Retransform Classes */
0N/A jvmtiError (JNICALL *RetransformClasses) (jvmtiEnv* env,
0N/A jint class_count,
0N/A const jclass* classes);
0N/A
0N/A /* 153 : Get Owned Monitor Stack Depth Info */
0N/A jvmtiError (JNICALL *GetOwnedMonitorStackDepthInfo) (jvmtiEnv* env,
0N/A jthread thread,
0N/A jint* monitor_info_count_ptr,
0N/A jvmtiMonitorStackDepthInfo** monitor_info_ptr);
0N/A
0N/A /* 154 : Get Object Size */
0N/A jvmtiError (JNICALL *GetObjectSize) (jvmtiEnv* env,
0N/A jobject object,
0N/A jlong* size_ptr);
0N/A
3389N/A /* 155 : Get Local Instance */
3389N/A jvmtiError (JNICALL *GetLocalInstance) (jvmtiEnv* env,
3389N/A jthread thread,
3389N/A jint depth,
3389N/A jobject* value_ptr);
3389N/A
0N/A} jvmtiInterface_1;
0N/A
0N/Astruct _jvmtiEnv {
0N/A const struct jvmtiInterface_1_ *functions;
0N/A#ifdef __cplusplus
0N/A
0N/A
0N/A jvmtiError Allocate(jlong size,
0N/A unsigned char** mem_ptr) {
0N/A return functions->Allocate(this, size, mem_ptr);
0N/A }
0N/A
0N/A jvmtiError Deallocate(unsigned char* mem) {
0N/A return functions->Deallocate(this, mem);
0N/A }
0N/A
0N/A jvmtiError GetThreadState(jthread thread,
0N/A jint* thread_state_ptr) {
0N/A return functions->GetThreadState(this, thread, thread_state_ptr);
0N/A }
0N/A
0N/A jvmtiError GetCurrentThread(jthread* thread_ptr) {
0N/A return functions->GetCurrentThread(this, thread_ptr);
0N/A }
0N/A
0N/A jvmtiError GetAllThreads(jint* threads_count_ptr,
0N/A jthread** threads_ptr) {
0N/A return functions->GetAllThreads(this, threads_count_ptr, threads_ptr);
0N/A }
0N/A
0N/A jvmtiError SuspendThread(jthread thread) {
0N/A return functions->SuspendThread(this, thread);
0N/A }
0N/A
0N/A jvmtiError SuspendThreadList(jint request_count,
0N/A const jthread* request_list,
0N/A jvmtiError* results) {
0N/A return functions->SuspendThreadList(this, request_count, request_list, results);
0N/A }
0N/A
0N/A jvmtiError ResumeThread(jthread thread) {
0N/A return functions->ResumeThread(this, thread);
0N/A }
0N/A
0N/A jvmtiError ResumeThreadList(jint request_count,
0N/A const jthread* request_list,
0N/A jvmtiError* results) {
0N/A return functions->ResumeThreadList(this, request_count, request_list, results);
0N/A }
0N/A
0N/A jvmtiError StopThread(jthread thread,
0N/A jobject exception) {
0N/A return functions->StopThread(this, thread, exception);
0N/A }
0N/A
0N/A jvmtiError InterruptThread(jthread thread) {
0N/A return functions->InterruptThread(this, thread);
0N/A }
0N/A
0N/A jvmtiError GetThreadInfo(jthread thread,
0N/A jvmtiThreadInfo* info_ptr) {
0N/A return functions->GetThreadInfo(this, thread, info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetOwnedMonitorInfo(jthread thread,
0N/A jint* owned_monitor_count_ptr,
0N/A jobject** owned_monitors_ptr) {
0N/A return functions->GetOwnedMonitorInfo(this, thread, owned_monitor_count_ptr, owned_monitors_ptr);
0N/A }
0N/A
0N/A jvmtiError GetOwnedMonitorStackDepthInfo(jthread thread,
0N/A jint* monitor_info_count_ptr,
0N/A jvmtiMonitorStackDepthInfo** monitor_info_ptr) {
0N/A return functions->GetOwnedMonitorStackDepthInfo(this, thread, monitor_info_count_ptr, monitor_info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetCurrentContendedMonitor(jthread thread,
0N/A jobject* monitor_ptr) {
0N/A return functions->GetCurrentContendedMonitor(this, thread, monitor_ptr);
0N/A }
0N/A
0N/A jvmtiError RunAgentThread(jthread thread,
0N/A jvmtiStartFunction proc,
0N/A const void* arg,
0N/A jint priority) {
0N/A return functions->RunAgentThread(this, thread, proc, arg, priority);
0N/A }
0N/A
0N/A jvmtiError SetThreadLocalStorage(jthread thread,
0N/A const void* data) {
0N/A return functions->SetThreadLocalStorage(this, thread, data);
0N/A }
0N/A
0N/A jvmtiError GetThreadLocalStorage(jthread thread,
0N/A void** data_ptr) {
0N/A return functions->GetThreadLocalStorage(this, thread, data_ptr);
0N/A }
0N/A
0N/A jvmtiError GetTopThreadGroups(jint* group_count_ptr,
0N/A jthreadGroup** groups_ptr) {
0N/A return functions->GetTopThreadGroups(this, group_count_ptr, groups_ptr);
0N/A }
0N/A
0N/A jvmtiError GetThreadGroupInfo(jthreadGroup group,
0N/A jvmtiThreadGroupInfo* info_ptr) {
0N/A return functions->GetThreadGroupInfo(this, group, info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetThreadGroupChildren(jthreadGroup group,
0N/A jint* thread_count_ptr,
0N/A jthread** threads_ptr,
0N/A jint* group_count_ptr,
0N/A jthreadGroup** groups_ptr) {
0N/A return functions->GetThreadGroupChildren(this, group, thread_count_ptr, threads_ptr, group_count_ptr, groups_ptr);
0N/A }
0N/A
0N/A jvmtiError GetStackTrace(jthread thread,
0N/A jint start_depth,
0N/A jint max_frame_count,
0N/A jvmtiFrameInfo* frame_buffer,
0N/A jint* count_ptr) {
0N/A return functions->GetStackTrace(this, thread, start_depth, max_frame_count, frame_buffer, count_ptr);
0N/A }
0N/A
0N/A jvmtiError GetAllStackTraces(jint max_frame_count,
0N/A jvmtiStackInfo** stack_info_ptr,
0N/A jint* thread_count_ptr) {
0N/A return functions->GetAllStackTraces(this, max_frame_count, stack_info_ptr, thread_count_ptr);
0N/A }
0N/A
0N/A jvmtiError GetThreadListStackTraces(jint thread_count,
0N/A const jthread* thread_list,
0N/A jint max_frame_count,
0N/A jvmtiStackInfo** stack_info_ptr) {
0N/A return functions->GetThreadListStackTraces(this, thread_count, thread_list, max_frame_count, stack_info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetFrameCount(jthread thread,
0N/A jint* count_ptr) {
0N/A return functions->GetFrameCount(this, thread, count_ptr);
0N/A }
0N/A
0N/A jvmtiError PopFrame(jthread thread) {
0N/A return functions->PopFrame(this, thread);
0N/A }
0N/A
0N/A jvmtiError GetFrameLocation(jthread thread,
0N/A jint depth,
0N/A jmethodID* method_ptr,
0N/A jlocation* location_ptr) {
0N/A return functions->GetFrameLocation(this, thread, depth, method_ptr, location_ptr);
0N/A }
0N/A
0N/A jvmtiError NotifyFramePop(jthread thread,
0N/A jint depth) {
0N/A return functions->NotifyFramePop(this, thread, depth);
0N/A }
0N/A
0N/A jvmtiError ForceEarlyReturnObject(jthread thread,
0N/A jobject value) {
0N/A return functions->ForceEarlyReturnObject(this, thread, value);
0N/A }
0N/A
0N/A jvmtiError ForceEarlyReturnInt(jthread thread,
0N/A jint value) {
0N/A return functions->ForceEarlyReturnInt(this, thread, value);
0N/A }
0N/A
0N/A jvmtiError ForceEarlyReturnLong(jthread thread,
0N/A jlong value) {
0N/A return functions->ForceEarlyReturnLong(this, thread, value);
0N/A }
0N/A
0N/A jvmtiError ForceEarlyReturnFloat(jthread thread,
0N/A jfloat value) {
0N/A return functions->ForceEarlyReturnFloat(this, thread, value);
0N/A }
0N/A
0N/A jvmtiError ForceEarlyReturnDouble(jthread thread,
0N/A jdouble value) {
0N/A return functions->ForceEarlyReturnDouble(this, thread, value);
0N/A }
0N/A
0N/A jvmtiError ForceEarlyReturnVoid(jthread thread) {
0N/A return functions->ForceEarlyReturnVoid(this, thread);
0N/A }
0N/A
0N/A jvmtiError FollowReferences(jint heap_filter,
0N/A jclass klass,
0N/A jobject initial_object,
0N/A const jvmtiHeapCallbacks* callbacks,
0N/A const void* user_data) {
0N/A return functions->FollowReferences(this, heap_filter, klass, initial_object, callbacks, user_data);
0N/A }
0N/A
0N/A jvmtiError IterateThroughHeap(jint heap_filter,
0N/A jclass klass,
0N/A const jvmtiHeapCallbacks* callbacks,
0N/A const void* user_data) {
0N/A return functions->IterateThroughHeap(this, heap_filter, klass, callbacks, user_data);
0N/A }
0N/A
0N/A jvmtiError GetTag(jobject object,
0N/A jlong* tag_ptr) {
0N/A return functions->GetTag(this, object, tag_ptr);
0N/A }
0N/A
0N/A jvmtiError SetTag(jobject object,
0N/A jlong tag) {
0N/A return functions->SetTag(this, object, tag);
0N/A }
0N/A
0N/A jvmtiError GetObjectsWithTags(jint tag_count,
0N/A const jlong* tags,
0N/A jint* count_ptr,
0N/A jobject** object_result_ptr,
0N/A jlong** tag_result_ptr) {
0N/A return functions->GetObjectsWithTags(this, tag_count, tags, count_ptr, object_result_ptr, tag_result_ptr);
0N/A }
0N/A
0N/A jvmtiError ForceGarbageCollection() {
0N/A return functions->ForceGarbageCollection(this);
0N/A }
0N/A
0N/A jvmtiError IterateOverObjectsReachableFromObject(jobject object,
0N/A jvmtiObjectReferenceCallback object_reference_callback,
0N/A const void* user_data) {
0N/A return functions->IterateOverObjectsReachableFromObject(this, object, object_reference_callback, user_data);
0N/A }
0N/A
0N/A jvmtiError IterateOverReachableObjects(jvmtiHeapRootCallback heap_root_callback,
0N/A jvmtiStackReferenceCallback stack_ref_callback,
0N/A jvmtiObjectReferenceCallback object_ref_callback,
0N/A const void* user_data) {
0N/A return functions->IterateOverReachableObjects(this, heap_root_callback, stack_ref_callback, object_ref_callback, user_data);
0N/A }
0N/A
0N/A jvmtiError IterateOverHeap(jvmtiHeapObjectFilter object_filter,
0N/A jvmtiHeapObjectCallback heap_object_callback,
0N/A const void* user_data) {
0N/A return functions->IterateOverHeap(this, object_filter, heap_object_callback, user_data);
0N/A }
0N/A
0N/A jvmtiError IterateOverInstancesOfClass(jclass klass,
0N/A jvmtiHeapObjectFilter object_filter,
0N/A jvmtiHeapObjectCallback heap_object_callback,
0N/A const void* user_data) {
0N/A return functions->IterateOverInstancesOfClass(this, klass, object_filter, heap_object_callback, user_data);
0N/A }
0N/A
0N/A jvmtiError GetLocalObject(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jobject* value_ptr) {
0N/A return functions->GetLocalObject(this, thread, depth, slot, value_ptr);
0N/A }
0N/A
3389N/A jvmtiError GetLocalInstance(jthread thread,
3389N/A jint depth,
3389N/A jobject* value_ptr) {
3389N/A return functions->GetLocalInstance(this, thread, depth, value_ptr);
3389N/A }
3389N/A
0N/A jvmtiError GetLocalInt(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jint* value_ptr) {
0N/A return functions->GetLocalInt(this, thread, depth, slot, value_ptr);
0N/A }
0N/A
0N/A jvmtiError GetLocalLong(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jlong* value_ptr) {
0N/A return functions->GetLocalLong(this, thread, depth, slot, value_ptr);
0N/A }
0N/A
0N/A jvmtiError GetLocalFloat(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jfloat* value_ptr) {
0N/A return functions->GetLocalFloat(this, thread, depth, slot, value_ptr);
0N/A }
0N/A
0N/A jvmtiError GetLocalDouble(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jdouble* value_ptr) {
0N/A return functions->GetLocalDouble(this, thread, depth, slot, value_ptr);
0N/A }
0N/A
0N/A jvmtiError SetLocalObject(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jobject value) {
0N/A return functions->SetLocalObject(this, thread, depth, slot, value);
0N/A }
0N/A
0N/A jvmtiError SetLocalInt(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jint value) {
0N/A return functions->SetLocalInt(this, thread, depth, slot, value);
0N/A }
0N/A
0N/A jvmtiError SetLocalLong(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jlong value) {
0N/A return functions->SetLocalLong(this, thread, depth, slot, value);
0N/A }
0N/A
0N/A jvmtiError SetLocalFloat(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jfloat value) {
0N/A return functions->SetLocalFloat(this, thread, depth, slot, value);
0N/A }
0N/A
0N/A jvmtiError SetLocalDouble(jthread thread,
0N/A jint depth,
0N/A jint slot,
0N/A jdouble value) {
0N/A return functions->SetLocalDouble(this, thread, depth, slot, value);
0N/A }
0N/A
0N/A jvmtiError SetBreakpoint(jmethodID method,
0N/A jlocation location) {
0N/A return functions->SetBreakpoint(this, method, location);
0N/A }
0N/A
0N/A jvmtiError ClearBreakpoint(jmethodID method,
0N/A jlocation location) {
0N/A return functions->ClearBreakpoint(this, method, location);
0N/A }
0N/A
0N/A jvmtiError SetFieldAccessWatch(jclass klass,
0N/A jfieldID field) {
0N/A return functions->SetFieldAccessWatch(this, klass, field);
0N/A }
0N/A
0N/A jvmtiError ClearFieldAccessWatch(jclass klass,
0N/A jfieldID field) {
0N/A return functions->ClearFieldAccessWatch(this, klass, field);
0N/A }
0N/A
0N/A jvmtiError SetFieldModificationWatch(jclass klass,
0N/A jfieldID field) {
0N/A return functions->SetFieldModificationWatch(this, klass, field);
0N/A }
0N/A
0N/A jvmtiError ClearFieldModificationWatch(jclass klass,
0N/A jfieldID field) {
0N/A return functions->ClearFieldModificationWatch(this, klass, field);
0N/A }
0N/A
0N/A jvmtiError GetLoadedClasses(jint* class_count_ptr,
0N/A jclass** classes_ptr) {
0N/A return functions->GetLoadedClasses(this, class_count_ptr, classes_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassLoaderClasses(jobject initiating_loader,
0N/A jint* class_count_ptr,
0N/A jclass** classes_ptr) {
0N/A return functions->GetClassLoaderClasses(this, initiating_loader, class_count_ptr, classes_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassSignature(jclass klass,
0N/A char** signature_ptr,
0N/A char** generic_ptr) {
0N/A return functions->GetClassSignature(this, klass, signature_ptr, generic_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassStatus(jclass klass,
0N/A jint* status_ptr) {
0N/A return functions->GetClassStatus(this, klass, status_ptr);
0N/A }
0N/A
0N/A jvmtiError GetSourceFileName(jclass klass,
0N/A char** source_name_ptr) {
0N/A return functions->GetSourceFileName(this, klass, source_name_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassModifiers(jclass klass,
0N/A jint* modifiers_ptr) {
0N/A return functions->GetClassModifiers(this, klass, modifiers_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassMethods(jclass klass,
0N/A jint* method_count_ptr,
0N/A jmethodID** methods_ptr) {
0N/A return functions->GetClassMethods(this, klass, method_count_ptr, methods_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassFields(jclass klass,
0N/A jint* field_count_ptr,
0N/A jfieldID** fields_ptr) {
0N/A return functions->GetClassFields(this, klass, field_count_ptr, fields_ptr);
0N/A }
0N/A
0N/A jvmtiError GetImplementedInterfaces(jclass klass,
0N/A jint* interface_count_ptr,
0N/A jclass** interfaces_ptr) {
0N/A return functions->GetImplementedInterfaces(this, klass, interface_count_ptr, interfaces_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassVersionNumbers(jclass klass,
0N/A jint* minor_version_ptr,
0N/A jint* major_version_ptr) {
0N/A return functions->GetClassVersionNumbers(this, klass, minor_version_ptr, major_version_ptr);
0N/A }
0N/A
0N/A jvmtiError GetConstantPool(jclass klass,
0N/A jint* constant_pool_count_ptr,
0N/A jint* constant_pool_byte_count_ptr,
0N/A unsigned char** constant_pool_bytes_ptr) {
0N/A return functions->GetConstantPool(this, klass, constant_pool_count_ptr, constant_pool_byte_count_ptr, constant_pool_bytes_ptr);
0N/A }
0N/A
0N/A jvmtiError IsInterface(jclass klass,
0N/A jboolean* is_interface_ptr) {
0N/A return functions->IsInterface(this, klass, is_interface_ptr);
0N/A }
0N/A
0N/A jvmtiError IsArrayClass(jclass klass,
0N/A jboolean* is_array_class_ptr) {
0N/A return functions->IsArrayClass(this, klass, is_array_class_ptr);
0N/A }
0N/A
0N/A jvmtiError IsModifiableClass(jclass klass,
0N/A jboolean* is_modifiable_class_ptr) {
0N/A return functions->IsModifiableClass(this, klass, is_modifiable_class_ptr);
0N/A }
0N/A
0N/A jvmtiError GetClassLoader(jclass klass,
0N/A jobject* classloader_ptr) {
0N/A return functions->GetClassLoader(this, klass, classloader_ptr);
0N/A }
0N/A
0N/A jvmtiError GetSourceDebugExtension(jclass klass,
0N/A char** source_debug_extension_ptr) {
0N/A return functions->GetSourceDebugExtension(this, klass, source_debug_extension_ptr);
0N/A }
0N/A
0N/A jvmtiError RetransformClasses(jint class_count,
0N/A const jclass* classes) {
0N/A return functions->RetransformClasses(this, class_count, classes);
0N/A }
0N/A
0N/A jvmtiError RedefineClasses(jint class_count,
0N/A const jvmtiClassDefinition* class_definitions) {
0N/A return functions->RedefineClasses(this, class_count, class_definitions);
0N/A }
0N/A
0N/A jvmtiError GetObjectSize(jobject object,
0N/A jlong* size_ptr) {
0N/A return functions->GetObjectSize(this, object, size_ptr);
0N/A }
0N/A
0N/A jvmtiError GetObjectHashCode(jobject object,
0N/A jint* hash_code_ptr) {
0N/A return functions->GetObjectHashCode(this, object, hash_code_ptr);
0N/A }
0N/A
0N/A jvmtiError GetObjectMonitorUsage(jobject object,
0N/A jvmtiMonitorUsage* info_ptr) {
0N/A return functions->GetObjectMonitorUsage(this, object, info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetFieldName(jclass klass,
0N/A jfieldID field,
0N/A char** name_ptr,
0N/A char** signature_ptr,
0N/A char** generic_ptr) {
0N/A return functions->GetFieldName(this, klass, field, name_ptr, signature_ptr, generic_ptr);
0N/A }
0N/A
0N/A jvmtiError GetFieldDeclaringClass(jclass klass,
0N/A jfieldID field,
0N/A jclass* declaring_class_ptr) {
0N/A return functions->GetFieldDeclaringClass(this, klass, field, declaring_class_ptr);
0N/A }
0N/A
0N/A jvmtiError GetFieldModifiers(jclass klass,
0N/A jfieldID field,
0N/A jint* modifiers_ptr) {
0N/A return functions->GetFieldModifiers(this, klass, field, modifiers_ptr);
0N/A }
0N/A
0N/A jvmtiError IsFieldSynthetic(jclass klass,
0N/A jfieldID field,
0N/A jboolean* is_synthetic_ptr) {
0N/A return functions->IsFieldSynthetic(this, klass, field, is_synthetic_ptr);
0N/A }
0N/A
0N/A jvmtiError GetMethodName(jmethodID method,
0N/A char** name_ptr,
0N/A char** signature_ptr,
0N/A char** generic_ptr) {
0N/A return functions->GetMethodName(this, method, name_ptr, signature_ptr, generic_ptr);
0N/A }
0N/A
0N/A jvmtiError GetMethodDeclaringClass(jmethodID method,
0N/A jclass* declaring_class_ptr) {
0N/A return functions->GetMethodDeclaringClass(this, method, declaring_class_ptr);
0N/A }
0N/A
0N/A jvmtiError GetMethodModifiers(jmethodID method,
0N/A jint* modifiers_ptr) {
0N/A return functions->GetMethodModifiers(this, method, modifiers_ptr);
0N/A }
0N/A
0N/A jvmtiError GetMaxLocals(jmethodID method,
0N/A jint* max_ptr) {
0N/A return functions->GetMaxLocals(this, method, max_ptr);
0N/A }
0N/A
0N/A jvmtiError GetArgumentsSize(jmethodID method,
0N/A jint* size_ptr) {
0N/A return functions->GetArgumentsSize(this, method, size_ptr);
0N/A }
0N/A
0N/A jvmtiError GetLineNumberTable(jmethodID method,
0N/A jint* entry_count_ptr,
0N/A jvmtiLineNumberEntry** table_ptr) {
0N/A return functions->GetLineNumberTable(this, method, entry_count_ptr, table_ptr);
0N/A }
0N/A
0N/A jvmtiError GetMethodLocation(jmethodID method,
0N/A jlocation* start_location_ptr,
0N/A jlocation* end_location_ptr) {
0N/A return functions->GetMethodLocation(this, method, start_location_ptr, end_location_ptr);
0N/A }
0N/A
0N/A jvmtiError GetLocalVariableTable(jmethodID method,
0N/A jint* entry_count_ptr,
0N/A jvmtiLocalVariableEntry** table_ptr) {
0N/A return functions->GetLocalVariableTable(this, method, entry_count_ptr, table_ptr);
0N/A }
0N/A
0N/A jvmtiError GetBytecodes(jmethodID method,
0N/A jint* bytecode_count_ptr,
0N/A unsigned char** bytecodes_ptr) {
0N/A return functions->GetBytecodes(this, method, bytecode_count_ptr, bytecodes_ptr);
0N/A }
0N/A
0N/A jvmtiError IsMethodNative(jmethodID method,
0N/A jboolean* is_native_ptr) {
0N/A return functions->IsMethodNative(this, method, is_native_ptr);
0N/A }
0N/A
0N/A jvmtiError IsMethodSynthetic(jmethodID method,
0N/A jboolean* is_synthetic_ptr) {
0N/A return functions->IsMethodSynthetic(this, method, is_synthetic_ptr);
0N/A }
0N/A
0N/A jvmtiError IsMethodObsolete(jmethodID method,
0N/A jboolean* is_obsolete_ptr) {
0N/A return functions->IsMethodObsolete(this, method, is_obsolete_ptr);
0N/A }
0N/A
0N/A jvmtiError SetNativeMethodPrefix(const char* prefix) {
0N/A return functions->SetNativeMethodPrefix(this, prefix);
0N/A }
0N/A
0N/A jvmtiError SetNativeMethodPrefixes(jint prefix_count,
0N/A char** prefixes) {
0N/A return functions->SetNativeMethodPrefixes(this, prefix_count, prefixes);
0N/A }
0N/A
0N/A jvmtiError CreateRawMonitor(const char* name,
0N/A jrawMonitorID* monitor_ptr) {
0N/A return functions->CreateRawMonitor(this, name, monitor_ptr);
0N/A }
0N/A
0N/A jvmtiError DestroyRawMonitor(jrawMonitorID monitor) {
0N/A return functions->DestroyRawMonitor(this, monitor);
0N/A }
0N/A
0N/A jvmtiError RawMonitorEnter(jrawMonitorID monitor) {
0N/A return functions->RawMonitorEnter(this, monitor);
0N/A }
0N/A
0N/A jvmtiError RawMonitorExit(jrawMonitorID monitor) {
0N/A return functions->RawMonitorExit(this, monitor);
0N/A }
0N/A
0N/A jvmtiError RawMonitorWait(jrawMonitorID monitor,
0N/A jlong millis) {
0N/A return functions->RawMonitorWait(this, monitor, millis);
0N/A }
0N/A
0N/A jvmtiError RawMonitorNotify(jrawMonitorID monitor) {
0N/A return functions->RawMonitorNotify(this, monitor);
0N/A }
0N/A
0N/A jvmtiError RawMonitorNotifyAll(jrawMonitorID monitor) {
0N/A return functions->RawMonitorNotifyAll(this, monitor);
0N/A }
0N/A
0N/A jvmtiError SetJNIFunctionTable(const jniNativeInterface* function_table) {
0N/A return functions->SetJNIFunctionTable(this, function_table);
0N/A }
0N/A
0N/A jvmtiError GetJNIFunctionTable(jniNativeInterface** function_table) {
0N/A return functions->GetJNIFunctionTable(this, function_table);
0N/A }
0N/A
0N/A jvmtiError SetEventCallbacks(const jvmtiEventCallbacks* callbacks,
0N/A jint size_of_callbacks) {
0N/A return functions->SetEventCallbacks(this, callbacks, size_of_callbacks);
0N/A }
0N/A
0N/A jvmtiError SetEventNotificationMode(jvmtiEventMode mode,
0N/A jvmtiEvent event_type,
0N/A jthread event_thread,
0N/A ...) {
0N/A return functions->SetEventNotificationMode(this, mode, event_type, event_thread);
0N/A }
0N/A
0N/A jvmtiError GenerateEvents(jvmtiEvent event_type) {
0N/A return functions->GenerateEvents(this, event_type);
0N/A }
0N/A
0N/A jvmtiError GetExtensionFunctions(jint* extension_count_ptr,
0N/A jvmtiExtensionFunctionInfo** extensions) {
0N/A return functions->GetExtensionFunctions(this, extension_count_ptr, extensions);
0N/A }
0N/A
0N/A jvmtiError GetExtensionEvents(jint* extension_count_ptr,
0N/A jvmtiExtensionEventInfo** extensions) {
0N/A return functions->GetExtensionEvents(this, extension_count_ptr, extensions);
0N/A }
0N/A
0N/A jvmtiError SetExtensionEventCallback(jint extension_event_index,
0N/A jvmtiExtensionEvent callback) {
0N/A return functions->SetExtensionEventCallback(this, extension_event_index, callback);
0N/A }
0N/A
0N/A jvmtiError GetPotentialCapabilities(jvmtiCapabilities* capabilities_ptr) {
0N/A return functions->GetPotentialCapabilities(this, capabilities_ptr);
0N/A }
0N/A
0N/A jvmtiError AddCapabilities(const jvmtiCapabilities* capabilities_ptr) {
0N/A return functions->AddCapabilities(this, capabilities_ptr);
0N/A }
0N/A
0N/A jvmtiError RelinquishCapabilities(const jvmtiCapabilities* capabilities_ptr) {
0N/A return functions->RelinquishCapabilities(this, capabilities_ptr);
0N/A }
0N/A
0N/A jvmtiError GetCapabilities(jvmtiCapabilities* capabilities_ptr) {
0N/A return functions->GetCapabilities(this, capabilities_ptr);
0N/A }
0N/A
0N/A jvmtiError GetCurrentThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) {
0N/A return functions->GetCurrentThreadCpuTimerInfo(this, info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetCurrentThreadCpuTime(jlong* nanos_ptr) {
0N/A return functions->GetCurrentThreadCpuTime(this, nanos_ptr);
0N/A }
0N/A
0N/A jvmtiError GetThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) {
0N/A return functions->GetThreadCpuTimerInfo(this, info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetThreadCpuTime(jthread thread,
0N/A jlong* nanos_ptr) {
0N/A return functions->GetThreadCpuTime(this, thread, nanos_ptr);
0N/A }
0N/A
0N/A jvmtiError GetTimerInfo(jvmtiTimerInfo* info_ptr) {
0N/A return functions->GetTimerInfo(this, info_ptr);
0N/A }
0N/A
0N/A jvmtiError GetTime(jlong* nanos_ptr) {
0N/A return functions->GetTime(this, nanos_ptr);
0N/A }
0N/A
0N/A jvmtiError GetAvailableProcessors(jint* processor_count_ptr) {
0N/A return functions->GetAvailableProcessors(this, processor_count_ptr);
0N/A }
0N/A
0N/A jvmtiError AddToBootstrapClassLoaderSearch(const char* segment) {
0N/A return functions->AddToBootstrapClassLoaderSearch(this, segment);
0N/A }
0N/A
0N/A jvmtiError AddToSystemClassLoaderSearch(const char* segment) {
0N/A return functions->AddToSystemClassLoaderSearch(this, segment);
0N/A }
0N/A
0N/A jvmtiError GetSystemProperties(jint* count_ptr,
0N/A char*** property_ptr) {
0N/A return functions->GetSystemProperties(this, count_ptr, property_ptr);
0N/A }
0N/A
0N/A jvmtiError GetSystemProperty(const char* property,
0N/A char** value_ptr) {
0N/A return functions->GetSystemProperty(this, property, value_ptr);
0N/A }
0N/A
0N/A jvmtiError SetSystemProperty(const char* property,
0N/A const char* value) {
0N/A return functions->SetSystemProperty(this, property, value);
0N/A }
0N/A
0N/A jvmtiError GetPhase(jvmtiPhase* phase_ptr) {
0N/A return functions->GetPhase(this, phase_ptr);
0N/A }
0N/A
0N/A jvmtiError DisposeEnvironment() {
0N/A return functions->DisposeEnvironment(this);
0N/A }
0N/A
0N/A jvmtiError SetEnvironmentLocalStorage(const void* data) {
0N/A return functions->SetEnvironmentLocalStorage(this, data);
0N/A }
0N/A
0N/A jvmtiError GetEnvironmentLocalStorage(void** data_ptr) {
0N/A return functions->GetEnvironmentLocalStorage(this, data_ptr);
0N/A }
0N/A
0N/A jvmtiError GetVersionNumber(jint* version_ptr) {
0N/A return functions->GetVersionNumber(this, version_ptr);
0N/A }
0N/A
0N/A jvmtiError GetErrorName(jvmtiError error,
0N/A char** name_ptr) {
0N/A return functions->GetErrorName(this, error, name_ptr);
0N/A }
0N/A
0N/A jvmtiError SetVerboseFlag(jvmtiVerboseFlag flag,
0N/A jboolean value) {
0N/A return functions->SetVerboseFlag(this, flag, value);
0N/A }
0N/A
0N/A jvmtiError GetJLocationFormat(jvmtiJlocationFormat* format_ptr) {
0N/A return functions->GetJLocationFormat(this, format_ptr);
0N/A }
0N/A
0N/A#endif /* __cplusplus */
0N/A};
0N/A
0N/A
0N/A#ifdef __cplusplus
0N/A} /* extern "C" */
0N/A#endif /* __cplusplus */
0N/A
0N/A#endif /* !_JAVA_JVMTI_H_ */
3389N/A