229 nonstatic_field(MethodData, _data[0], intptr_t) \
230 nonstatic_field(MethodData, _parameters_type_data_di, int) \
231 nonstatic_field(MethodData, _nof_decompiles, uint) \
232 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \
233 nonstatic_field(MethodData, _nof_overflow_traps, uint) \
234 nonstatic_field(MethodData, _trap_hist._array[0], u1) \
235 nonstatic_field(MethodData, _eflags, intx) \
236 nonstatic_field(MethodData, _arg_local, intx) \
237 nonstatic_field(MethodData, _arg_stack, intx) \
238 nonstatic_field(MethodData, _arg_returned, intx) \
239 nonstatic_field(MethodData, _tenure_traps, uint) \
240 nonstatic_field(MethodData, _invoke_mask, int) \
241 nonstatic_field(MethodData, _backedge_mask, int) \
242 nonstatic_field(MethodData, _jvmci_ir_size, int) \
243 \
244 nonstatic_field(nmethod, _verified_entry_point, address) \
245 nonstatic_field(nmethod, _comp_level, int) \
246 \
247 nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \
248 \
249 volatile_nonstatic_field(oopDesc, _mark, markOop) \
250 volatile_nonstatic_field(oopDesc, _metadata._klass, Klass*) \
251 \
252 static_field(os, _polling_page, address) \
253 \
254 volatile_nonstatic_field(OSThread, _interrupted, jint) \
255 \
256 static_field(StubRoutines, _verify_oop_count, jint) \
257 \
258 static_field(StubRoutines, _throw_delayed_StackOverflowError_entry, address) \
259 \
260 static_field(StubRoutines, _jbyte_arraycopy, address) \
261 static_field(StubRoutines, _jshort_arraycopy, address) \
262 static_field(StubRoutines, _jint_arraycopy, address) \
263 static_field(StubRoutines, _jlong_arraycopy, address) \
264 static_field(StubRoutines, _oop_arraycopy, address) \
265 static_field(StubRoutines, _oop_arraycopy_uninit, address) \
266 static_field(StubRoutines, _jbyte_disjoint_arraycopy, address) \
267 static_field(StubRoutines, _jshort_disjoint_arraycopy, address) \
268 static_field(StubRoutines, _jint_disjoint_arraycopy, address) \
330 static_field(vmSymbols, _symbols[0], Symbol*) \
331 \
332 nonstatic_field(vtableEntry, _method, Method*) \
333
334 #define VM_TYPES(declare_type, declare_toplevel_type, declare_integer_type, declare_unsigned_integer_type) \
335 declare_integer_type(bool) \
336 declare_unsigned_integer_type(size_t) \
337 declare_integer_type(intx) \
338 declare_unsigned_integer_type(uintx) \
339 \
340 declare_toplevel_type(BasicLock) \
341 declare_toplevel_type(CompilerToVM) \
342 declare_toplevel_type(ExceptionTableElement) \
343 declare_toplevel_type(JVMFlag) \
344 declare_toplevel_type(JVMFlag*) \
345 declare_toplevel_type(InvocationCounter) \
346 declare_toplevel_type(JVMCICompileState) \
347 declare_toplevel_type(JVMCIEnv) \
348 declare_toplevel_type(LocalVariableTableElement) \
349 declare_toplevel_type(narrowKlass) \
350 declare_toplevel_type(Symbol*) \
351 declare_toplevel_type(vtableEntry) \
352 \
353 declare_toplevel_type(oopDesc) \
354 declare_type(arrayOopDesc, oopDesc) \
355 \
356 declare_toplevel_type(MetaspaceObj) \
357 declare_type(Metadata, MetaspaceObj) \
358 declare_type(Klass, Metadata) \
359 declare_type(InstanceKlass, Klass) \
360 declare_type(ConstantPool, Metadata) \
361
362 #define VM_INT_CONSTANTS(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \
363 declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \
364 declare_preprocessor_constant("FIELDINFO_TAG_SIZE", FIELDINFO_TAG_SIZE) \
365 declare_preprocessor_constant("STACK_BIAS", STACK_BIAS) \
366 \
367 declare_constant(CompLevel_none) \
368 declare_constant(CompLevel_simple) \
369 declare_constant(CompLevel_limited_profile) \
|
229 nonstatic_field(MethodData, _data[0], intptr_t) \
230 nonstatic_field(MethodData, _parameters_type_data_di, int) \
231 nonstatic_field(MethodData, _nof_decompiles, uint) \
232 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \
233 nonstatic_field(MethodData, _nof_overflow_traps, uint) \
234 nonstatic_field(MethodData, _trap_hist._array[0], u1) \
235 nonstatic_field(MethodData, _eflags, intx) \
236 nonstatic_field(MethodData, _arg_local, intx) \
237 nonstatic_field(MethodData, _arg_stack, intx) \
238 nonstatic_field(MethodData, _arg_returned, intx) \
239 nonstatic_field(MethodData, _tenure_traps, uint) \
240 nonstatic_field(MethodData, _invoke_mask, int) \
241 nonstatic_field(MethodData, _backedge_mask, int) \
242 nonstatic_field(MethodData, _jvmci_ir_size, int) \
243 \
244 nonstatic_field(nmethod, _verified_entry_point, address) \
245 nonstatic_field(nmethod, _comp_level, int) \
246 \
247 nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \
248 \
249 volatile_nonstatic_field(ObjectMonitor, _cxq, ObjectWaiter*) \
250 volatile_nonstatic_field(ObjectMonitor, _EntryList, ObjectWaiter*) \
251 volatile_nonstatic_field(ObjectMonitor, _succ, Thread*) \
252 \
253 volatile_nonstatic_field(oopDesc, _mark, markOop) \
254 volatile_nonstatic_field(oopDesc, _metadata._klass, Klass*) \
255 \
256 static_field(os, _polling_page, address) \
257 \
258 volatile_nonstatic_field(OSThread, _interrupted, jint) \
259 \
260 static_field(StubRoutines, _verify_oop_count, jint) \
261 \
262 static_field(StubRoutines, _throw_delayed_StackOverflowError_entry, address) \
263 \
264 static_field(StubRoutines, _jbyte_arraycopy, address) \
265 static_field(StubRoutines, _jshort_arraycopy, address) \
266 static_field(StubRoutines, _jint_arraycopy, address) \
267 static_field(StubRoutines, _jlong_arraycopy, address) \
268 static_field(StubRoutines, _oop_arraycopy, address) \
269 static_field(StubRoutines, _oop_arraycopy_uninit, address) \
270 static_field(StubRoutines, _jbyte_disjoint_arraycopy, address) \
271 static_field(StubRoutines, _jshort_disjoint_arraycopy, address) \
272 static_field(StubRoutines, _jint_disjoint_arraycopy, address) \
334 static_field(vmSymbols, _symbols[0], Symbol*) \
335 \
336 nonstatic_field(vtableEntry, _method, Method*) \
337
338 #define VM_TYPES(declare_type, declare_toplevel_type, declare_integer_type, declare_unsigned_integer_type) \
339 declare_integer_type(bool) \
340 declare_unsigned_integer_type(size_t) \
341 declare_integer_type(intx) \
342 declare_unsigned_integer_type(uintx) \
343 \
344 declare_toplevel_type(BasicLock) \
345 declare_toplevel_type(CompilerToVM) \
346 declare_toplevel_type(ExceptionTableElement) \
347 declare_toplevel_type(JVMFlag) \
348 declare_toplevel_type(JVMFlag*) \
349 declare_toplevel_type(InvocationCounter) \
350 declare_toplevel_type(JVMCICompileState) \
351 declare_toplevel_type(JVMCIEnv) \
352 declare_toplevel_type(LocalVariableTableElement) \
353 declare_toplevel_type(narrowKlass) \
354 declare_toplevel_type(ObjectWaiter) \
355 declare_toplevel_type(Symbol*) \
356 declare_toplevel_type(vtableEntry) \
357 \
358 declare_toplevel_type(oopDesc) \
359 declare_type(arrayOopDesc, oopDesc) \
360 \
361 declare_toplevel_type(MetaspaceObj) \
362 declare_type(Metadata, MetaspaceObj) \
363 declare_type(Klass, Metadata) \
364 declare_type(InstanceKlass, Klass) \
365 declare_type(ConstantPool, Metadata) \
366
367 #define VM_INT_CONSTANTS(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \
368 declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \
369 declare_preprocessor_constant("FIELDINFO_TAG_SIZE", FIELDINFO_TAG_SIZE) \
370 declare_preprocessor_constant("STACK_BIAS", STACK_BIAS) \
371 \
372 declare_constant(CompLevel_none) \
373 declare_constant(CompLevel_simple) \
374 declare_constant(CompLevel_limited_profile) \
|