jdk/src/share/javavm/export/jvmti.h
author bae
Tue, 13 Jan 2009 16:55:12 +0300
changeset 2375 bb4dd76ca2c9
parent 2 90ce3da70b43
child 5506 202f599c92aa
permissions -rw-r--r--
5082756: Image I/O plug-ins set metadata boolean attributes to "true" or "false" Reviewed-by: igor, prr Contributed-by: Martin von Gagern <martin.vgagern@gmx.net>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
 * Copyright 2003-2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 * have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
    /* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
    /* Include file for the Java(tm) Virtual Machine Tool Interface */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
#ifndef _JAVA_JVMTI_H_
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#define _JAVA_JVMTI_H_
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
#include "jni.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
#ifdef __cplusplus
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
extern "C" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
    JVMTI_VERSION_1   = 0x30010000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    JVMTI_VERSION_1_0 = 0x30010000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    JVMTI_VERSION_1_1 = 0x30010100,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    JVMTI_VERSION = 0x30000000 + (1 * 0x10000) + (1 * 0x100) + 102  /* version: 1.1.102 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
JNIEXPORT jint JNICALL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
Agent_OnLoad(JavaVM *vm, char *options, void *reserved);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
JNIEXPORT jint JNICALL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
Agent_OnAttach(JavaVM* vm, char* options, void* reserved);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
JNIEXPORT void JNICALL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
Agent_OnUnload(JavaVM *vm);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    /* Forward declaration of the environment */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
struct _jvmtiEnv;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
struct jvmtiInterface_1_;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
#ifdef __cplusplus
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
typedef _jvmtiEnv jvmtiEnv;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
typedef const struct jvmtiInterface_1_ *jvmtiEnv;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
#endif /* __cplusplus */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
/* Derived Base Types */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
typedef jobject jthread;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
typedef jobject jthreadGroup;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
typedef jlong jlocation;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
struct _jrawMonitorID;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
typedef struct _jrawMonitorID *jrawMonitorID;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
typedef struct JNINativeInterface_ jniNativeInterface;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
    /* Constants */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    /* Thread State Flags */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
    JVMTI_THREAD_STATE_ALIVE = 0x0001,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
    JVMTI_THREAD_STATE_TERMINATED = 0x0002,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    JVMTI_THREAD_STATE_RUNNABLE = 0x0004,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
    JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
    JVMTI_THREAD_STATE_WAITING = 0x0080,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
    JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
    JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
    JVMTI_THREAD_STATE_SLEEPING = 0x0040,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
    JVMTI_THREAD_STATE_IN_OBJECT_WAIT = 0x0100,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
    JVMTI_THREAD_STATE_PARKED = 0x0200,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
    JVMTI_THREAD_STATE_SUSPENDED = 0x100000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
    JVMTI_THREAD_STATE_INTERRUPTED = 0x200000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
    JVMTI_THREAD_STATE_IN_NATIVE = 0x400000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
    JVMTI_THREAD_STATE_VENDOR_1 = 0x10000000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
    JVMTI_THREAD_STATE_VENDOR_2 = 0x20000000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
    JVMTI_THREAD_STATE_VENDOR_3 = 0x40000000
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    /* java.lang.Thread.State Conversion Masks */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
    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,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    JVMTI_JAVA_LANG_THREAD_STATE_NEW = 0,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
    JVMTI_JAVA_LANG_THREAD_STATE_TERMINATED = JVMTI_THREAD_STATE_TERMINATED,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    JVMTI_JAVA_LANG_THREAD_STATE_RUNNABLE = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    JVMTI_JAVA_LANG_THREAD_STATE_BLOCKED = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    JVMTI_JAVA_LANG_THREAD_STATE_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
    JVMTI_JAVA_LANG_THREAD_STATE_TIMED_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
    /* Thread Priority Constants */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
    JVMTI_THREAD_MIN_PRIORITY = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
    JVMTI_THREAD_NORM_PRIORITY = 5,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
    JVMTI_THREAD_MAX_PRIORITY = 10
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
    /* Heap Filter Flags */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
    JVMTI_HEAP_FILTER_TAGGED = 0x4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
    JVMTI_HEAP_FILTER_UNTAGGED = 0x8,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
    JVMTI_HEAP_FILTER_CLASS_TAGGED = 0x10,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
    JVMTI_HEAP_FILTER_CLASS_UNTAGGED = 0x20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
    /* Heap Visit Control Flags */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
    JVMTI_VISIT_OBJECTS = 0x100,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
    JVMTI_VISIT_ABORT = 0x8000
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
    /* Heap Reference Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
    JVMTI_HEAP_REFERENCE_CLASS = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
    JVMTI_HEAP_REFERENCE_FIELD = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
    JVMTI_HEAP_REFERENCE_ARRAY_ELEMENT = 3,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
    JVMTI_HEAP_REFERENCE_CLASS_LOADER = 4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
    JVMTI_HEAP_REFERENCE_SIGNERS = 5,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
    JVMTI_HEAP_REFERENCE_PROTECTION_DOMAIN = 6,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
    JVMTI_HEAP_REFERENCE_INTERFACE = 7,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
    JVMTI_HEAP_REFERENCE_STATIC_FIELD = 8,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
    JVMTI_HEAP_REFERENCE_CONSTANT_POOL = 9,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
    JVMTI_HEAP_REFERENCE_SUPERCLASS = 10,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
    JVMTI_HEAP_REFERENCE_JNI_GLOBAL = 21,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
    JVMTI_HEAP_REFERENCE_SYSTEM_CLASS = 22,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
    JVMTI_HEAP_REFERENCE_MONITOR = 23,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
    JVMTI_HEAP_REFERENCE_STACK_LOCAL = 24,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
    JVMTI_HEAP_REFERENCE_JNI_LOCAL = 25,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    JVMTI_HEAP_REFERENCE_THREAD = 26,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
    JVMTI_HEAP_REFERENCE_OTHER = 27
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
} jvmtiHeapReferenceKind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
    /* Primitive Type Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
    JVMTI_PRIMITIVE_TYPE_BOOLEAN = 90,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
    JVMTI_PRIMITIVE_TYPE_BYTE = 66,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
    JVMTI_PRIMITIVE_TYPE_CHAR = 67,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
    JVMTI_PRIMITIVE_TYPE_SHORT = 83,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
    JVMTI_PRIMITIVE_TYPE_INT = 73,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
    JVMTI_PRIMITIVE_TYPE_LONG = 74,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
    JVMTI_PRIMITIVE_TYPE_FLOAT = 70,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
    JVMTI_PRIMITIVE_TYPE_DOUBLE = 68
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
} jvmtiPrimitiveType;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
    /* Heap Object Filter Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
    JVMTI_HEAP_OBJECT_TAGGED = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
    JVMTI_HEAP_OBJECT_UNTAGGED = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
    JVMTI_HEAP_OBJECT_EITHER = 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
} jvmtiHeapObjectFilter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
    /* Heap Root Kind Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    JVMTI_HEAP_ROOT_JNI_GLOBAL = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
    JVMTI_HEAP_ROOT_SYSTEM_CLASS = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
    JVMTI_HEAP_ROOT_MONITOR = 3,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    JVMTI_HEAP_ROOT_STACK_LOCAL = 4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
    JVMTI_HEAP_ROOT_JNI_LOCAL = 5,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    JVMTI_HEAP_ROOT_THREAD = 6,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
    JVMTI_HEAP_ROOT_OTHER = 7
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
} jvmtiHeapRootKind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
    /* Object Reference Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
    JVMTI_REFERENCE_CLASS = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
    JVMTI_REFERENCE_FIELD = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
    JVMTI_REFERENCE_ARRAY_ELEMENT = 3,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
    JVMTI_REFERENCE_CLASS_LOADER = 4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
    JVMTI_REFERENCE_SIGNERS = 5,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
    JVMTI_REFERENCE_PROTECTION_DOMAIN = 6,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
    JVMTI_REFERENCE_INTERFACE = 7,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
    JVMTI_REFERENCE_STATIC_FIELD = 8,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
    JVMTI_REFERENCE_CONSTANT_POOL = 9
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
} jvmtiObjectReferenceKind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
    /* Iteration Control Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
    JVMTI_ITERATION_CONTINUE = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
    JVMTI_ITERATION_IGNORE = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
    JVMTI_ITERATION_ABORT = 0
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
} jvmtiIterationControl;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
    /* Class Status Flags */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
    JVMTI_CLASS_STATUS_VERIFIED = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
    JVMTI_CLASS_STATUS_PREPARED = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
    JVMTI_CLASS_STATUS_INITIALIZED = 4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
    JVMTI_CLASS_STATUS_ERROR = 8,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
    JVMTI_CLASS_STATUS_ARRAY = 16,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
    JVMTI_CLASS_STATUS_PRIMITIVE = 32
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
    /* Event Enable/Disable */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
    JVMTI_ENABLE = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
    JVMTI_DISABLE = 0
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
} jvmtiEventMode;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
    /* Extension Function/Event Parameter Types */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
    JVMTI_TYPE_JBYTE = 101,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
    JVMTI_TYPE_JCHAR = 102,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
    JVMTI_TYPE_JSHORT = 103,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
    JVMTI_TYPE_JINT = 104,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
    JVMTI_TYPE_JLONG = 105,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
    JVMTI_TYPE_JFLOAT = 106,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
    JVMTI_TYPE_JDOUBLE = 107,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
    JVMTI_TYPE_JBOOLEAN = 108,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
    JVMTI_TYPE_JOBJECT = 109,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
    JVMTI_TYPE_JTHREAD = 110,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
    JVMTI_TYPE_JCLASS = 111,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
    JVMTI_TYPE_JVALUE = 112,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
    JVMTI_TYPE_JFIELDID = 113,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
    JVMTI_TYPE_JMETHODID = 114,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
    JVMTI_TYPE_CCHAR = 115,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
    JVMTI_TYPE_CVOID = 116,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
    JVMTI_TYPE_JNIENV = 117
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
} jvmtiParamTypes;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
    /* Extension Function/Event Parameter Kinds */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
    JVMTI_KIND_IN = 91,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
    JVMTI_KIND_IN_PTR = 92,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
    JVMTI_KIND_IN_BUF = 93,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
    JVMTI_KIND_ALLOC_BUF = 94,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
    JVMTI_KIND_ALLOC_ALLOC_BUF = 95,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
    JVMTI_KIND_OUT = 96,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
    JVMTI_KIND_OUT_BUF = 97
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
} jvmtiParamKind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
    /* Timer Kinds */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
    JVMTI_TIMER_USER_CPU = 30,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
    JVMTI_TIMER_TOTAL_CPU = 31,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
    JVMTI_TIMER_ELAPSED = 32
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
} jvmtiTimerKind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
    /* Phases of execution */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
    JVMTI_PHASE_ONLOAD = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
    JVMTI_PHASE_PRIMORDIAL = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
    JVMTI_PHASE_START = 6,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
    JVMTI_PHASE_LIVE = 4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
    JVMTI_PHASE_DEAD = 8
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
} jvmtiPhase;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
    /* Version Interface Types */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
    JVMTI_VERSION_INTERFACE_JNI = 0x00000000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
    JVMTI_VERSION_INTERFACE_JVMTI = 0x30000000
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
    /* Version Masks */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
    JVMTI_VERSION_MASK_INTERFACE_TYPE = 0x70000000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
    JVMTI_VERSION_MASK_MAJOR = 0x0FFF0000,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
    JVMTI_VERSION_MASK_MINOR = 0x0000FF00,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
    JVMTI_VERSION_MASK_MICRO = 0x000000FF
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
    /* Version Shifts */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
    JVMTI_VERSION_SHIFT_MAJOR = 16,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
    JVMTI_VERSION_SHIFT_MINOR = 8,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
    JVMTI_VERSION_SHIFT_MICRO = 0
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
    /* Verbose Flag Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
    JVMTI_VERBOSE_OTHER = 0,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
    JVMTI_VERBOSE_GC = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
    JVMTI_VERBOSE_CLASS = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
    JVMTI_VERBOSE_JNI = 4
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
} jvmtiVerboseFlag;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
    /* JLocation Format Enumeration */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
    JVMTI_JLOCATION_JVMBCI = 1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
    JVMTI_JLOCATION_MACHINEPC = 2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
    JVMTI_JLOCATION_OTHER = 0
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
} jvmtiJlocationFormat;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
    /* Resource Exhaustion Flags */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
    JVMTI_RESOURCE_EXHAUSTED_OOM_ERROR = 0x0001,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
    JVMTI_RESOURCE_EXHAUSTED_JAVA_HEAP = 0x0002,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
    JVMTI_RESOURCE_EXHAUSTED_THREADS = 0x0004
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
    /* Errors */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
    JVMTI_ERROR_NONE = 0,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
    JVMTI_ERROR_INVALID_THREAD = 10,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
    JVMTI_ERROR_INVALID_THREAD_GROUP = 11,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
    JVMTI_ERROR_INVALID_PRIORITY = 12,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
    JVMTI_ERROR_THREAD_NOT_SUSPENDED = 13,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
    JVMTI_ERROR_THREAD_SUSPENDED = 14,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
    JVMTI_ERROR_THREAD_NOT_ALIVE = 15,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
    JVMTI_ERROR_INVALID_OBJECT = 20,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
    JVMTI_ERROR_INVALID_CLASS = 21,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
    JVMTI_ERROR_CLASS_NOT_PREPARED = 22,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
    JVMTI_ERROR_INVALID_METHODID = 23,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
    JVMTI_ERROR_INVALID_LOCATION = 24,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
    JVMTI_ERROR_INVALID_FIELDID = 25,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
    JVMTI_ERROR_NO_MORE_FRAMES = 31,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
    JVMTI_ERROR_OPAQUE_FRAME = 32,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
    JVMTI_ERROR_TYPE_MISMATCH = 34,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
    JVMTI_ERROR_INVALID_SLOT = 35,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
    JVMTI_ERROR_DUPLICATE = 40,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
    JVMTI_ERROR_NOT_FOUND = 41,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
    JVMTI_ERROR_INVALID_MONITOR = 50,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
    JVMTI_ERROR_NOT_MONITOR_OWNER = 51,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
    JVMTI_ERROR_INTERRUPT = 52,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
    JVMTI_ERROR_INVALID_CLASS_FORMAT = 60,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
    JVMTI_ERROR_CIRCULAR_CLASS_DEFINITION = 61,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
    JVMTI_ERROR_FAILS_VERIFICATION = 62,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
    JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED = 63,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
    JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED = 64,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
    JVMTI_ERROR_INVALID_TYPESTATE = 65,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
    JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED = 66,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
    JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED = 67,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
    JVMTI_ERROR_UNSUPPORTED_VERSION = 68,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
    JVMTI_ERROR_NAMES_DONT_MATCH = 69,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
    JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED = 70,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
    JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED = 71,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
    JVMTI_ERROR_UNMODIFIABLE_CLASS = 79,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
    JVMTI_ERROR_NOT_AVAILABLE = 98,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
    JVMTI_ERROR_MUST_POSSESS_CAPABILITY = 99,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
    JVMTI_ERROR_NULL_POINTER = 100,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
    JVMTI_ERROR_ABSENT_INFORMATION = 101,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
    JVMTI_ERROR_INVALID_EVENT_TYPE = 102,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
    JVMTI_ERROR_ILLEGAL_ARGUMENT = 103,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
    JVMTI_ERROR_NATIVE_METHOD = 104,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
    JVMTI_ERROR_CLASS_LOADER_UNSUPPORTED = 106,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
    JVMTI_ERROR_OUT_OF_MEMORY = 110,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
    JVMTI_ERROR_ACCESS_DENIED = 111,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
    JVMTI_ERROR_WRONG_PHASE = 112,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
    JVMTI_ERROR_INTERNAL = 113,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
    JVMTI_ERROR_UNATTACHED_THREAD = 115,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
    JVMTI_ERROR_INVALID_ENVIRONMENT = 116,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
    JVMTI_ERROR_MAX = 116
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
} jvmtiError;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
    /* Event IDs */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
typedef enum {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
    JVMTI_MIN_EVENT_TYPE_VAL = 50,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
    JVMTI_EVENT_VM_INIT = 50,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
    JVMTI_EVENT_VM_DEATH = 51,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
    JVMTI_EVENT_THREAD_START = 52,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
    JVMTI_EVENT_THREAD_END = 53,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
    JVMTI_EVENT_CLASS_FILE_LOAD_HOOK = 54,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
    JVMTI_EVENT_CLASS_LOAD = 55,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
    JVMTI_EVENT_CLASS_PREPARE = 56,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
    JVMTI_EVENT_VM_START = 57,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
    JVMTI_EVENT_EXCEPTION = 58,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
    JVMTI_EVENT_EXCEPTION_CATCH = 59,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
    JVMTI_EVENT_SINGLE_STEP = 60,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
    JVMTI_EVENT_FRAME_POP = 61,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
    JVMTI_EVENT_BREAKPOINT = 62,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
    JVMTI_EVENT_FIELD_ACCESS = 63,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
    JVMTI_EVENT_FIELD_MODIFICATION = 64,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
    JVMTI_EVENT_METHOD_ENTRY = 65,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
    JVMTI_EVENT_METHOD_EXIT = 66,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
    JVMTI_EVENT_NATIVE_METHOD_BIND = 67,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
    JVMTI_EVENT_COMPILED_METHOD_LOAD = 68,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
    JVMTI_EVENT_COMPILED_METHOD_UNLOAD = 69,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
    JVMTI_EVENT_DYNAMIC_CODE_GENERATED = 70,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
    JVMTI_EVENT_DATA_DUMP_REQUEST = 71,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
    JVMTI_EVENT_MONITOR_WAIT = 73,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
    JVMTI_EVENT_MONITOR_WAITED = 74,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
    JVMTI_EVENT_MONITOR_CONTENDED_ENTER = 75,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
    JVMTI_EVENT_MONITOR_CONTENDED_ENTERED = 76,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
    JVMTI_EVENT_RESOURCE_EXHAUSTED = 80,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
    JVMTI_EVENT_GARBAGE_COLLECTION_START = 81,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
    JVMTI_EVENT_GARBAGE_COLLECTION_FINISH = 82,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
    JVMTI_EVENT_OBJECT_FREE = 83,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
    JVMTI_EVENT_VM_OBJECT_ALLOC = 84,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
    JVMTI_MAX_EVENT_TYPE_VAL = 84
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
} jvmtiEvent;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
    /* Pre-Declarations */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
struct _jvmtiThreadInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
typedef struct _jvmtiThreadInfo jvmtiThreadInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
struct _jvmtiMonitorStackDepthInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
typedef struct _jvmtiMonitorStackDepthInfo jvmtiMonitorStackDepthInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
struct _jvmtiThreadGroupInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
typedef struct _jvmtiThreadGroupInfo jvmtiThreadGroupInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
struct _jvmtiFrameInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
typedef struct _jvmtiFrameInfo jvmtiFrameInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
struct _jvmtiStackInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
typedef struct _jvmtiStackInfo jvmtiStackInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
struct _jvmtiHeapReferenceInfoField;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
typedef struct _jvmtiHeapReferenceInfoField jvmtiHeapReferenceInfoField;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
struct _jvmtiHeapReferenceInfoArray;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
typedef struct _jvmtiHeapReferenceInfoArray jvmtiHeapReferenceInfoArray;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
struct _jvmtiHeapReferenceInfoConstantPool;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
typedef struct _jvmtiHeapReferenceInfoConstantPool jvmtiHeapReferenceInfoConstantPool;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
struct _jvmtiHeapReferenceInfoStackLocal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
typedef struct _jvmtiHeapReferenceInfoStackLocal jvmtiHeapReferenceInfoStackLocal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
struct _jvmtiHeapReferenceInfoJniLocal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
typedef struct _jvmtiHeapReferenceInfoJniLocal jvmtiHeapReferenceInfoJniLocal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
struct _jvmtiHeapReferenceInfoReserved;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
typedef struct _jvmtiHeapReferenceInfoReserved jvmtiHeapReferenceInfoReserved;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
union _jvmtiHeapReferenceInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
typedef union _jvmtiHeapReferenceInfo jvmtiHeapReferenceInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
struct _jvmtiHeapCallbacks;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
typedef struct _jvmtiHeapCallbacks jvmtiHeapCallbacks;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
struct _jvmtiClassDefinition;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
typedef struct _jvmtiClassDefinition jvmtiClassDefinition;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
struct _jvmtiMonitorUsage;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
typedef struct _jvmtiMonitorUsage jvmtiMonitorUsage;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
struct _jvmtiLineNumberEntry;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
typedef struct _jvmtiLineNumberEntry jvmtiLineNumberEntry;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
struct _jvmtiLocalVariableEntry;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
typedef struct _jvmtiLocalVariableEntry jvmtiLocalVariableEntry;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
struct _jvmtiParamInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
typedef struct _jvmtiParamInfo jvmtiParamInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
struct _jvmtiExtensionFunctionInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
typedef struct _jvmtiExtensionFunctionInfo jvmtiExtensionFunctionInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
struct _jvmtiExtensionEventInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
typedef struct _jvmtiExtensionEventInfo jvmtiExtensionEventInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
struct _jvmtiTimerInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
typedef struct _jvmtiTimerInfo jvmtiTimerInfo;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
struct _jvmtiAddrLocationMap;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
typedef struct _jvmtiAddrLocationMap jvmtiAddrLocationMap;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
    /* Function Types */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
typedef void (JNICALL *jvmtiStartFunction)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
    (jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
typedef jint (JNICALL *jvmtiHeapIterationCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
    (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
typedef jint (JNICALL *jvmtiHeapReferenceCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
    (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);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
typedef jint (JNICALL *jvmtiPrimitiveFieldCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
    (jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
typedef jint (JNICALL *jvmtiArrayPrimitiveValueCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
    (jlong class_tag, jlong size, jlong* tag_ptr, jint element_count, jvmtiPrimitiveType element_type, const void* elements, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
typedef jint (JNICALL *jvmtiStringPrimitiveValueCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
    (jlong class_tag, jlong size, jlong* tag_ptr, const jchar* value, jint value_length, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
typedef jint (JNICALL *jvmtiReservedCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
    ();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
typedef jvmtiIterationControl (JNICALL *jvmtiHeapObjectCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
    (jlong class_tag, jlong size, jlong* tag_ptr, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
typedef jvmtiIterationControl (JNICALL *jvmtiHeapRootCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
    (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
typedef jvmtiIterationControl (JNICALL *jvmtiStackReferenceCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
    (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong thread_tag, jint depth, jmethodID method, jint slot, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
typedef jvmtiIterationControl (JNICALL *jvmtiObjectReferenceCallback)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
    (jvmtiObjectReferenceKind reference_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong referrer_tag, jint referrer_index, void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
typedef jvmtiError (JNICALL *jvmtiExtensionFunction)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
    (jvmtiEnv* jvmti_env,  ...);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
typedef void (JNICALL *jvmtiExtensionEvent)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
    (jvmtiEnv* jvmti_env,  ...);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
    /* Structure Types */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
struct _jvmtiThreadInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
    char* name;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
    jint priority;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
    jboolean is_daemon;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
    jthreadGroup thread_group;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
    jobject context_class_loader;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
struct _jvmtiMonitorStackDepthInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
    jobject monitor;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
    jint stack_depth;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
struct _jvmtiThreadGroupInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
    jthreadGroup parent;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
    char* name;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
    jint max_priority;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
    jboolean is_daemon;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
struct _jvmtiFrameInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
    jlocation location;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
struct _jvmtiStackInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
    jthread thread;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
    jint state;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
    jvmtiFrameInfo* frame_buffer;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
    jint frame_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
struct _jvmtiHeapReferenceInfoField {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
    jint index;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
struct _jvmtiHeapReferenceInfoArray {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
    jint index;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
struct _jvmtiHeapReferenceInfoConstantPool {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
    jint index;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
struct _jvmtiHeapReferenceInfoStackLocal {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
    jlong thread_tag;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
    jlong thread_id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
    jint depth;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
    jlocation location;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
    jint slot;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
struct _jvmtiHeapReferenceInfoJniLocal {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
    jlong thread_tag;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
    jlong thread_id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
    jint depth;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
struct _jvmtiHeapReferenceInfoReserved {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
    jlong reserved1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
    jlong reserved2;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
    jlong reserved3;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
    jlong reserved4;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   572
    jlong reserved5;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
    jlong reserved6;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
    jlong reserved7;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
    jlong reserved8;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   577
union _jvmtiHeapReferenceInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
    jvmtiHeapReferenceInfoField field;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
    jvmtiHeapReferenceInfoArray array;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
    jvmtiHeapReferenceInfoConstantPool constant_pool;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
    jvmtiHeapReferenceInfoStackLocal stack_local;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
    jvmtiHeapReferenceInfoJniLocal jni_local;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
    jvmtiHeapReferenceInfoReserved other;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   584
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   585
struct _jvmtiHeapCallbacks {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
    jvmtiHeapIterationCallback heap_iteration_callback;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   587
    jvmtiHeapReferenceCallback heap_reference_callback;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
    jvmtiPrimitiveFieldCallback primitive_field_callback;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
    jvmtiArrayPrimitiveValueCallback array_primitive_value_callback;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
    jvmtiStringPrimitiveValueCallback string_primitive_value_callback;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
    jvmtiReservedCallback reserved5;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   592
    jvmtiReservedCallback reserved6;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   593
    jvmtiReservedCallback reserved7;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
    jvmtiReservedCallback reserved8;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
    jvmtiReservedCallback reserved9;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
    jvmtiReservedCallback reserved10;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   597
    jvmtiReservedCallback reserved11;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
    jvmtiReservedCallback reserved12;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
    jvmtiReservedCallback reserved13;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
    jvmtiReservedCallback reserved14;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
    jvmtiReservedCallback reserved15;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   602
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
struct _jvmtiClassDefinition {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   604
    jclass klass;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   605
    jint class_byte_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
    const unsigned char* class_bytes;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   607
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
struct _jvmtiMonitorUsage {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
    jthread owner;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
    jint entry_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
    jint waiter_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   612
    jthread* waiters;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
    jint notify_waiter_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
    jthread* notify_waiters;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
struct _jvmtiLineNumberEntry {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   617
    jlocation start_location;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
    jint line_number;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
struct _jvmtiLocalVariableEntry {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
    jlocation start_location;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
    jint length;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
    char* name;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
    char* signature;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
    char* generic_signature;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
    jint slot;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
struct _jvmtiParamInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
    char* name;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
    jvmtiParamKind kind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
    jvmtiParamTypes base_type;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
    jboolean null_ok;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
struct _jvmtiExtensionFunctionInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   635
    jvmtiExtensionFunction func;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
    char* id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
    char* short_description;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
    jint param_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   639
    jvmtiParamInfo* params;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
    jint error_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
    jvmtiError* errors;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   643
struct _jvmtiExtensionEventInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   644
    jint extension_event_index;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   645
    char* id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   646
    char* short_description;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   647
    jint param_count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   648
    jvmtiParamInfo* params;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   649
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   650
struct _jvmtiTimerInfo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   651
    jlong max_value;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   652
    jboolean may_skip_forward;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   653
    jboolean may_skip_backward;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   654
    jvmtiTimerKind kind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   655
    jlong reserved1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   656
    jlong reserved2;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   657
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   658
struct _jvmtiAddrLocationMap {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   659
    const void* start_address;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   660
    jlocation location;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   661
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   662
90ce3da70b43 Initial load
duke
parents:
diff changeset
   663
typedef struct {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   664
    unsigned int can_tag_objects : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   665
    unsigned int can_generate_field_modification_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   666
    unsigned int can_generate_field_access_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   667
    unsigned int can_get_bytecodes : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   668
    unsigned int can_get_synthetic_attribute : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   669
    unsigned int can_get_owned_monitor_info : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   670
    unsigned int can_get_current_contended_monitor : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   671
    unsigned int can_get_monitor_info : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   672
    unsigned int can_pop_frame : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   673
    unsigned int can_redefine_classes : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   674
    unsigned int can_signal_thread : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   675
    unsigned int can_get_source_file_name : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   676
    unsigned int can_get_line_numbers : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   677
    unsigned int can_get_source_debug_extension : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   678
    unsigned int can_access_local_variables : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   679
    unsigned int can_maintain_original_method_order : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   680
    unsigned int can_generate_single_step_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   681
    unsigned int can_generate_exception_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   682
    unsigned int can_generate_frame_pop_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   683
    unsigned int can_generate_breakpoint_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   684
    unsigned int can_suspend : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   685
    unsigned int can_redefine_any_class : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   686
    unsigned int can_get_current_thread_cpu_time : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   687
    unsigned int can_get_thread_cpu_time : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   688
    unsigned int can_generate_method_entry_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   689
    unsigned int can_generate_method_exit_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   690
    unsigned int can_generate_all_class_hook_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   691
    unsigned int can_generate_compiled_method_load_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   692
    unsigned int can_generate_monitor_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   693
    unsigned int can_generate_vm_object_alloc_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   694
    unsigned int can_generate_native_method_bind_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   695
    unsigned int can_generate_garbage_collection_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   696
    unsigned int can_generate_object_free_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   697
    unsigned int can_force_early_return : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   698
    unsigned int can_get_owned_monitor_stack_depth_info : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   699
    unsigned int can_get_constant_pool : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   700
    unsigned int can_set_native_method_prefix : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   701
    unsigned int can_retransform_classes : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   702
    unsigned int can_retransform_any_class : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   703
    unsigned int can_generate_resource_exhaustion_heap_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   704
    unsigned int can_generate_resource_exhaustion_threads_events : 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   705
    unsigned int : 7;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   706
    unsigned int : 16;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   707
    unsigned int : 16;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   708
    unsigned int : 16;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   709
    unsigned int : 16;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   710
    unsigned int : 16;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   711
} jvmtiCapabilities;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   712
90ce3da70b43 Initial load
duke
parents:
diff changeset
   713
90ce3da70b43 Initial load
duke
parents:
diff changeset
   714
    /* Event Definitions */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   715
90ce3da70b43 Initial load
duke
parents:
diff changeset
   716
typedef void (JNICALL *jvmtiEventReserved)(void);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   717
90ce3da70b43 Initial load
duke
parents:
diff changeset
   718
90ce3da70b43 Initial load
duke
parents:
diff changeset
   719
typedef void (JNICALL *jvmtiEventBreakpoint)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   720
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   721
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   722
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   723
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   724
     jlocation location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   725
90ce3da70b43 Initial load
duke
parents:
diff changeset
   726
typedef void (JNICALL *jvmtiEventClassFileLoadHook)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   727
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   728
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   729
     jclass class_being_redefined,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   730
     jobject loader,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   731
     const char* name,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   732
     jobject protection_domain,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   733
     jint class_data_len,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   734
     const unsigned char* class_data,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   735
     jint* new_class_data_len,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   736
     unsigned char** new_class_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   737
90ce3da70b43 Initial load
duke
parents:
diff changeset
   738
typedef void (JNICALL *jvmtiEventClassLoad)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   739
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   740
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   741
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   742
     jclass klass);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   743
90ce3da70b43 Initial load
duke
parents:
diff changeset
   744
typedef void (JNICALL *jvmtiEventClassPrepare)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   745
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   746
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   747
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   748
     jclass klass);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   749
90ce3da70b43 Initial load
duke
parents:
diff changeset
   750
typedef void (JNICALL *jvmtiEventCompiledMethodLoad)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   751
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   752
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   753
     jint code_size,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   754
     const void* code_addr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   755
     jint map_length,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   756
     const jvmtiAddrLocationMap* map,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   757
     const void* compile_info);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   758
90ce3da70b43 Initial load
duke
parents:
diff changeset
   759
typedef void (JNICALL *jvmtiEventCompiledMethodUnload)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   760
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   761
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   762
     const void* code_addr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   763
90ce3da70b43 Initial load
duke
parents:
diff changeset
   764
typedef void (JNICALL *jvmtiEventDataDumpRequest)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   765
    (jvmtiEnv *jvmti_env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   766
90ce3da70b43 Initial load
duke
parents:
diff changeset
   767
typedef void (JNICALL *jvmtiEventDynamicCodeGenerated)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   768
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   769
     const char* name,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   770
     const void* address,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   771
     jint length);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   772
90ce3da70b43 Initial load
duke
parents:
diff changeset
   773
typedef void (JNICALL *jvmtiEventException)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   774
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   775
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   776
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   777
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   778
     jlocation location,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   779
     jobject exception,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   780
     jmethodID catch_method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   781
     jlocation catch_location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   782
90ce3da70b43 Initial load
duke
parents:
diff changeset
   783
typedef void (JNICALL *jvmtiEventExceptionCatch)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   784
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   785
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   786
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   787
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   788
     jlocation location,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   789
     jobject exception);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   790
90ce3da70b43 Initial load
duke
parents:
diff changeset
   791
typedef void (JNICALL *jvmtiEventFieldAccess)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   792
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   793
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   794
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   795
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   796
     jlocation location,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   797
     jclass field_klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   798
     jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   799
     jfieldID field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   800
90ce3da70b43 Initial load
duke
parents:
diff changeset
   801
typedef void (JNICALL *jvmtiEventFieldModification)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   802
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   803
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   804
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   805
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   806
     jlocation location,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   807
     jclass field_klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   808
     jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   809
     jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   810
     char signature_type,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   811
     jvalue new_value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   812
90ce3da70b43 Initial load
duke
parents:
diff changeset
   813
typedef void (JNICALL *jvmtiEventFramePop)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   814
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   815
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   816
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   817
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   818
     jboolean was_popped_by_exception);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   819
90ce3da70b43 Initial load
duke
parents:
diff changeset
   820
typedef void (JNICALL *jvmtiEventGarbageCollectionFinish)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   821
    (jvmtiEnv *jvmti_env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   822
90ce3da70b43 Initial load
duke
parents:
diff changeset
   823
typedef void (JNICALL *jvmtiEventGarbageCollectionStart)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   824
    (jvmtiEnv *jvmti_env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   825
90ce3da70b43 Initial load
duke
parents:
diff changeset
   826
typedef void (JNICALL *jvmtiEventMethodEntry)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   827
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   828
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   829
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   830
     jmethodID method);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   831
90ce3da70b43 Initial load
duke
parents:
diff changeset
   832
typedef void (JNICALL *jvmtiEventMethodExit)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   833
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   834
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   835
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   836
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   837
     jboolean was_popped_by_exception,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   838
     jvalue return_value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   839
90ce3da70b43 Initial load
duke
parents:
diff changeset
   840
typedef void (JNICALL *jvmtiEventMonitorContendedEnter)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   841
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   842
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   843
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   844
     jobject object);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   845
90ce3da70b43 Initial load
duke
parents:
diff changeset
   846
typedef void (JNICALL *jvmtiEventMonitorContendedEntered)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   847
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   848
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   849
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   850
     jobject object);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   851
90ce3da70b43 Initial load
duke
parents:
diff changeset
   852
typedef void (JNICALL *jvmtiEventMonitorWait)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   853
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   854
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   855
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   856
     jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   857
     jlong timeout);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   858
90ce3da70b43 Initial load
duke
parents:
diff changeset
   859
typedef void (JNICALL *jvmtiEventMonitorWaited)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   860
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   861
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   862
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   863
     jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   864
     jboolean timed_out);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   865
90ce3da70b43 Initial load
duke
parents:
diff changeset
   866
typedef void (JNICALL *jvmtiEventNativeMethodBind)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   867
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   868
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   869
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   870
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   871
     void* address,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   872
     void** new_address_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   873
90ce3da70b43 Initial load
duke
parents:
diff changeset
   874
typedef void (JNICALL *jvmtiEventObjectFree)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   875
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   876
     jlong tag);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   877
90ce3da70b43 Initial load
duke
parents:
diff changeset
   878
typedef void (JNICALL *jvmtiEventResourceExhausted)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   879
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   880
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   881
     jint flags,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   882
     const void* reserved,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   883
     const char* description);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   884
90ce3da70b43 Initial load
duke
parents:
diff changeset
   885
typedef void (JNICALL *jvmtiEventSingleStep)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   886
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   887
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   888
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   889
     jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   890
     jlocation location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   891
90ce3da70b43 Initial load
duke
parents:
diff changeset
   892
typedef void (JNICALL *jvmtiEventThreadEnd)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   893
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   894
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   895
     jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   896
90ce3da70b43 Initial load
duke
parents:
diff changeset
   897
typedef void (JNICALL *jvmtiEventThreadStart)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   898
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   899
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   900
     jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   901
90ce3da70b43 Initial load
duke
parents:
diff changeset
   902
typedef void (JNICALL *jvmtiEventVMDeath)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   903
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   904
     JNIEnv* jni_env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   905
90ce3da70b43 Initial load
duke
parents:
diff changeset
   906
typedef void (JNICALL *jvmtiEventVMInit)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   907
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   908
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   909
     jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   910
90ce3da70b43 Initial load
duke
parents:
diff changeset
   911
typedef void (JNICALL *jvmtiEventVMObjectAlloc)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   912
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   913
     JNIEnv* jni_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   914
     jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   915
     jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   916
     jclass object_klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   917
     jlong size);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   918
90ce3da70b43 Initial load
duke
parents:
diff changeset
   919
typedef void (JNICALL *jvmtiEventVMStart)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   920
    (jvmtiEnv *jvmti_env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   921
     JNIEnv* jni_env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   922
90ce3da70b43 Initial load
duke
parents:
diff changeset
   923
    /* Event Callback Structure */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   924
90ce3da70b43 Initial load
duke
parents:
diff changeset
   925
typedef struct {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   926
                              /*   50 : VM Initialization Event */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   927
    jvmtiEventVMInit VMInit;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   928
                              /*   51 : VM Death Event */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   929
    jvmtiEventVMDeath VMDeath;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   930
                              /*   52 : Thread Start */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   931
    jvmtiEventThreadStart ThreadStart;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   932
                              /*   53 : Thread End */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   933
    jvmtiEventThreadEnd ThreadEnd;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   934
                              /*   54 : Class File Load Hook */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   935
    jvmtiEventClassFileLoadHook ClassFileLoadHook;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   936
                              /*   55 : Class Load */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   937
    jvmtiEventClassLoad ClassLoad;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   938
                              /*   56 : Class Prepare */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   939
    jvmtiEventClassPrepare ClassPrepare;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   940
                              /*   57 : VM Start Event */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   941
    jvmtiEventVMStart VMStart;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   942
                              /*   58 : Exception */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   943
    jvmtiEventException Exception;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   944
                              /*   59 : Exception Catch */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   945
    jvmtiEventExceptionCatch ExceptionCatch;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   946
                              /*   60 : Single Step */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   947
    jvmtiEventSingleStep SingleStep;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   948
                              /*   61 : Frame Pop */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   949
    jvmtiEventFramePop FramePop;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   950
                              /*   62 : Breakpoint */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   951
    jvmtiEventBreakpoint Breakpoint;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   952
                              /*   63 : Field Access */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   953
    jvmtiEventFieldAccess FieldAccess;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   954
                              /*   64 : Field Modification */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   955
    jvmtiEventFieldModification FieldModification;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   956
                              /*   65 : Method Entry */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   957
    jvmtiEventMethodEntry MethodEntry;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   958
                              /*   66 : Method Exit */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   959
    jvmtiEventMethodExit MethodExit;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   960
                              /*   67 : Native Method Bind */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   961
    jvmtiEventNativeMethodBind NativeMethodBind;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   962
                              /*   68 : Compiled Method Load */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   963
    jvmtiEventCompiledMethodLoad CompiledMethodLoad;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   964
                              /*   69 : Compiled Method Unload */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   965
    jvmtiEventCompiledMethodUnload CompiledMethodUnload;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   966
                              /*   70 : Dynamic Code Generated */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   967
    jvmtiEventDynamicCodeGenerated DynamicCodeGenerated;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   968
                              /*   71 : Data Dump Request */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   969
    jvmtiEventDataDumpRequest DataDumpRequest;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   970
                              /*   72 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   971
    jvmtiEventReserved reserved72;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   972
                              /*   73 : Monitor Wait */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   973
    jvmtiEventMonitorWait MonitorWait;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   974
                              /*   74 : Monitor Waited */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   975
    jvmtiEventMonitorWaited MonitorWaited;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   976
                              /*   75 : Monitor Contended Enter */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   977
    jvmtiEventMonitorContendedEnter MonitorContendedEnter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   978
                              /*   76 : Monitor Contended Entered */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   979
    jvmtiEventMonitorContendedEntered MonitorContendedEntered;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   980
                              /*   77 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   981
    jvmtiEventReserved reserved77;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   982
                              /*   78 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   983
    jvmtiEventReserved reserved78;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   984
                              /*   79 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   985
    jvmtiEventReserved reserved79;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   986
                              /*   80 : Resource Exhausted */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   987
    jvmtiEventResourceExhausted ResourceExhausted;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   988
                              /*   81 : Garbage Collection Start */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   989
    jvmtiEventGarbageCollectionStart GarbageCollectionStart;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   990
                              /*   82 : Garbage Collection Finish */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   991
    jvmtiEventGarbageCollectionFinish GarbageCollectionFinish;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   992
                              /*   83 : Object Free */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   993
    jvmtiEventObjectFree ObjectFree;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   994
                              /*   84 : VM Object Allocation */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   995
    jvmtiEventVMObjectAlloc VMObjectAlloc;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   996
} jvmtiEventCallbacks;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   997
90ce3da70b43 Initial load
duke
parents:
diff changeset
   998
90ce3da70b43 Initial load
duke
parents:
diff changeset
   999
    /* Function Interface */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1000
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1001
typedef struct jvmtiInterface_1_ {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1002
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1003
  /*   1 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1004
  void *reserved1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1005
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1006
  /*   2 : Set Event Notification Mode */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1007
  jvmtiError (JNICALL *SetEventNotificationMode) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1008
    jvmtiEventMode mode,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1009
    jvmtiEvent event_type,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1010
    jthread event_thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1011
     ...);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1012
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1013
  /*   3 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1014
  void *reserved3;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1015
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1016
  /*   4 : Get All Threads */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1017
  jvmtiError (JNICALL *GetAllThreads) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1018
    jint* threads_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1019
    jthread** threads_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1020
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1021
  /*   5 : Suspend Thread */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1022
  jvmtiError (JNICALL *SuspendThread) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1023
    jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1024
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1025
  /*   6 : Resume Thread */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1026
  jvmtiError (JNICALL *ResumeThread) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1027
    jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1028
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1029
  /*   7 : Stop Thread */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1030
  jvmtiError (JNICALL *StopThread) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1031
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1032
    jobject exception);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1033
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1034
  /*   8 : Interrupt Thread */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1035
  jvmtiError (JNICALL *InterruptThread) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1036
    jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1037
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1038
  /*   9 : Get Thread Info */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1039
  jvmtiError (JNICALL *GetThreadInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1040
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1041
    jvmtiThreadInfo* info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1042
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1043
  /*   10 : Get Owned Monitor Info */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1044
  jvmtiError (JNICALL *GetOwnedMonitorInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1045
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1046
    jint* owned_monitor_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1047
    jobject** owned_monitors_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1048
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1049
  /*   11 : Get Current Contended Monitor */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1050
  jvmtiError (JNICALL *GetCurrentContendedMonitor) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1051
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1052
    jobject* monitor_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1053
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1054
  /*   12 : Run Agent Thread */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1055
  jvmtiError (JNICALL *RunAgentThread) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1056
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1057
    jvmtiStartFunction proc,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1058
    const void* arg,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1059
    jint priority);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1060
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1061
  /*   13 : Get Top Thread Groups */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1062
  jvmtiError (JNICALL *GetTopThreadGroups) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1063
    jint* group_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1064
    jthreadGroup** groups_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1065
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1066
  /*   14 : Get Thread Group Info */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1067
  jvmtiError (JNICALL *GetThreadGroupInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1068
    jthreadGroup group,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1069
    jvmtiThreadGroupInfo* info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1070
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1071
  /*   15 : Get Thread Group Children */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1072
  jvmtiError (JNICALL *GetThreadGroupChildren) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1073
    jthreadGroup group,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1074
    jint* thread_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1075
    jthread** threads_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1076
    jint* group_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1077
    jthreadGroup** groups_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1078
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1079
  /*   16 : Get Frame Count */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1080
  jvmtiError (JNICALL *GetFrameCount) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1081
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1082
    jint* count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1083
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1084
  /*   17 : Get Thread State */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1085
  jvmtiError (JNICALL *GetThreadState) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1086
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1087
    jint* thread_state_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1088
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1089
  /*   18 : Get Current Thread */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1090
  jvmtiError (JNICALL *GetCurrentThread) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1091
    jthread* thread_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1092
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1093
  /*   19 : Get Frame Location */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1094
  jvmtiError (JNICALL *GetFrameLocation) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1095
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1096
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1097
    jmethodID* method_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1098
    jlocation* location_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1099
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1100
  /*   20 : Notify Frame Pop */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1101
  jvmtiError (JNICALL *NotifyFramePop) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1102
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1103
    jint depth);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1104
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1105
  /*   21 : Get Local Variable - Object */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1106
  jvmtiError (JNICALL *GetLocalObject) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1107
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1108
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1109
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1110
    jobject* value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1111
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1112
  /*   22 : Get Local Variable - Int */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1113
  jvmtiError (JNICALL *GetLocalInt) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1114
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1115
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1116
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1117
    jint* value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1118
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1119
  /*   23 : Get Local Variable - Long */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1120
  jvmtiError (JNICALL *GetLocalLong) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1121
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1122
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1123
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1124
    jlong* value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1125
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1126
  /*   24 : Get Local Variable - Float */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1127
  jvmtiError (JNICALL *GetLocalFloat) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1128
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1129
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1130
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1131
    jfloat* value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1132
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1133
  /*   25 : Get Local Variable - Double */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1134
  jvmtiError (JNICALL *GetLocalDouble) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1135
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1136
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1137
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1138
    jdouble* value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1139
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1140
  /*   26 : Set Local Variable - Object */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1141
  jvmtiError (JNICALL *SetLocalObject) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1142
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1143
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1144
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1145
    jobject value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1146
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1147
  /*   27 : Set Local Variable - Int */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1148
  jvmtiError (JNICALL *SetLocalInt) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1149
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1150
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1151
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1152
    jint value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1153
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1154
  /*   28 : Set Local Variable - Long */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1155
  jvmtiError (JNICALL *SetLocalLong) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1156
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1157
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1158
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1159
    jlong value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1160
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1161
  /*   29 : Set Local Variable - Float */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1162
  jvmtiError (JNICALL *SetLocalFloat) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1163
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1164
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1165
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1166
    jfloat value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1167
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1168
  /*   30 : Set Local Variable - Double */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1169
  jvmtiError (JNICALL *SetLocalDouble) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1170
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1171
    jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1172
    jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1173
    jdouble value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1174
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1175
  /*   31 : Create Raw Monitor */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1176
  jvmtiError (JNICALL *CreateRawMonitor) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1177
    const char* name,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1178
    jrawMonitorID* monitor_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1179
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1180
  /*   32 : Destroy Raw Monitor */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1181
  jvmtiError (JNICALL *DestroyRawMonitor) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1182
    jrawMonitorID monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1183
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1184
  /*   33 : Raw Monitor Enter */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1185
  jvmtiError (JNICALL *RawMonitorEnter) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1186
    jrawMonitorID monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1187
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1188
  /*   34 : Raw Monitor Exit */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1189
  jvmtiError (JNICALL *RawMonitorExit) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1190
    jrawMonitorID monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1191
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1192
  /*   35 : Raw Monitor Wait */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1193
  jvmtiError (JNICALL *RawMonitorWait) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1194
    jrawMonitorID monitor,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1195
    jlong millis);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1196
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1197
  /*   36 : Raw Monitor Notify */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1198
  jvmtiError (JNICALL *RawMonitorNotify) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1199
    jrawMonitorID monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1200
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1201
  /*   37 : Raw Monitor Notify All */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1202
  jvmtiError (JNICALL *RawMonitorNotifyAll) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1203
    jrawMonitorID monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1204
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1205
  /*   38 : Set Breakpoint */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1206
  jvmtiError (JNICALL *SetBreakpoint) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1207
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1208
    jlocation location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1209
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1210
  /*   39 : Clear Breakpoint */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1211
  jvmtiError (JNICALL *ClearBreakpoint) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1212
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1213
    jlocation location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1214
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1215
  /*   40 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1216
  void *reserved40;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1217
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1218
  /*   41 : Set Field Access Watch */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1219
  jvmtiError (JNICALL *SetFieldAccessWatch) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1220
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1221
    jfieldID field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1222
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1223
  /*   42 : Clear Field Access Watch */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1224
  jvmtiError (JNICALL *ClearFieldAccessWatch) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1225
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1226
    jfieldID field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1227
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1228
  /*   43 : Set Field Modification Watch */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1229
  jvmtiError (JNICALL *SetFieldModificationWatch) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1230
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1231
    jfieldID field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1232
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1233
  /*   44 : Clear Field Modification Watch */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1234
  jvmtiError (JNICALL *ClearFieldModificationWatch) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1235
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1236
    jfieldID field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1237
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1238
  /*   45 : Is Modifiable Class */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1239
  jvmtiError (JNICALL *IsModifiableClass) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1240
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1241
    jboolean* is_modifiable_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1242
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1243
  /*   46 : Allocate */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1244
  jvmtiError (JNICALL *Allocate) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1245
    jlong size,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1246
    unsigned char** mem_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1247
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1248
  /*   47 : Deallocate */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1249
  jvmtiError (JNICALL *Deallocate) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1250
    unsigned char* mem);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1251
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1252
  /*   48 : Get Class Signature */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1253
  jvmtiError (JNICALL *GetClassSignature) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1254
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1255
    char** signature_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1256
    char** generic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1257
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1258
  /*   49 : Get Class Status */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1259
  jvmtiError (JNICALL *GetClassStatus) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1260
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1261
    jint* status_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1262
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1263
  /*   50 : Get Source File Name */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1264
  jvmtiError (JNICALL *GetSourceFileName) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1265
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1266
    char** source_name_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1267
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1268
  /*   51 : Get Class Modifiers */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1269
  jvmtiError (JNICALL *GetClassModifiers) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1270
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1271
    jint* modifiers_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1272
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1273
  /*   52 : Get Class Methods */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1274
  jvmtiError (JNICALL *GetClassMethods) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1275
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1276
    jint* method_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1277
    jmethodID** methods_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1278
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1279
  /*   53 : Get Class Fields */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1280
  jvmtiError (JNICALL *GetClassFields) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1281
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1282
    jint* field_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1283
    jfieldID** fields_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1284
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1285
  /*   54 : Get Implemented Interfaces */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1286
  jvmtiError (JNICALL *GetImplementedInterfaces) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1287
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1288
    jint* interface_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1289
    jclass** interfaces_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1290
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1291
  /*   55 : Is Interface */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1292
  jvmtiError (JNICALL *IsInterface) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1293
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1294
    jboolean* is_interface_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1295
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1296
  /*   56 : Is Array Class */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1297
  jvmtiError (JNICALL *IsArrayClass) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1298
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1299
    jboolean* is_array_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1300
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1301
  /*   57 : Get Class Loader */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1302
  jvmtiError (JNICALL *GetClassLoader) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1303
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1304
    jobject* classloader_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1305
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1306
  /*   58 : Get Object Hash Code */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1307
  jvmtiError (JNICALL *GetObjectHashCode) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1308
    jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1309
    jint* hash_code_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1310
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1311
  /*   59 : Get Object Monitor Usage */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1312
  jvmtiError (JNICALL *GetObjectMonitorUsage) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1313
    jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1314
    jvmtiMonitorUsage* info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1315
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1316
  /*   60 : Get Field Name (and Signature) */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1317
  jvmtiError (JNICALL *GetFieldName) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1318
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1319
    jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1320
    char** name_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1321
    char** signature_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1322
    char** generic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1323
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1324
  /*   61 : Get Field Declaring Class */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1325
  jvmtiError (JNICALL *GetFieldDeclaringClass) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1326
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1327
    jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1328
    jclass* declaring_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1329
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1330
  /*   62 : Get Field Modifiers */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1331
  jvmtiError (JNICALL *GetFieldModifiers) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1332
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1333
    jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1334
    jint* modifiers_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1335
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1336
  /*   63 : Is Field Synthetic */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1337
  jvmtiError (JNICALL *IsFieldSynthetic) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1338
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1339
    jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1340
    jboolean* is_synthetic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1341
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1342
  /*   64 : Get Method Name (and Signature) */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1343
  jvmtiError (JNICALL *GetMethodName) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1344
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1345
    char** name_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1346
    char** signature_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1347
    char** generic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1348
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1349
  /*   65 : Get Method Declaring Class */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1350
  jvmtiError (JNICALL *GetMethodDeclaringClass) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1351
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1352
    jclass* declaring_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1353
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1354
  /*   66 : Get Method Modifiers */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1355
  jvmtiError (JNICALL *GetMethodModifiers) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1356
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1357
    jint* modifiers_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1358
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1359
  /*   67 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1360
  void *reserved67;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1361
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1362
  /*   68 : Get Max Locals */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1363
  jvmtiError (JNICALL *GetMaxLocals) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1364
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1365
    jint* max_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1366
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1367
  /*   69 : Get Arguments Size */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1368
  jvmtiError (JNICALL *GetArgumentsSize) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1369
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1370
    jint* size_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1371
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1372
  /*   70 : Get Line Number Table */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1373
  jvmtiError (JNICALL *GetLineNumberTable) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1374
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1375
    jint* entry_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1376
    jvmtiLineNumberEntry** table_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1377
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1378
  /*   71 : Get Method Location */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1379
  jvmtiError (JNICALL *GetMethodLocation) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1380
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1381
    jlocation* start_location_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1382
    jlocation* end_location_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1383
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1384
  /*   72 : Get Local Variable Table */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1385
  jvmtiError (JNICALL *GetLocalVariableTable) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1386
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1387
    jint* entry_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1388
    jvmtiLocalVariableEntry** table_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1389
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1390
  /*   73 : Set Native Method Prefix */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1391
  jvmtiError (JNICALL *SetNativeMethodPrefix) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1392
    const char* prefix);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1393
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1394
  /*   74 : Set Native Method Prefixes */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1395
  jvmtiError (JNICALL *SetNativeMethodPrefixes) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1396
    jint prefix_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1397
    char** prefixes);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1398
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1399
  /*   75 : Get Bytecodes */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1400
  jvmtiError (JNICALL *GetBytecodes) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1401
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1402
    jint* bytecode_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1403
    unsigned char** bytecodes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1404
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1405
  /*   76 : Is Method Native */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1406
  jvmtiError (JNICALL *IsMethodNative) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1407
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1408
    jboolean* is_native_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1409
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1410
  /*   77 : Is Method Synthetic */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1411
  jvmtiError (JNICALL *IsMethodSynthetic) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1412
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1413
    jboolean* is_synthetic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1414
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1415
  /*   78 : Get Loaded Classes */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1416
  jvmtiError (JNICALL *GetLoadedClasses) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1417
    jint* class_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1418
    jclass** classes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1419
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1420
  /*   79 : Get Classloader Classes */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1421
  jvmtiError (JNICALL *GetClassLoaderClasses) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1422
    jobject initiating_loader,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1423
    jint* class_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1424
    jclass** classes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1425
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1426
  /*   80 : Pop Frame */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1427
  jvmtiError (JNICALL *PopFrame) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1428
    jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1429
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1430
  /*   81 : Force Early Return - Object */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1431
  jvmtiError (JNICALL *ForceEarlyReturnObject) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1432
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1433
    jobject value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1434
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1435
  /*   82 : Force Early Return - Int */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1436
  jvmtiError (JNICALL *ForceEarlyReturnInt) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1437
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1438
    jint value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1439
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1440
  /*   83 : Force Early Return - Long */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1441
  jvmtiError (JNICALL *ForceEarlyReturnLong) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1442
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1443
    jlong value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1444
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1445
  /*   84 : Force Early Return - Float */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1446
  jvmtiError (JNICALL *ForceEarlyReturnFloat) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1447
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1448
    jfloat value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1449
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1450
  /*   85 : Force Early Return - Double */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1451
  jvmtiError (JNICALL *ForceEarlyReturnDouble) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1452
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1453
    jdouble value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1454
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1455
  /*   86 : Force Early Return - Void */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1456
  jvmtiError (JNICALL *ForceEarlyReturnVoid) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1457
    jthread thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1458
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1459
  /*   87 : Redefine Classes */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1460
  jvmtiError (JNICALL *RedefineClasses) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1461
    jint class_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1462
    const jvmtiClassDefinition* class_definitions);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1463
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1464
  /*   88 : Get Version Number */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1465
  jvmtiError (JNICALL *GetVersionNumber) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1466
    jint* version_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1467
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1468
  /*   89 : Get Capabilities */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1469
  jvmtiError (JNICALL *GetCapabilities) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1470
    jvmtiCapabilities* capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1471
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1472
  /*   90 : Get Source Debug Extension */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1473
  jvmtiError (JNICALL *GetSourceDebugExtension) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1474
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1475
    char** source_debug_extension_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1476
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1477
  /*   91 : Is Method Obsolete */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1478
  jvmtiError (JNICALL *IsMethodObsolete) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1479
    jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1480
    jboolean* is_obsolete_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1481
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1482
  /*   92 : Suspend Thread List */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1483
  jvmtiError (JNICALL *SuspendThreadList) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1484
    jint request_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1485
    const jthread* request_list,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1486
    jvmtiError* results);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1487
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1488
  /*   93 : Resume Thread List */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1489
  jvmtiError (JNICALL *ResumeThreadList) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1490
    jint request_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1491
    const jthread* request_list,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1492
    jvmtiError* results);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1493
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1494
  /*   94 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1495
  void *reserved94;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1496
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1497
  /*   95 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1498
  void *reserved95;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1499
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1500
  /*   96 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1501
  void *reserved96;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1502
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1503
  /*   97 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1504
  void *reserved97;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1505
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1506
  /*   98 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1507
  void *reserved98;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1508
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1509
  /*   99 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1510
  void *reserved99;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1511
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1512
  /*   100 : Get All Stack Traces */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1513
  jvmtiError (JNICALL *GetAllStackTraces) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1514
    jint max_frame_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1515
    jvmtiStackInfo** stack_info_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1516
    jint* thread_count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1517
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1518
  /*   101 : Get Thread List Stack Traces */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1519
  jvmtiError (JNICALL *GetThreadListStackTraces) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1520
    jint thread_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1521
    const jthread* thread_list,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1522
    jint max_frame_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1523
    jvmtiStackInfo** stack_info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1524
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1525
  /*   102 : Get Thread Local Storage */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1526
  jvmtiError (JNICALL *GetThreadLocalStorage) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1527
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1528
    void** data_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1529
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1530
  /*   103 : Set Thread Local Storage */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1531
  jvmtiError (JNICALL *SetThreadLocalStorage) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1532
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1533
    const void* data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1534
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1535
  /*   104 : Get Stack Trace */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1536
  jvmtiError (JNICALL *GetStackTrace) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1537
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1538
    jint start_depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1539
    jint max_frame_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1540
    jvmtiFrameInfo* frame_buffer,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1541
    jint* count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1542
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1543
  /*   105 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1544
  void *reserved105;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1545
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1546
  /*   106 : Get Tag */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1547
  jvmtiError (JNICALL *GetTag) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1548
    jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1549
    jlong* tag_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1550
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1551
  /*   107 : Set Tag */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1552
  jvmtiError (JNICALL *SetTag) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1553
    jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1554
    jlong tag);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1555
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1556
  /*   108 : Force Garbage Collection */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1557
  jvmtiError (JNICALL *ForceGarbageCollection) (jvmtiEnv* env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1558
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1559
  /*   109 : Iterate Over Objects Reachable From Object */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1560
  jvmtiError (JNICALL *IterateOverObjectsReachableFromObject) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1561
    jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1562
    jvmtiObjectReferenceCallback object_reference_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1563
    const void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1564
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1565
  /*   110 : Iterate Over Reachable Objects */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1566
  jvmtiError (JNICALL *IterateOverReachableObjects) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1567
    jvmtiHeapRootCallback heap_root_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1568
    jvmtiStackReferenceCallback stack_ref_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1569
    jvmtiObjectReferenceCallback object_ref_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1570
    const void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1571
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1572
  /*   111 : Iterate Over Heap */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1573
  jvmtiError (JNICALL *IterateOverHeap) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1574
    jvmtiHeapObjectFilter object_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1575
    jvmtiHeapObjectCallback heap_object_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1576
    const void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1577
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1578
  /*   112 : Iterate Over Instances Of Class */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1579
  jvmtiError (JNICALL *IterateOverInstancesOfClass) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1580
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1581
    jvmtiHeapObjectFilter object_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1582
    jvmtiHeapObjectCallback heap_object_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1583
    const void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1584
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1585
  /*   113 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1586
  void *reserved113;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1587
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1588
  /*   114 : Get Objects With Tags */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1589
  jvmtiError (JNICALL *GetObjectsWithTags) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1590
    jint tag_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1591
    const jlong* tags,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1592
    jint* count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1593
    jobject** object_result_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1594
    jlong** tag_result_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1595
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1596
  /*   115 : Follow References */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1597
  jvmtiError (JNICALL *FollowReferences) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1598
    jint heap_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1599
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1600
    jobject initial_object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1601
    const jvmtiHeapCallbacks* callbacks,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1602
    const void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1603
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1604
  /*   116 : Iterate Through Heap */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1605
  jvmtiError (JNICALL *IterateThroughHeap) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1606
    jint heap_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1607
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1608
    const jvmtiHeapCallbacks* callbacks,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1609
    const void* user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1610
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1611
  /*   117 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1612
  void *reserved117;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1613
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1614
  /*   118 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1615
  void *reserved118;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1616
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1617
  /*   119 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1618
  void *reserved119;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1619
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1620
  /*   120 : Set JNI Function Table */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1621
  jvmtiError (JNICALL *SetJNIFunctionTable) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1622
    const jniNativeInterface* function_table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1623
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1624
  /*   121 : Get JNI Function Table */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1625
  jvmtiError (JNICALL *GetJNIFunctionTable) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1626
    jniNativeInterface** function_table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1627
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1628
  /*   122 : Set Event Callbacks */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1629
  jvmtiError (JNICALL *SetEventCallbacks) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1630
    const jvmtiEventCallbacks* callbacks,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1631
    jint size_of_callbacks);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1632
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1633
  /*   123 : Generate Events */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1634
  jvmtiError (JNICALL *GenerateEvents) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1635
    jvmtiEvent event_type);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1636
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1637
  /*   124 : Get Extension Functions */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1638
  jvmtiError (JNICALL *GetExtensionFunctions) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1639
    jint* extension_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1640
    jvmtiExtensionFunctionInfo** extensions);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1641
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1642
  /*   125 : Get Extension Events */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1643
  jvmtiError (JNICALL *GetExtensionEvents) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1644
    jint* extension_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1645
    jvmtiExtensionEventInfo** extensions);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1646
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1647
  /*   126 : Set Extension Event Callback */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1648
  jvmtiError (JNICALL *SetExtensionEventCallback) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1649
    jint extension_event_index,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1650
    jvmtiExtensionEvent callback);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1651
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1652
  /*   127 : Dispose Environment */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1653
  jvmtiError (JNICALL *DisposeEnvironment) (jvmtiEnv* env);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1654
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1655
  /*   128 : Get Error Name */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1656
  jvmtiError (JNICALL *GetErrorName) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1657
    jvmtiError error,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1658
    char** name_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1659
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1660
  /*   129 : Get JLocation Format */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1661
  jvmtiError (JNICALL *GetJLocationFormat) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1662
    jvmtiJlocationFormat* format_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1663
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1664
  /*   130 : Get System Properties */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1665
  jvmtiError (JNICALL *GetSystemProperties) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1666
    jint* count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1667
    char*** property_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1668
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1669
  /*   131 : Get System Property */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1670
  jvmtiError (JNICALL *GetSystemProperty) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1671
    const char* property,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1672
    char** value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1673
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1674
  /*   132 : Set System Property */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1675
  jvmtiError (JNICALL *SetSystemProperty) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1676
    const char* property,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1677
    const char* value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1678
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1679
  /*   133 : Get Phase */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1680
  jvmtiError (JNICALL *GetPhase) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1681
    jvmtiPhase* phase_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1682
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1683
  /*   134 : Get Current Thread CPU Timer Information */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1684
  jvmtiError (JNICALL *GetCurrentThreadCpuTimerInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1685
    jvmtiTimerInfo* info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1686
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1687
  /*   135 : Get Current Thread CPU Time */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1688
  jvmtiError (JNICALL *GetCurrentThreadCpuTime) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1689
    jlong* nanos_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1690
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1691
  /*   136 : Get Thread CPU Timer Information */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1692
  jvmtiError (JNICALL *GetThreadCpuTimerInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1693
    jvmtiTimerInfo* info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1694
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1695
  /*   137 : Get Thread CPU Time */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1696
  jvmtiError (JNICALL *GetThreadCpuTime) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1697
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1698
    jlong* nanos_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1699
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1700
  /*   138 : Get Timer Information */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1701
  jvmtiError (JNICALL *GetTimerInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1702
    jvmtiTimerInfo* info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1703
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1704
  /*   139 : Get Time */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1705
  jvmtiError (JNICALL *GetTime) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1706
    jlong* nanos_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1707
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1708
  /*   140 : Get Potential Capabilities */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1709
  jvmtiError (JNICALL *GetPotentialCapabilities) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1710
    jvmtiCapabilities* capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1711
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1712
  /*   141 :  RESERVED */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1713
  void *reserved141;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1714
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1715
  /*   142 : Add Capabilities */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1716
  jvmtiError (JNICALL *AddCapabilities) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1717
    const jvmtiCapabilities* capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1718
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1719
  /*   143 : Relinquish Capabilities */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1720
  jvmtiError (JNICALL *RelinquishCapabilities) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1721
    const jvmtiCapabilities* capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1722
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1723
  /*   144 : Get Available Processors */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1724
  jvmtiError (JNICALL *GetAvailableProcessors) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1725
    jint* processor_count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1726
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1727
  /*   145 : Get Class Version Numbers */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1728
  jvmtiError (JNICALL *GetClassVersionNumbers) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1729
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1730
    jint* minor_version_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1731
    jint* major_version_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1732
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1733
  /*   146 : Get Constant Pool */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1734
  jvmtiError (JNICALL *GetConstantPool) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1735
    jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1736
    jint* constant_pool_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1737
    jint* constant_pool_byte_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1738
    unsigned char** constant_pool_bytes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1739
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1740
  /*   147 : Get Environment Local Storage */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1741
  jvmtiError (JNICALL *GetEnvironmentLocalStorage) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1742
    void** data_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1743
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1744
  /*   148 : Set Environment Local Storage */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1745
  jvmtiError (JNICALL *SetEnvironmentLocalStorage) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1746
    const void* data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1747
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1748
  /*   149 : Add To Bootstrap Class Loader Search */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1749
  jvmtiError (JNICALL *AddToBootstrapClassLoaderSearch) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1750
    const char* segment);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1751
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1752
  /*   150 : Set Verbose Flag */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1753
  jvmtiError (JNICALL *SetVerboseFlag) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1754
    jvmtiVerboseFlag flag,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1755
    jboolean value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1756
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1757
  /*   151 : Add To System Class Loader Search */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1758
  jvmtiError (JNICALL *AddToSystemClassLoaderSearch) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1759
    const char* segment);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1760
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1761
  /*   152 : Retransform Classes */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1762
  jvmtiError (JNICALL *RetransformClasses) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1763
    jint class_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1764
    const jclass* classes);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1765
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1766
  /*   153 : Get Owned Monitor Stack Depth Info */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1767
  jvmtiError (JNICALL *GetOwnedMonitorStackDepthInfo) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1768
    jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1769
    jint* monitor_info_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1770
    jvmtiMonitorStackDepthInfo** monitor_info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1771
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1772
  /*   154 : Get Object Size */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1773
  jvmtiError (JNICALL *GetObjectSize) (jvmtiEnv* env,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1774
    jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1775
    jlong* size_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1776
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1777
} jvmtiInterface_1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1778
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1779
struct _jvmtiEnv {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1780
    const struct jvmtiInterface_1_ *functions;
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1781
#ifdef __cplusplus
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1782
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1783
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1784
  jvmtiError Allocate(jlong size,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1785
            unsigned char** mem_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1786
    return functions->Allocate(this, size, mem_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1787
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1788
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1789
  jvmtiError Deallocate(unsigned char* mem) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1790
    return functions->Deallocate(this, mem);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1791
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1792
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1793
  jvmtiError GetThreadState(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1794
            jint* thread_state_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1795
    return functions->GetThreadState(this, thread, thread_state_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1796
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1797
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1798
  jvmtiError GetCurrentThread(jthread* thread_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1799
    return functions->GetCurrentThread(this, thread_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1800
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1801
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1802
  jvmtiError GetAllThreads(jint* threads_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1803
            jthread** threads_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1804
    return functions->GetAllThreads(this, threads_count_ptr, threads_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1805
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1806
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1807
  jvmtiError SuspendThread(jthread thread) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1808
    return functions->SuspendThread(this, thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1809
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1810
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1811
  jvmtiError SuspendThreadList(jint request_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1812
            const jthread* request_list,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1813
            jvmtiError* results) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1814
    return functions->SuspendThreadList(this, request_count, request_list, results);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1815
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1816
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1817
  jvmtiError ResumeThread(jthread thread) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1818
    return functions->ResumeThread(this, thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1819
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1820
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1821
  jvmtiError ResumeThreadList(jint request_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1822
            const jthread* request_list,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1823
            jvmtiError* results) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1824
    return functions->ResumeThreadList(this, request_count, request_list, results);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1825
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1826
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1827
  jvmtiError StopThread(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1828
            jobject exception) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1829
    return functions->StopThread(this, thread, exception);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1830
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1831
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1832
  jvmtiError InterruptThread(jthread thread) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1833
    return functions->InterruptThread(this, thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1834
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1835
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1836
  jvmtiError GetThreadInfo(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1837
            jvmtiThreadInfo* info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1838
    return functions->GetThreadInfo(this, thread, info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1839
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1840
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1841
  jvmtiError GetOwnedMonitorInfo(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1842
            jint* owned_monitor_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1843
            jobject** owned_monitors_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1844
    return functions->GetOwnedMonitorInfo(this, thread, owned_monitor_count_ptr, owned_monitors_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1845
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1846
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1847
  jvmtiError GetOwnedMonitorStackDepthInfo(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1848
            jint* monitor_info_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1849
            jvmtiMonitorStackDepthInfo** monitor_info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1850
    return functions->GetOwnedMonitorStackDepthInfo(this, thread, monitor_info_count_ptr, monitor_info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1851
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1852
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1853
  jvmtiError GetCurrentContendedMonitor(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1854
            jobject* monitor_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1855
    return functions->GetCurrentContendedMonitor(this, thread, monitor_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1856
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1857
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1858
  jvmtiError RunAgentThread(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1859
            jvmtiStartFunction proc,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1860
            const void* arg,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1861
            jint priority) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1862
    return functions->RunAgentThread(this, thread, proc, arg, priority);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1863
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1864
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1865
  jvmtiError SetThreadLocalStorage(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1866
            const void* data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1867
    return functions->SetThreadLocalStorage(this, thread, data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1868
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1869
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1870
  jvmtiError GetThreadLocalStorage(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1871
            void** data_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1872
    return functions->GetThreadLocalStorage(this, thread, data_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1873
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1874
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1875
  jvmtiError GetTopThreadGroups(jint* group_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1876
            jthreadGroup** groups_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1877
    return functions->GetTopThreadGroups(this, group_count_ptr, groups_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1878
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1879
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1880
  jvmtiError GetThreadGroupInfo(jthreadGroup group,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1881
            jvmtiThreadGroupInfo* info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1882
    return functions->GetThreadGroupInfo(this, group, info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1883
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1884
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1885
  jvmtiError GetThreadGroupChildren(jthreadGroup group,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1886
            jint* thread_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1887
            jthread** threads_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1888
            jint* group_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1889
            jthreadGroup** groups_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1890
    return functions->GetThreadGroupChildren(this, group, thread_count_ptr, threads_ptr, group_count_ptr, groups_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1891
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1892
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1893
  jvmtiError GetStackTrace(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1894
            jint start_depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1895
            jint max_frame_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1896
            jvmtiFrameInfo* frame_buffer,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1897
            jint* count_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1898
    return functions->GetStackTrace(this, thread, start_depth, max_frame_count, frame_buffer, count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1899
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1900
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1901
  jvmtiError GetAllStackTraces(jint max_frame_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1902
            jvmtiStackInfo** stack_info_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1903
            jint* thread_count_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1904
    return functions->GetAllStackTraces(this, max_frame_count, stack_info_ptr, thread_count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1905
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1906
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1907
  jvmtiError GetThreadListStackTraces(jint thread_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1908
            const jthread* thread_list,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1909
            jint max_frame_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1910
            jvmtiStackInfo** stack_info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1911
    return functions->GetThreadListStackTraces(this, thread_count, thread_list, max_frame_count, stack_info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1912
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1913
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1914
  jvmtiError GetFrameCount(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1915
            jint* count_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1916
    return functions->GetFrameCount(this, thread, count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1917
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1918
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1919
  jvmtiError PopFrame(jthread thread) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1920
    return functions->PopFrame(this, thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1921
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1922
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1923
  jvmtiError GetFrameLocation(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1924
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1925
            jmethodID* method_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1926
            jlocation* location_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1927
    return functions->GetFrameLocation(this, thread, depth, method_ptr, location_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1928
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1929
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1930
  jvmtiError NotifyFramePop(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1931
            jint depth) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1932
    return functions->NotifyFramePop(this, thread, depth);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1933
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1934
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1935
  jvmtiError ForceEarlyReturnObject(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1936
            jobject value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1937
    return functions->ForceEarlyReturnObject(this, thread, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1938
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1939
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1940
  jvmtiError ForceEarlyReturnInt(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1941
            jint value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1942
    return functions->ForceEarlyReturnInt(this, thread, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1943
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1944
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1945
  jvmtiError ForceEarlyReturnLong(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1946
            jlong value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1947
    return functions->ForceEarlyReturnLong(this, thread, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1948
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1949
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1950
  jvmtiError ForceEarlyReturnFloat(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1951
            jfloat value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1952
    return functions->ForceEarlyReturnFloat(this, thread, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1953
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1954
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1955
  jvmtiError ForceEarlyReturnDouble(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1956
            jdouble value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1957
    return functions->ForceEarlyReturnDouble(this, thread, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1958
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1959
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1960
  jvmtiError ForceEarlyReturnVoid(jthread thread) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1961
    return functions->ForceEarlyReturnVoid(this, thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1962
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1963
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1964
  jvmtiError FollowReferences(jint heap_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1965
            jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1966
            jobject initial_object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1967
            const jvmtiHeapCallbacks* callbacks,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1968
            const void* user_data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1969
    return functions->FollowReferences(this, heap_filter, klass, initial_object, callbacks, user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1970
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1971
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1972
  jvmtiError IterateThroughHeap(jint heap_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1973
            jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1974
            const jvmtiHeapCallbacks* callbacks,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1975
            const void* user_data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1976
    return functions->IterateThroughHeap(this, heap_filter, klass, callbacks, user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1977
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1978
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1979
  jvmtiError GetTag(jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1980
            jlong* tag_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1981
    return functions->GetTag(this, object, tag_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1982
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1983
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1984
  jvmtiError SetTag(jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1985
            jlong tag) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1986
    return functions->SetTag(this, object, tag);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1987
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1988
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1989
  jvmtiError GetObjectsWithTags(jint tag_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1990
            const jlong* tags,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1991
            jint* count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1992
            jobject** object_result_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1993
            jlong** tag_result_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1994
    return functions->GetObjectsWithTags(this, tag_count, tags, count_ptr, object_result_ptr, tag_result_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1995
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1996
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1997
  jvmtiError ForceGarbageCollection() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1998
    return functions->ForceGarbageCollection(this);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1999
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2000
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2001
  jvmtiError IterateOverObjectsReachableFromObject(jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2002
            jvmtiObjectReferenceCallback object_reference_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2003
            const void* user_data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2004
    return functions->IterateOverObjectsReachableFromObject(this, object, object_reference_callback, user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2005
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2006
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2007
  jvmtiError IterateOverReachableObjects(jvmtiHeapRootCallback heap_root_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2008
            jvmtiStackReferenceCallback stack_ref_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2009
            jvmtiObjectReferenceCallback object_ref_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2010
            const void* user_data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2011
    return functions->IterateOverReachableObjects(this, heap_root_callback, stack_ref_callback, object_ref_callback, user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2012
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2013
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2014
  jvmtiError IterateOverHeap(jvmtiHeapObjectFilter object_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2015
            jvmtiHeapObjectCallback heap_object_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2016
            const void* user_data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2017
    return functions->IterateOverHeap(this, object_filter, heap_object_callback, user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2018
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2019
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2020
  jvmtiError IterateOverInstancesOfClass(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2021
            jvmtiHeapObjectFilter object_filter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2022
            jvmtiHeapObjectCallback heap_object_callback,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2023
            const void* user_data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2024
    return functions->IterateOverInstancesOfClass(this, klass, object_filter, heap_object_callback, user_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2025
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2026
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2027
  jvmtiError GetLocalObject(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2028
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2029
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2030
            jobject* value_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2031
    return functions->GetLocalObject(this, thread, depth, slot, value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2032
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2033
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2034
  jvmtiError GetLocalInt(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2035
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2036
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2037
            jint* value_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2038
    return functions->GetLocalInt(this, thread, depth, slot, value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2039
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2040
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2041
  jvmtiError GetLocalLong(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2042
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2043
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2044
            jlong* value_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2045
    return functions->GetLocalLong(this, thread, depth, slot, value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2046
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2047
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2048
  jvmtiError GetLocalFloat(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2049
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2050
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2051
            jfloat* value_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2052
    return functions->GetLocalFloat(this, thread, depth, slot, value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2053
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2054
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2055
  jvmtiError GetLocalDouble(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2056
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2057
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2058
            jdouble* value_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2059
    return functions->GetLocalDouble(this, thread, depth, slot, value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2060
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2061
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2062
  jvmtiError SetLocalObject(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2063
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2064
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2065
            jobject value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2066
    return functions->SetLocalObject(this, thread, depth, slot, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2067
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2068
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2069
  jvmtiError SetLocalInt(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2070
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2071
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2072
            jint value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2073
    return functions->SetLocalInt(this, thread, depth, slot, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2074
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2075
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2076
  jvmtiError SetLocalLong(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2077
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2078
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2079
            jlong value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2080
    return functions->SetLocalLong(this, thread, depth, slot, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2081
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2082
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2083
  jvmtiError SetLocalFloat(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2084
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2085
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2086
            jfloat value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2087
    return functions->SetLocalFloat(this, thread, depth, slot, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2088
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2089
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2090
  jvmtiError SetLocalDouble(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2091
            jint depth,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2092
            jint slot,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2093
            jdouble value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2094
    return functions->SetLocalDouble(this, thread, depth, slot, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2095
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2096
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2097
  jvmtiError SetBreakpoint(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2098
            jlocation location) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2099
    return functions->SetBreakpoint(this, method, location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2100
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2101
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2102
  jvmtiError ClearBreakpoint(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2103
            jlocation location) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2104
    return functions->ClearBreakpoint(this, method, location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2105
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2106
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2107
  jvmtiError SetFieldAccessWatch(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2108
            jfieldID field) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2109
    return functions->SetFieldAccessWatch(this, klass, field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2110
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2111
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2112
  jvmtiError ClearFieldAccessWatch(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2113
            jfieldID field) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2114
    return functions->ClearFieldAccessWatch(this, klass, field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2115
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2116
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2117
  jvmtiError SetFieldModificationWatch(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2118
            jfieldID field) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2119
    return functions->SetFieldModificationWatch(this, klass, field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2120
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2121
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2122
  jvmtiError ClearFieldModificationWatch(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2123
            jfieldID field) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2124
    return functions->ClearFieldModificationWatch(this, klass, field);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2125
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2126
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2127
  jvmtiError GetLoadedClasses(jint* class_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2128
            jclass** classes_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2129
    return functions->GetLoadedClasses(this, class_count_ptr, classes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2130
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2131
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2132
  jvmtiError GetClassLoaderClasses(jobject initiating_loader,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2133
            jint* class_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2134
            jclass** classes_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2135
    return functions->GetClassLoaderClasses(this, initiating_loader, class_count_ptr, classes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2136
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2137
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2138
  jvmtiError GetClassSignature(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2139
            char** signature_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2140
            char** generic_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2141
    return functions->GetClassSignature(this, klass, signature_ptr, generic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2142
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2143
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2144
  jvmtiError GetClassStatus(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2145
            jint* status_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2146
    return functions->GetClassStatus(this, klass, status_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2147
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2148
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2149
  jvmtiError GetSourceFileName(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2150
            char** source_name_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2151
    return functions->GetSourceFileName(this, klass, source_name_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2152
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2153
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2154
  jvmtiError GetClassModifiers(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2155
            jint* modifiers_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2156
    return functions->GetClassModifiers(this, klass, modifiers_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2157
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2158
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2159
  jvmtiError GetClassMethods(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2160
            jint* method_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2161
            jmethodID** methods_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2162
    return functions->GetClassMethods(this, klass, method_count_ptr, methods_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2163
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2164
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2165
  jvmtiError GetClassFields(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2166
            jint* field_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2167
            jfieldID** fields_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2168
    return functions->GetClassFields(this, klass, field_count_ptr, fields_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2169
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2170
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2171
  jvmtiError GetImplementedInterfaces(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2172
            jint* interface_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2173
            jclass** interfaces_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2174
    return functions->GetImplementedInterfaces(this, klass, interface_count_ptr, interfaces_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2175
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2176
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2177
  jvmtiError GetClassVersionNumbers(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2178
            jint* minor_version_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2179
            jint* major_version_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2180
    return functions->GetClassVersionNumbers(this, klass, minor_version_ptr, major_version_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2181
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2182
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2183
  jvmtiError GetConstantPool(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2184
            jint* constant_pool_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2185
            jint* constant_pool_byte_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2186
            unsigned char** constant_pool_bytes_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2187
    return functions->GetConstantPool(this, klass, constant_pool_count_ptr, constant_pool_byte_count_ptr, constant_pool_bytes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2188
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2189
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2190
  jvmtiError IsInterface(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2191
            jboolean* is_interface_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2192
    return functions->IsInterface(this, klass, is_interface_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2193
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2194
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2195
  jvmtiError IsArrayClass(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2196
            jboolean* is_array_class_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2197
    return functions->IsArrayClass(this, klass, is_array_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2198
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2199
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2200
  jvmtiError IsModifiableClass(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2201
            jboolean* is_modifiable_class_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2202
    return functions->IsModifiableClass(this, klass, is_modifiable_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2203
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2204
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2205
  jvmtiError GetClassLoader(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2206
            jobject* classloader_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2207
    return functions->GetClassLoader(this, klass, classloader_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2208
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2209
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2210
  jvmtiError GetSourceDebugExtension(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2211
            char** source_debug_extension_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2212
    return functions->GetSourceDebugExtension(this, klass, source_debug_extension_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2213
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2214
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2215
  jvmtiError RetransformClasses(jint class_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2216
            const jclass* classes) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2217
    return functions->RetransformClasses(this, class_count, classes);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2218
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2219
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2220
  jvmtiError RedefineClasses(jint class_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2221
            const jvmtiClassDefinition* class_definitions) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2222
    return functions->RedefineClasses(this, class_count, class_definitions);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2223
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2224
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2225
  jvmtiError GetObjectSize(jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2226
            jlong* size_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2227
    return functions->GetObjectSize(this, object, size_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2228
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2229
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2230
  jvmtiError GetObjectHashCode(jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2231
            jint* hash_code_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2232
    return functions->GetObjectHashCode(this, object, hash_code_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2233
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2234
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2235
  jvmtiError GetObjectMonitorUsage(jobject object,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2236
            jvmtiMonitorUsage* info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2237
    return functions->GetObjectMonitorUsage(this, object, info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2238
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2239
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2240
  jvmtiError GetFieldName(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2241
            jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2242
            char** name_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2243
            char** signature_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2244
            char** generic_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2245
    return functions->GetFieldName(this, klass, field, name_ptr, signature_ptr, generic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2246
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2247
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2248
  jvmtiError GetFieldDeclaringClass(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2249
            jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2250
            jclass* declaring_class_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2251
    return functions->GetFieldDeclaringClass(this, klass, field, declaring_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2252
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2253
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2254
  jvmtiError GetFieldModifiers(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2255
            jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2256
            jint* modifiers_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2257
    return functions->GetFieldModifiers(this, klass, field, modifiers_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2258
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2259
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2260
  jvmtiError IsFieldSynthetic(jclass klass,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2261
            jfieldID field,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2262
            jboolean* is_synthetic_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2263
    return functions->IsFieldSynthetic(this, klass, field, is_synthetic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2264
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2265
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2266
  jvmtiError GetMethodName(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2267
            char** name_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2268
            char** signature_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2269
            char** generic_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2270
    return functions->GetMethodName(this, method, name_ptr, signature_ptr, generic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2271
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2272
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2273
  jvmtiError GetMethodDeclaringClass(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2274
            jclass* declaring_class_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2275
    return functions->GetMethodDeclaringClass(this, method, declaring_class_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2276
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2277
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2278
  jvmtiError GetMethodModifiers(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2279
            jint* modifiers_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2280
    return functions->GetMethodModifiers(this, method, modifiers_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2281
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2282
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2283
  jvmtiError GetMaxLocals(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2284
            jint* max_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2285
    return functions->GetMaxLocals(this, method, max_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2286
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2287
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2288
  jvmtiError GetArgumentsSize(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2289
            jint* size_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2290
    return functions->GetArgumentsSize(this, method, size_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2291
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2292
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2293
  jvmtiError GetLineNumberTable(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2294
            jint* entry_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2295
            jvmtiLineNumberEntry** table_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2296
    return functions->GetLineNumberTable(this, method, entry_count_ptr, table_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2297
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2298
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2299
  jvmtiError GetMethodLocation(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2300
            jlocation* start_location_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2301
            jlocation* end_location_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2302
    return functions->GetMethodLocation(this, method, start_location_ptr, end_location_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2303
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2304
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2305
  jvmtiError GetLocalVariableTable(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2306
            jint* entry_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2307
            jvmtiLocalVariableEntry** table_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2308
    return functions->GetLocalVariableTable(this, method, entry_count_ptr, table_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2309
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2310
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2311
  jvmtiError GetBytecodes(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2312
            jint* bytecode_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2313
            unsigned char** bytecodes_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2314
    return functions->GetBytecodes(this, method, bytecode_count_ptr, bytecodes_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2315
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2316
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2317
  jvmtiError IsMethodNative(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2318
            jboolean* is_native_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2319
    return functions->IsMethodNative(this, method, is_native_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2320
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2321
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2322
  jvmtiError IsMethodSynthetic(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2323
            jboolean* is_synthetic_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2324
    return functions->IsMethodSynthetic(this, method, is_synthetic_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2325
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2326
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2327
  jvmtiError IsMethodObsolete(jmethodID method,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2328
            jboolean* is_obsolete_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2329
    return functions->IsMethodObsolete(this, method, is_obsolete_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2330
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2331
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2332
  jvmtiError SetNativeMethodPrefix(const char* prefix) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2333
    return functions->SetNativeMethodPrefix(this, prefix);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2334
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2335
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2336
  jvmtiError SetNativeMethodPrefixes(jint prefix_count,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2337
            char** prefixes) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2338
    return functions->SetNativeMethodPrefixes(this, prefix_count, prefixes);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2339
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2340
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2341
  jvmtiError CreateRawMonitor(const char* name,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2342
            jrawMonitorID* monitor_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2343
    return functions->CreateRawMonitor(this, name, monitor_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2344
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2345
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2346
  jvmtiError DestroyRawMonitor(jrawMonitorID monitor) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2347
    return functions->DestroyRawMonitor(this, monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2348
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2349
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2350
  jvmtiError RawMonitorEnter(jrawMonitorID monitor) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2351
    return functions->RawMonitorEnter(this, monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2352
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2353
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2354
  jvmtiError RawMonitorExit(jrawMonitorID monitor) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2355
    return functions->RawMonitorExit(this, monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2356
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2357
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2358
  jvmtiError RawMonitorWait(jrawMonitorID monitor,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2359
            jlong millis) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2360
    return functions->RawMonitorWait(this, monitor, millis);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2361
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2362
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2363
  jvmtiError RawMonitorNotify(jrawMonitorID monitor) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2364
    return functions->RawMonitorNotify(this, monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2365
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2366
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2367
  jvmtiError RawMonitorNotifyAll(jrawMonitorID monitor) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2368
    return functions->RawMonitorNotifyAll(this, monitor);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2369
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2370
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2371
  jvmtiError SetJNIFunctionTable(const jniNativeInterface* function_table) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2372
    return functions->SetJNIFunctionTable(this, function_table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2373
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2374
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2375
  jvmtiError GetJNIFunctionTable(jniNativeInterface** function_table) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2376
    return functions->GetJNIFunctionTable(this, function_table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2377
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2378
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2379
  jvmtiError SetEventCallbacks(const jvmtiEventCallbacks* callbacks,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2380
            jint size_of_callbacks) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2381
    return functions->SetEventCallbacks(this, callbacks, size_of_callbacks);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2382
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2383
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2384
  jvmtiError SetEventNotificationMode(jvmtiEventMode mode,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2385
            jvmtiEvent event_type,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2386
            jthread event_thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2387
             ...) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2388
    return functions->SetEventNotificationMode(this, mode, event_type, event_thread);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2389
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2390
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2391
  jvmtiError GenerateEvents(jvmtiEvent event_type) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2392
    return functions->GenerateEvents(this, event_type);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2393
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2394
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2395
  jvmtiError GetExtensionFunctions(jint* extension_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2396
            jvmtiExtensionFunctionInfo** extensions) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2397
    return functions->GetExtensionFunctions(this, extension_count_ptr, extensions);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2398
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2399
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2400
  jvmtiError GetExtensionEvents(jint* extension_count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2401
            jvmtiExtensionEventInfo** extensions) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2402
    return functions->GetExtensionEvents(this, extension_count_ptr, extensions);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2403
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2404
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2405
  jvmtiError SetExtensionEventCallback(jint extension_event_index,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2406
            jvmtiExtensionEvent callback) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2407
    return functions->SetExtensionEventCallback(this, extension_event_index, callback);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2408
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2409
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2410
  jvmtiError GetPotentialCapabilities(jvmtiCapabilities* capabilities_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2411
    return functions->GetPotentialCapabilities(this, capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2412
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2413
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2414
  jvmtiError AddCapabilities(const jvmtiCapabilities* capabilities_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2415
    return functions->AddCapabilities(this, capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2416
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2417
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2418
  jvmtiError RelinquishCapabilities(const jvmtiCapabilities* capabilities_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2419
    return functions->RelinquishCapabilities(this, capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2420
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2421
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2422
  jvmtiError GetCapabilities(jvmtiCapabilities* capabilities_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2423
    return functions->GetCapabilities(this, capabilities_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2424
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2425
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2426
  jvmtiError GetCurrentThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2427
    return functions->GetCurrentThreadCpuTimerInfo(this, info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2428
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2429
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2430
  jvmtiError GetCurrentThreadCpuTime(jlong* nanos_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2431
    return functions->GetCurrentThreadCpuTime(this, nanos_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2432
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2433
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2434
  jvmtiError GetThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2435
    return functions->GetThreadCpuTimerInfo(this, info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2436
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2437
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2438
  jvmtiError GetThreadCpuTime(jthread thread,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2439
            jlong* nanos_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2440
    return functions->GetThreadCpuTime(this, thread, nanos_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2441
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2442
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2443
  jvmtiError GetTimerInfo(jvmtiTimerInfo* info_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2444
    return functions->GetTimerInfo(this, info_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2445
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2446
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2447
  jvmtiError GetTime(jlong* nanos_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2448
    return functions->GetTime(this, nanos_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2449
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2450
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2451
  jvmtiError GetAvailableProcessors(jint* processor_count_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2452
    return functions->GetAvailableProcessors(this, processor_count_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2453
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2454
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2455
  jvmtiError AddToBootstrapClassLoaderSearch(const char* segment) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2456
    return functions->AddToBootstrapClassLoaderSearch(this, segment);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2457
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2458
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2459
  jvmtiError AddToSystemClassLoaderSearch(const char* segment) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2460
    return functions->AddToSystemClassLoaderSearch(this, segment);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2461
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2462
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2463
  jvmtiError GetSystemProperties(jint* count_ptr,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2464
            char*** property_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2465
    return functions->GetSystemProperties(this, count_ptr, property_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2466
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2467
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2468
  jvmtiError GetSystemProperty(const char* property,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2469
            char** value_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2470
    return functions->GetSystemProperty(this, property, value_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2471
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2472
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2473
  jvmtiError SetSystemProperty(const char* property,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2474
            const char* value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2475
    return functions->SetSystemProperty(this, property, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2476
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2477
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2478
  jvmtiError GetPhase(jvmtiPhase* phase_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2479
    return functions->GetPhase(this, phase_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2480
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2481
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2482
  jvmtiError DisposeEnvironment() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2483
    return functions->DisposeEnvironment(this);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2484
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2485
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2486
  jvmtiError SetEnvironmentLocalStorage(const void* data) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2487
    return functions->SetEnvironmentLocalStorage(this, data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2488
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2489
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2490
  jvmtiError GetEnvironmentLocalStorage(void** data_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2491
    return functions->GetEnvironmentLocalStorage(this, data_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2492
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2493
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2494
  jvmtiError GetVersionNumber(jint* version_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2495
    return functions->GetVersionNumber(this, version_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2496
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2497
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2498
  jvmtiError GetErrorName(jvmtiError error,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2499
            char** name_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2500
    return functions->GetErrorName(this, error, name_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2501
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2502
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2503
  jvmtiError SetVerboseFlag(jvmtiVerboseFlag flag,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2504
            jboolean value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2505
    return functions->SetVerboseFlag(this, flag, value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2506
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2507
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2508
  jvmtiError GetJLocationFormat(jvmtiJlocationFormat* format_ptr) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2509
    return functions->GetJLocationFormat(this, format_ptr);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2510
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2511
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2512
#endif /* __cplusplus */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2513
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2514
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2515
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2516
#ifdef __cplusplus
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2517
} /* extern "C" */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2518
#endif /* __cplusplus */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2519
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2520
#endif /* !_JAVA_JVMTI_H_ */