jvmti_rs/sys/
constant.rs

1#![allow(non_snake_case, non_camel_case_types)]
2
3// @formatter:off
4
5pub const JVMTI_CONSTANT_UNSUPPORTED                                     : u32 = 0;
6
7pub type jvmtiThreadState = u32;
8/* Thread State Flags */
9pub const JVMTI_THREAD_STATE_ALIVE                                       : jvmtiThreadState = 0x0001;
10pub const JVMTI_THREAD_STATE_TERMINATED                                  : jvmtiThreadState = 0x0002;
11pub const JVMTI_THREAD_STATE_RUNNABLE                                    : jvmtiThreadState = 0x0004;
12pub const JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER                    : jvmtiThreadState = 0x0400;
13pub const JVMTI_THREAD_STATE_WAITING                                     : jvmtiThreadState = 0x0080;
14pub const JVMTI_THREAD_STATE_WAITING_INDEFINITELY                        : jvmtiThreadState = 0x0010;
15pub const JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT                        : jvmtiThreadState = 0x0020;
16pub const JVMTI_THREAD_STATE_SLEEPING                                    : jvmtiThreadState = 0x0040;
17pub const JVMTI_THREAD_STATE_IN_OBJECT_WAIT                              : jvmtiThreadState = 0x0100;
18pub const JVMTI_THREAD_STATE_PARKED                                      : jvmtiThreadState = 0x0200;
19pub const JVMTI_THREAD_STATE_SUSPENDED                                   : jvmtiThreadState = 0x100000;
20pub const JVMTI_THREAD_STATE_INTERRUPTED                                 : jvmtiThreadState = 0x200000;
21pub const JVMTI_THREAD_STATE_IN_NATIVE                                   : jvmtiThreadState = 0x400000;
22pub const JVMTI_THREAD_STATE_VENDOR_1                                    : jvmtiThreadState = 0x10000000;
23pub const JVMTI_THREAD_STATE_VENDOR_2                                    : jvmtiThreadState = 0x20000000;
24pub const JVMTI_THREAD_STATE_VENDOR_3                                    : jvmtiThreadState = 0x40000000;
25
26
27pub type jvmtiJavaLangThreadState = u32;
28/* java.lang.Thread.State Conversion Masks */
29pub const JVMTI_JAVA_LANG_THREAD_STATE_MASK                              : jvmtiJavaLangThreadState = JVMTI_THREAD_STATE_TERMINATED | JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE
30                                                                                                     | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER | JVMTI_THREAD_STATE_WAITING
31                                                                                                     | JVMTI_THREAD_STATE_WAITING_INDEFINITELY | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT;
32pub const JVMTI_JAVA_LANG_THREAD_STATE_NEW                               : jvmtiJavaLangThreadState = 0;
33pub const JVMTI_JAVA_LANG_THREAD_STATE_TERMINATED                        : jvmtiJavaLangThreadState = JVMTI_THREAD_STATE_TERMINATED;
34pub const JVMTI_JAVA_LANG_THREAD_STATE_RUNNABLE                          : jvmtiJavaLangThreadState = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE;
35pub const JVMTI_JAVA_LANG_THREAD_STATE_BLOCKED                           : jvmtiJavaLangThreadState = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER;
36pub const JVMTI_JAVA_LANG_THREAD_STATE_WAITING                           : jvmtiJavaLangThreadState = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY;
37pub const JVMTI_JAVA_LANG_THREAD_STATE_TIMED_WAITING                     : jvmtiJavaLangThreadState = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT;
38
39pub type jvmtiThreadPriority = i32;
40/* Thread Priority Constants */
41pub const JVMTI_THREAD_MIN_PRIORITY                                      : jvmtiThreadPriority = 1;
42pub const JVMTI_THREAD_NORM_PRIORITY                                     : jvmtiThreadPriority = 5;
43pub const JVMTI_THREAD_MAX_PRIORITY                                      : jvmtiThreadPriority = 10;
44
45pub type jvmtiHeapFilter = u32;
46/* Heap Filter Flags */
47pub const JVMTI_HEAP_FILTER_TAGGED                                       : jvmtiHeapFilter = 0x4;
48pub const JVMTI_HEAP_FILTER_UNTAGGED                                     : jvmtiHeapFilter = 0x8;
49pub const JVMTI_HEAP_FILTER_CLASS_TAGGED                                 : jvmtiHeapFilter = 0x10;
50pub const JVMTI_HEAP_FILTER_CLASS_UNTAGGED                               : jvmtiHeapFilter = 0x20;
51
52pub type jvmtiVisit = u32;
53/* Heap Visit Control Flags */
54pub const JVMTI_VISIT_OBJECTS                                            : jvmtiVisit = 0x100;
55pub const JVMTI_VISIT_ABORT                                              : jvmtiVisit = 0x8000;
56
57pub type jvmtiHeapReferenceKind = u32;
58/* Heap Reference Enumeration */
59pub const JVMTI_HEAP_REFERENCE_CLASS                                     : jvmtiHeapReferenceKind = 1;
60pub const JVMTI_HEAP_REFERENCE_FIELD                                     : jvmtiHeapReferenceKind = 2;
61pub const JVMTI_HEAP_REFERENCE_ARRAY_ELEMENT                             : jvmtiHeapReferenceKind = 3;
62pub const JVMTI_HEAP_REFERENCE_CLASS_LOADER                              : jvmtiHeapReferenceKind = 4;
63pub const JVMTI_HEAP_REFERENCE_SIGNERS                                   : jvmtiHeapReferenceKind = 5;
64pub const JVMTI_HEAP_REFERENCE_PROTECTION_DOMAIN                         : jvmtiHeapReferenceKind = 6;
65pub const JVMTI_HEAP_REFERENCE_INTERFACE                                 : jvmtiHeapReferenceKind = 7;
66pub const JVMTI_HEAP_REFERENCE_STATIC_FIELD                              : jvmtiHeapReferenceKind = 8;
67pub const JVMTI_HEAP_REFERENCE_CONSTANT_POOL                             : jvmtiHeapReferenceKind = 9;
68pub const JVMTI_HEAP_REFERENCE_SUPERCLASS                                : jvmtiHeapReferenceKind = 10;
69pub const JVMTI_HEAP_REFERENCE_JNI_GLOBAL                                : jvmtiHeapReferenceKind = 21;
70pub const JVMTI_HEAP_REFERENCE_SYSTEM_CLASS                              : jvmtiHeapReferenceKind = 22;
71pub const JVMTI_HEAP_REFERENCE_MONITOR                                   : jvmtiHeapReferenceKind = 23;
72pub const JVMTI_HEAP_REFERENCE_STACK_LOCAL                               : jvmtiHeapReferenceKind = 24;
73pub const JVMTI_HEAP_REFERENCE_JNI_LOCAL                                 : jvmtiHeapReferenceKind = 25;
74pub const JVMTI_HEAP_REFERENCE_THREAD                                    : jvmtiHeapReferenceKind = 26;
75pub const JVMTI_HEAP_REFERENCE_OTHER                                     : jvmtiHeapReferenceKind = 27;
76
77pub type jvmtiPrimitiveType = u32;
78/* Primitive Type Enumeration */
79pub const JVMTI_PRIMITIVE_TYPE_BOOLEAN                                   : jvmtiPrimitiveType = 90;
80pub const JVMTI_PRIMITIVE_TYPE_BYTE                                      : jvmtiPrimitiveType = 66;
81pub const JVMTI_PRIMITIVE_TYPE_CHAR                                      : jvmtiPrimitiveType = 67;
82pub const JVMTI_PRIMITIVE_TYPE_SHORT                                     : jvmtiPrimitiveType = 83;
83pub const JVMTI_PRIMITIVE_TYPE_INT                                       : jvmtiPrimitiveType = 73;
84pub const JVMTI_PRIMITIVE_TYPE_LONG                                      : jvmtiPrimitiveType = 74;
85pub const JVMTI_PRIMITIVE_TYPE_FLOAT                                     : jvmtiPrimitiveType = 70;
86pub const JVMTI_PRIMITIVE_TYPE_DOUBLE                                    : jvmtiPrimitiveType = 68;
87
88pub type jvmtiHeapObjectFilter = u32;
89/* Heap Object Filter Enumeration */
90pub const JVMTI_HEAP_OBJECT_TAGGED                                       : jvmtiHeapObjectFilter = 1;
91pub const JVMTI_HEAP_OBJECT_UNTAGGED                                     : jvmtiHeapObjectFilter = 2;
92pub const JVMTI_HEAP_OBJECT_EITHER                                       : jvmtiHeapObjectFilter = 3;
93
94pub type jvmtiHeapRootKind = u32;
95/* Heap Root Kind Enumeration */
96pub const JVMTI_HEAP_ROOT_JNI_GLOBAL                                     : jvmtiHeapRootKind = 1;
97pub const JVMTI_HEAP_ROOT_SYSTEM_CLASS                                   : jvmtiHeapRootKind = 2;
98pub const JVMTI_HEAP_ROOT_MONITOR                                        : jvmtiHeapRootKind = 3;
99pub const JVMTI_HEAP_ROOT_STACK_LOCAL                                    : jvmtiHeapRootKind = 4;
100pub const JVMTI_HEAP_ROOT_JNI_LOCAL                                      : jvmtiHeapRootKind = 5;
101pub const JVMTI_HEAP_ROOT_THREAD                                         : jvmtiHeapRootKind = 6;
102pub const JVMTI_HEAP_ROOT_OTHER                                          : jvmtiHeapRootKind = 7;
103
104pub type jvmtiObjectReferenceKind = u32;
105/* Object Reference Enumeration */
106pub const JVMTI_REFERENCE_CLASS                                          : jvmtiObjectReferenceKind = 1;
107pub const JVMTI_REFERENCE_FIELD                                          : jvmtiObjectReferenceKind = 2;
108pub const JVMTI_REFERENCE_ARRAY_ELEMENT                                  : jvmtiObjectReferenceKind = 3;
109pub const JVMTI_REFERENCE_CLASS_LOADER                                   : jvmtiObjectReferenceKind = 4;
110pub const JVMTI_REFERENCE_SIGNERS                                        : jvmtiObjectReferenceKind = 5;
111pub const JVMTI_REFERENCE_PROTECTION_DOMAIN                              : jvmtiObjectReferenceKind = 6;
112pub const JVMTI_REFERENCE_INTERFACE                                      : jvmtiObjectReferenceKind = 7;
113pub const JVMTI_REFERENCE_STATIC_FIELD                                   : jvmtiObjectReferenceKind = 8;
114pub const JVMTI_REFERENCE_CONSTANT_POOL                                  : jvmtiObjectReferenceKind = 9;
115
116pub type jvmtiIterationControl = u32;
117/* Iteration Control Enumeration */
118pub const JVMTI_ITERATION_CONTINUE                                       : jvmtiIterationControl = 1;
119pub const JVMTI_ITERATION_IGNORE                                         : jvmtiIterationControl = 2;
120pub const JVMTI_ITERATION_ABORT                                          : jvmtiIterationControl = 0;
121
122pub type jvmtiClassStatus = u32;
123/* Class Status Flags */
124pub const JVMTI_CLASS_STATUS_VERIFIED                                    : jvmtiClassStatus = 1;
125pub const JVMTI_CLASS_STATUS_PREPARED                                    : jvmtiClassStatus = 2;
126pub const JVMTI_CLASS_STATUS_INITIALIZED                                 : jvmtiClassStatus = 4;
127pub const JVMTI_CLASS_STATUS_ERROR                                       : jvmtiClassStatus = 8;
128pub const JVMTI_CLASS_STATUS_ARRAY                                       : jvmtiClassStatus = 16;
129pub const JVMTI_CLASS_STATUS_PRIMITIVE                                   : jvmtiClassStatus = 32;
130
131pub type jvmtiEventMode = u32;
132/* Event Enable/Disable */
133pub const JVMTI_ENABLE                                                   : jvmtiEventMode = 1;
134pub const JVMTI_DISABLE                                                  : jvmtiEventMode = 0;
135
136
137pub type jvmtiParamTypes = u32;
138/* Extension Function/Event Parameter Types */
139pub const JVMTI_TYPE_JBYTE                                               : jvmtiParamTypes = 101;
140pub const JVMTI_TYPE_JCHAR                                               : jvmtiParamTypes = 102;
141pub const JVMTI_TYPE_JSHORT                                              : jvmtiParamTypes = 103;
142pub const JVMTI_TYPE_JINT                                                : jvmtiParamTypes = 104;
143pub const JVMTI_TYPE_JLONG                                               : jvmtiParamTypes = 105;
144pub const JVMTI_TYPE_JFLOAT                                              : jvmtiParamTypes = 106;
145pub const JVMTI_TYPE_JDOUBLE                                             : jvmtiParamTypes = 107;
146pub const JVMTI_TYPE_JBOOLEAN                                            : jvmtiParamTypes = 108;
147pub const JVMTI_TYPE_JOBJECT                                             : jvmtiParamTypes = 109;
148pub const JVMTI_TYPE_JTHREAD                                             : jvmtiParamTypes = 110;
149pub const JVMTI_TYPE_JCLASS                                              : jvmtiParamTypes = 111;
150pub const JVMTI_TYPE_JVALUE                                              : jvmtiParamTypes = 112;
151pub const JVMTI_TYPE_JFIELDID                                            : jvmtiParamTypes = 113;
152pub const JVMTI_TYPE_JMETHODID                                           : jvmtiParamTypes = 114;
153pub const JVMTI_TYPE_CCHAR                                               : jvmtiParamTypes = 115;
154pub const JVMTI_TYPE_CVOID                                               : jvmtiParamTypes = 116;
155pub const JVMTI_TYPE_JNIENV                                              : jvmtiParamTypes = 117;
156
157pub type jvmtiParamKind = u32;
158/* Extension Function/Event Parameter Kinds */
159pub const JVMTI_KIND_IN                                                  : jvmtiParamKind = 91;
160pub const JVMTI_KIND_IN_PTR                                              : jvmtiParamKind = 92;
161pub const JVMTI_KIND_IN_BUF                                              : jvmtiParamKind = 93;
162pub const JVMTI_KIND_ALLOC_BUF                                           : jvmtiParamKind = 94;
163pub const JVMTI_KIND_ALLOC_ALLOC_BUF                                     : jvmtiParamKind = 95;
164pub const JVMTI_KIND_OUT                                                 : jvmtiParamKind = 96;
165pub const JVMTI_KIND_OUT_BUF                                             : jvmtiParamKind = 97;
166
167pub type jvmtiTimerKind = u32;
168/* Timer Kinds */
169pub const JVMTI_TIMER_USER_CPU                                           : jvmtiTimerKind = 30;
170pub const JVMTI_TIMER_TOTAL_CPU                                          : jvmtiTimerKind = 31;
171pub const JVMTI_TIMER_ELAPSED                                            : jvmtiTimerKind = 32;
172
173pub type jvmtiPhase = u32;
174/* Phases of execution */
175pub const JVMTI_PHASE_ONLOAD                                             : jvmtiPhase = 1;
176pub const JVMTI_PHASE_PRIMORDIAL                                         : jvmtiPhase = 2;
177pub const JVMTI_PHASE_START                                              : jvmtiPhase = 6;
178pub const JVMTI_PHASE_LIVE                                               : jvmtiPhase = 4;
179pub const JVMTI_PHASE_DEAD                                               : jvmtiPhase = 8;
180
181pub type jvmtiVersionInterface = u32;
182/* Version Interface Types */
183pub const JVMTI_VERSION_INTERFACE_JNI                                    : jvmtiVersionInterface = 0x00000000;
184pub const JVMTI_VERSION_INTERFACE_JVMTI                                  : jvmtiVersionInterface = 0x30000000;
185
186pub type jvmtiVersionMask = u32;
187/* Version Masks */
188pub const JVMTI_VERSION_MASK_INTERFACE_TYPE                              : jvmtiVersionMask = 0x70000000;
189pub const JVMTI_VERSION_MASK_MAJOR                                       : jvmtiVersionMask = 0x0FFF0000;
190pub const JVMTI_VERSION_MASK_MINOR                                       : jvmtiVersionMask = 0x0000FF00;
191pub const JVMTI_VERSION_MASK_MICRO                                       : jvmtiVersionMask = 0x000000FF;
192
193pub type jvmtiVersionShift = u32;
194/* Version Shifts */
195pub const JVMTI_VERSION_SHIFT_MAJOR                                      : jvmtiVersionShift = 16;
196pub const JVMTI_VERSION_SHIFT_MINOR                                      : jvmtiVersionShift = 8;
197pub const JVMTI_VERSION_SHIFT_MICRO                                      : jvmtiVersionShift = 0;
198
199pub type jvmtiVerboseFlag = u32;
200/* Verbose Flag Enumeration */
201pub const JVMTI_VERBOSE_OTHER                                            : jvmtiVerboseFlag = 0;
202pub const JVMTI_VERBOSE_GC                                               : jvmtiVerboseFlag = 1;
203pub const JVMTI_VERBOSE_CLASS                                            : jvmtiVerboseFlag = 2;
204pub const JVMTI_VERBOSE_JNI                                              : jvmtiVerboseFlag = 4;
205
206pub type jvmtiJlocationFormat = u32;
207/* jlocation Format Enumeration */
208pub const JVMTI_JLOCATION_JVMBCI                                         : jvmtiJlocationFormat = 1;
209pub const JVMTI_JLOCATION_MACHINEPC                                      : jvmtiJlocationFormat = 2;
210pub const JVMTI_JLOCATION_OTHER                                          : jvmtiJlocationFormat = 0;
211
212pub type jvmtiResourceExhausted = u32;
213/* Resource Exhaustion Flags */
214pub const JVMTI_RESOURCE_EXHAUSTED_OOM_ERROR                             : jvmtiResourceExhausted = 0x0001;
215pub const JVMTI_RESOURCE_EXHAUSTED_JAVA_HEAP                             : jvmtiResourceExhausted = 0x0002;
216pub const JVMTI_RESOURCE_EXHAUSTED_THREADS                               : jvmtiResourceExhausted = 0x0004;
217
218pub type jvmtiError = u32;
219/* Errors */
220pub const JVMTI_ERROR_NONE                                               : jvmtiError = 0;
221pub const JVMTI_ERROR_INVALID_THREAD                                     : jvmtiError = 10;
222pub const JVMTI_ERROR_INVALID_THREAD_GROUP                               : jvmtiError = 11;
223pub const JVMTI_ERROR_INVALID_PRIORITY                                   : jvmtiError = 12;
224pub const JVMTI_ERROR_THREAD_NOT_SUSPENDED                               : jvmtiError = 13;
225pub const JVMTI_ERROR_THREAD_SUSPENDED                                   : jvmtiError = 14;
226pub const JVMTI_ERROR_THREAD_NOT_ALIVE                                   : jvmtiError = 15;
227pub const JVMTI_ERROR_INVALID_OBJECT                                     : jvmtiError = 20;
228pub const JVMTI_ERROR_INVALID_CLASS                                      : jvmtiError = 21;
229pub const JVMTI_ERROR_CLASS_NOT_PREPARED                                 : jvmtiError = 22;
230pub const JVMTI_ERROR_INVALID_METHODID                                   : jvmtiError = 23;
231pub const JVMTI_ERROR_INVALID_LOCATION                                   : jvmtiError = 24;
232pub const JVMTI_ERROR_INVALID_FIELDID                                    : jvmtiError = 25;
233pub const JVMTI_ERROR_NO_MORE_FRAMES                                     : jvmtiError = 31;
234pub const JVMTI_ERROR_OPAQUE_FRAME                                       : jvmtiError = 32;
235pub const JVMTI_ERROR_TYPE_MISMATCH                                      : jvmtiError = 34;
236pub const JVMTI_ERROR_INVALID_SLOT                                       : jvmtiError = 35;
237pub const JVMTI_ERROR_DUPLICATE                                          : jvmtiError = 40;
238pub const JVMTI_ERROR_NOT_FOUND                                          : jvmtiError = 41;
239pub const JVMTI_ERROR_INVALID_MONITOR                                    : jvmtiError = 50;
240pub const JVMTI_ERROR_NOT_MONITOR_OWNER                                  : jvmtiError = 51;
241pub const JVMTI_ERROR_INTERRUPT                                          : jvmtiError = 52;
242pub const JVMTI_ERROR_INVALID_CLASS_FORMAT                               : jvmtiError = 60;
243pub const JVMTI_ERROR_CIRCULAR_CLASS_DEFINITION                          : jvmtiError = 61;
244pub const JVMTI_ERROR_FAILS_VERIFICATION                                 : jvmtiError = 62;
245pub const JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED              : jvmtiError = 63;
246pub const JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED            : jvmtiError = 64;
247pub const JVMTI_ERROR_INVALID_TYPESTATE                                  : jvmtiError = 65;
248pub const JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED         : jvmtiError = 66;
249pub const JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED            : jvmtiError = 67;
250pub const JVMTI_ERROR_UNSUPPORTED_VERSION                                : jvmtiError = 68;
251pub const JVMTI_ERROR_NAMES_DONT_MATCH                                   : jvmtiError = 69;
252pub const JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED   : jvmtiError = 70;
253pub const JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED  : jvmtiError = 71;
254pub const JVMTI_ERROR_UNMODIFIABLE_CLASS                                 : jvmtiError = 79;
255pub const JVMTI_ERROR_NOT_AVAILABLE                                      : jvmtiError = 98;
256pub const JVMTI_ERROR_MUST_POSSESS_CAPABILITY                            : jvmtiError = 99;
257pub const JVMTI_ERROR_NULL_POINTER                                       : jvmtiError = 100;
258pub const JVMTI_ERROR_ABSENT_INFORMATION                                 : jvmtiError = 101;
259pub const JVMTI_ERROR_INVALID_EVENT_TYPE                                 : jvmtiError = 102;
260pub const JVMTI_ERROR_ILLEGAL_ARGUMENT                                   : jvmtiError = 103;
261pub const JVMTI_ERROR_NATIVE_METHOD                                      : jvmtiError = 104;
262pub const JVMTI_ERROR_CLASS_LOADER_UNSUPPORTED                           : jvmtiError = 106;
263pub const JVMTI_ERROR_OUT_OF_MEMORY                                      : jvmtiError = 110;
264pub const JVMTI_ERROR_ACCESS_DENIED                                      : jvmtiError = 111;
265pub const JVMTI_ERROR_WRONG_PHASE                                        : jvmtiError = 112;
266pub const JVMTI_ERROR_INTERNAL                                           : jvmtiError = 113;
267pub const JVMTI_ERROR_UNATTACHED_THREAD                                  : jvmtiError = 115;
268pub const JVMTI_ERROR_INVALID_ENVIRONMENT                                : jvmtiError = 116;
269pub const JVMTI_ERROR_MAX                                                : jvmtiError = 116;
270
271pub type jvmtiEvent = u32;
272/* Event IDs */
273pub const JVMTI_MIN_EVENT_TYPE_VAL                                       : jvmtiEvent = 50;
274pub const JVMTI_EVENT_VM_INIT                                            : jvmtiEvent = 50;
275pub const JVMTI_EVENT_VM_DEATH                                           : jvmtiEvent = 51;
276pub const JVMTI_EVENT_THREAD_START                                       : jvmtiEvent = 52;
277pub const JVMTI_EVENT_THREAD_END                                         : jvmtiEvent = 53;
278pub const JVMTI_EVENT_CLASS_FILE_LOAD_HOOK                               : jvmtiEvent = 54;
279pub const JVMTI_EVENT_CLASS_LOAD                                         : jvmtiEvent = 55;
280pub const JVMTI_EVENT_CLASS_PREPARE                                      : jvmtiEvent = 56;
281pub const JVMTI_EVENT_VM_START                                           : jvmtiEvent = 57;
282pub const JVMTI_EVENT_EXCEPTION                                          : jvmtiEvent = 58;
283pub const JVMTI_EVENT_EXCEPTION_CATCH                                    : jvmtiEvent = 59;
284pub const JVMTI_EVENT_SINGLE_STEP                                        : jvmtiEvent = 60;
285pub const JVMTI_EVENT_FRAME_POP                                          : jvmtiEvent = 61;
286pub const JVMTI_EVENT_BREAKPOINT                                         : jvmtiEvent = 62;
287pub const JVMTI_EVENT_FIELD_ACCESS                                       : jvmtiEvent = 63;
288pub const JVMTI_EVENT_FIELD_MODIFICATION                                 : jvmtiEvent = 64;
289pub const JVMTI_EVENT_METHOD_ENTRY                                       : jvmtiEvent = 65;
290pub const JVMTI_EVENT_METHOD_EXIT                                        : jvmtiEvent = 66;
291pub const JVMTI_EVENT_NATIVE_METHOD_BIND                                 : jvmtiEvent = 67;
292pub const JVMTI_EVENT_COMPILED_METHOD_LOAD                               : jvmtiEvent = 68;
293pub const JVMTI_EVENT_COMPILED_METHOD_UNLOAD                             : jvmtiEvent = 69;
294pub const JVMTI_EVENT_DYNAMIC_CODE_GENERATED                             : jvmtiEvent = 70;
295pub const JVMTI_EVENT_DATA_DUMP_REQUEST                                  : jvmtiEvent = 71;
296pub const JVMTI_EVENT_MONITOR_WAIT                                       : jvmtiEvent = 73;
297pub const JVMTI_EVENT_MONITOR_WAITED                                     : jvmtiEvent = 74;
298pub const JVMTI_EVENT_MONITOR_CONTENDED_ENTER                            : jvmtiEvent = 75;
299pub const JVMTI_EVENT_MONITOR_CONTENDED_ENTERED                          : jvmtiEvent = 76;
300pub const JVMTI_EVENT_RESOURCE_EXHAUSTED                                 : jvmtiEvent = 80;
301pub const JVMTI_EVENT_GARBAGE_COLLECTION_START                           : jvmtiEvent = 81;
302pub const JVMTI_EVENT_GARBAGE_COLLECTION_FINISH                          : jvmtiEvent = 82;
303pub const JVMTI_EVENT_OBJECT_FREE                                        : jvmtiEvent = 83;
304pub const JVMTI_EVENT_VM_OBJECT_ALLOC                                    : jvmtiEvent = 84;
305pub const JVMTI_MAX_EVENT_TYPE_VAL                                       : jvmtiEvent = 84;
306
307// @formatter:on