230 nonstatic_field(ConstantPoolCache, _resolved_indy_entries, Array<ResolvedIndyEntry>*) \
231 nonstatic_field(ResolvedIndyEntry, _cpool_index, u2) \
232 volatile_nonstatic_field(InstanceKlass, _array_klasses, ObjArrayKlass*) \
233 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \
234 nonstatic_field(InstanceKlass, _default_methods, Array<Method*>*) \
235 nonstatic_field(InstanceKlass, _local_interfaces, Array<InstanceKlass*>*) \
236 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<InstanceKlass*>*) \
237 nonstatic_field(InstanceKlass, _fieldinfo_stream, Array<u1>*) \
238 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \
239 nonstatic_field(InstanceKlass, _source_debug_extension, const char*) \
240 nonstatic_field(InstanceKlass, _inner_classes, Array<jushort>*) \
241 nonstatic_field(InstanceKlass, _nest_members, Array<jushort>*) \
242 nonstatic_field(InstanceKlass, _nonstatic_field_size, int) \
243 nonstatic_field(InstanceKlass, _static_field_size, int) \
244 nonstatic_field(InstanceKlass, _static_oop_field_count, u2) \
245 nonstatic_field(InstanceKlass, _nonstatic_oop_map_size, int) \
246 volatile_nonstatic_field(InstanceKlass, _init_state, InstanceKlass::ClassState) \
247 volatile_nonstatic_field(InstanceKlass, _init_thread, JavaThread*) \
248 nonstatic_field(InstanceKlass, _itable_len, int) \
249 nonstatic_field(InstanceKlass, _nest_host_index, u2) \
250 nonstatic_field(InstanceKlass, _reference_type, u1) \
251 volatile_nonstatic_field(InstanceKlass, _oop_map_cache, OopMapCache*) \
252 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \
253 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \
254 JVMTI_ONLY(nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*)) \
255 volatile_nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \
256 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \
257 nonstatic_field(InstanceKlass, _annotations, Annotations*) \
258 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \
259 nonstatic_field(InstanceKlass, _default_vtable_indices, Array<int>*) \
260 nonstatic_field(Klass, _super_check_offset, juint) \
261 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
262 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
263 nonstatic_field(Klass, _primary_supers[0], Klass*) \
264 nonstatic_field(Klass, _java_mirror, OopHandle) \
265 nonstatic_field(Klass, _modifier_flags, u2) \
266 nonstatic_field(Klass, _super, Klass*) \
267 volatile_nonstatic_field(Klass, _subklass, Klass*) \
268 nonstatic_field(Klass, _layout_helper, jint) \
269 nonstatic_field(Klass, _name, Symbol*) \
2493 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \
2494 \
2495 /****************/ \
2496 /* GC constants */ \
2497 /****************/ \
2498 \
2499 VM_LONG_CONSTANTS_GC(declare_constant) \
2500 \
2501 /*********************/ \
2502 /* markWord constants */ \
2503 /*********************/ \
2504 \
2505 /* Note: some of these are declared as long constants just for */ \
2506 /* consistency. The mask constants are the only ones requiring */ \
2507 /* 64 bits (on 64-bit platforms). */ \
2508 \
2509 declare_constant(markWord::age_bits) \
2510 declare_constant(markWord::lock_bits) \
2511 declare_constant(markWord::max_hash_bits) \
2512 declare_constant(markWord::hash_bits) \
2513 \
2514 declare_constant(markWord::lock_shift) \
2515 declare_constant(markWord::age_shift) \
2516 declare_constant(markWord::hash_shift) \
2517 LP64_ONLY(declare_constant(markWord::klass_shift)) \
2518 \
2519 declare_constant(markWord::lock_mask) \
2520 declare_constant(markWord::lock_mask_in_place) \
2521 declare_constant(markWord::age_mask) \
2522 declare_constant(markWord::age_mask_in_place) \
2523 declare_constant(markWord::hash_mask) \
2524 declare_constant(markWord::hash_mask_in_place) \
2525 \
2526 declare_constant(markWord::locked_value) \
2527 declare_constant(markWord::unlocked_value) \
2528 declare_constant(markWord::monitor_value) \
2529 declare_constant(markWord::marked_value) \
2530 \
2531 declare_constant(markWord::no_hash) \
2532 declare_constant(markWord::no_hash_in_place) \
2533 declare_constant(markWord::no_lock_in_place) \
2534 declare_constant(markWord::max_age) \
2535 \
2536 /* InvocationCounter constants */ \
2537 declare_constant(InvocationCounter::count_increment) \
2538 declare_constant(InvocationCounter::count_shift) \
2539 \
2540 /* ObjectMonitor constants */ \
2541 declare_constant(ObjectMonitor::NO_OWNER) \
2542 declare_constant(ObjectMonitor::ANONYMOUS_OWNER) \
2543 declare_constant(ObjectMonitor::DEFLATER_MARKER) \
2544
|
230 nonstatic_field(ConstantPoolCache, _resolved_indy_entries, Array<ResolvedIndyEntry>*) \
231 nonstatic_field(ResolvedIndyEntry, _cpool_index, u2) \
232 volatile_nonstatic_field(InstanceKlass, _array_klasses, ObjArrayKlass*) \
233 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \
234 nonstatic_field(InstanceKlass, _default_methods, Array<Method*>*) \
235 nonstatic_field(InstanceKlass, _local_interfaces, Array<InstanceKlass*>*) \
236 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<InstanceKlass*>*) \
237 nonstatic_field(InstanceKlass, _fieldinfo_stream, Array<u1>*) \
238 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \
239 nonstatic_field(InstanceKlass, _source_debug_extension, const char*) \
240 nonstatic_field(InstanceKlass, _inner_classes, Array<jushort>*) \
241 nonstatic_field(InstanceKlass, _nest_members, Array<jushort>*) \
242 nonstatic_field(InstanceKlass, _nonstatic_field_size, int) \
243 nonstatic_field(InstanceKlass, _static_field_size, int) \
244 nonstatic_field(InstanceKlass, _static_oop_field_count, u2) \
245 nonstatic_field(InstanceKlass, _nonstatic_oop_map_size, int) \
246 volatile_nonstatic_field(InstanceKlass, _init_state, InstanceKlass::ClassState) \
247 volatile_nonstatic_field(InstanceKlass, _init_thread, JavaThread*) \
248 nonstatic_field(InstanceKlass, _itable_len, int) \
249 nonstatic_field(InstanceKlass, _nest_host_index, u2) \
250 nonstatic_field(InstanceKlass, _hash_offset, int) \
251 nonstatic_field(InstanceKlass, _reference_type, u1) \
252 volatile_nonstatic_field(InstanceKlass, _oop_map_cache, OopMapCache*) \
253 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \
254 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \
255 JVMTI_ONLY(nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*)) \
256 volatile_nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \
257 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \
258 nonstatic_field(InstanceKlass, _annotations, Annotations*) \
259 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \
260 nonstatic_field(InstanceKlass, _default_vtable_indices, Array<int>*) \
261 nonstatic_field(Klass, _super_check_offset, juint) \
262 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
263 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
264 nonstatic_field(Klass, _primary_supers[0], Klass*) \
265 nonstatic_field(Klass, _java_mirror, OopHandle) \
266 nonstatic_field(Klass, _modifier_flags, u2) \
267 nonstatic_field(Klass, _super, Klass*) \
268 volatile_nonstatic_field(Klass, _subklass, Klass*) \
269 nonstatic_field(Klass, _layout_helper, jint) \
270 nonstatic_field(Klass, _name, Symbol*) \
2494 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \
2495 \
2496 /****************/ \
2497 /* GC constants */ \
2498 /****************/ \
2499 \
2500 VM_LONG_CONSTANTS_GC(declare_constant) \
2501 \
2502 /*********************/ \
2503 /* markWord constants */ \
2504 /*********************/ \
2505 \
2506 /* Note: some of these are declared as long constants just for */ \
2507 /* consistency. The mask constants are the only ones requiring */ \
2508 /* 64 bits (on 64-bit platforms). */ \
2509 \
2510 declare_constant(markWord::age_bits) \
2511 declare_constant(markWord::lock_bits) \
2512 declare_constant(markWord::max_hash_bits) \
2513 declare_constant(markWord::hash_bits) \
2514 declare_constant(markWord::hashctrl_bits) \
2515 \
2516 declare_constant(markWord::lock_shift) \
2517 declare_constant(markWord::age_shift) \
2518 declare_constant(markWord::hash_shift) \
2519 declare_constant(markWord::hashctrl_shift) \
2520 LP64_ONLY(declare_constant(markWord::klass_shift)) \
2521 \
2522 declare_constant(markWord::lock_mask) \
2523 declare_constant(markWord::lock_mask_in_place) \
2524 declare_constant(markWord::age_mask) \
2525 declare_constant(markWord::age_mask_in_place) \
2526 declare_constant(markWord::hash_mask) \
2527 declare_constant(markWord::hash_mask_in_place) \
2528 declare_constant(markWord::hashctrl_mask) \
2529 declare_constant(markWord::hashctrl_mask_in_place) \
2530 declare_constant(markWord::hashctrl_hashed_mask_in_place) \
2531 declare_constant(markWord::hashctrl_expanded_mask_in_place) \
2532 \
2533 declare_constant(markWord::locked_value) \
2534 declare_constant(markWord::unlocked_value) \
2535 declare_constant(markWord::monitor_value) \
2536 declare_constant(markWord::marked_value) \
2537 \
2538 declare_constant(markWord::no_hash) \
2539 declare_constant(markWord::no_hash_in_place) \
2540 declare_constant(markWord::no_lock_in_place) \
2541 declare_constant(markWord::max_age) \
2542 \
2543 /* InvocationCounter constants */ \
2544 declare_constant(InvocationCounter::count_increment) \
2545 declare_constant(InvocationCounter::count_shift) \
2546 \
2547 /* ObjectMonitor constants */ \
2548 declare_constant(ObjectMonitor::NO_OWNER) \
2549 declare_constant(ObjectMonitor::ANONYMOUS_OWNER) \
2550 declare_constant(ObjectMonitor::DEFLATER_MARKER) \
2551
|