192 nonstatic_field(ConstantPoolCache, _resolved_indy_entries, Array<ResolvedIndyEntry>*) \
193 nonstatic_field(ResolvedIndyEntry, _cpool_index, u2) \
194 volatile_nonstatic_field(InstanceKlass, _array_klasses, ObjArrayKlass*) \
195 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \
196 nonstatic_field(InstanceKlass, _default_methods, Array<Method*>*) \
197 nonstatic_field(InstanceKlass, _local_interfaces, Array<InstanceKlass*>*) \
198 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<InstanceKlass*>*) \
199 nonstatic_field(InstanceKlass, _fieldinfo_stream, Array<u1>*) \
200 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \
201 nonstatic_field(InstanceKlass, _source_debug_extension, const char*) \
202 nonstatic_field(InstanceKlass, _inner_classes, Array<jushort>*) \
203 nonstatic_field(InstanceKlass, _nest_members, Array<jushort>*) \
204 nonstatic_field(InstanceKlass, _nonstatic_field_size, int) \
205 nonstatic_field(InstanceKlass, _static_field_size, int) \
206 nonstatic_field(InstanceKlass, _static_oop_field_count, u2) \
207 nonstatic_field(InstanceKlass, _nonstatic_oop_map_size, int) \
208 volatile_nonstatic_field(InstanceKlass, _init_state, InstanceKlass::ClassState) \
209 volatile_nonstatic_field(InstanceKlass, _init_thread, JavaThread*) \
210 nonstatic_field(InstanceKlass, _itable_len, int) \
211 nonstatic_field(InstanceKlass, _nest_host_index, u2) \
212 nonstatic_field(InstanceKlass, _reference_type, u1) \
213 volatile_nonstatic_field(InstanceKlass, _oop_map_cache, OopMapCache*) \
214 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \
215 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \
216 JVMTI_ONLY(nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*)) \
217 volatile_nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \
218 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \
219 nonstatic_field(InstanceKlass, _annotations, Annotations*) \
220 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \
221 nonstatic_field(InstanceKlass, _default_vtable_indices, Array<int>*) \
222 nonstatic_field(Klass, _super_check_offset, juint) \
223 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
224 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
225 nonstatic_field(Klass, _primary_supers[0], Klass*) \
226 nonstatic_field(Klass, _java_mirror, OopHandle) \
227 nonstatic_field(Klass, _super, Klass*) \
228 volatile_nonstatic_field(Klass, _subklass, Klass*) \
229 nonstatic_field(Klass, _layout_helper, jint) \
230 nonstatic_field(Klass, _name, Symbol*) \
231 nonstatic_field(Klass, _access_flags, AccessFlags) \
1802 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \
1803 \
1804 /****************/ \
1805 /* GC constants */ \
1806 /****************/ \
1807 \
1808 VM_LONG_CONSTANTS_GC(declare_constant) \
1809 \
1810 /*********************/ \
1811 /* markWord constants */ \
1812 /*********************/ \
1813 \
1814 /* Note: some of these are declared as long constants just for */ \
1815 /* consistency. The mask constants are the only ones requiring */ \
1816 /* 64 bits (on 64-bit platforms). */ \
1817 \
1818 declare_constant(markWord::age_bits) \
1819 declare_constant(markWord::lock_bits) \
1820 declare_constant(markWord::max_hash_bits) \
1821 declare_constant(markWord::hash_bits) \
1822 \
1823 declare_constant(markWord::lock_shift) \
1824 declare_constant(markWord::age_shift) \
1825 declare_constant(markWord::hash_shift) \
1826 LP64_ONLY(declare_constant(markWord::klass_shift)) \
1827 \
1828 declare_constant(markWord::lock_mask) \
1829 declare_constant(markWord::lock_mask_in_place) \
1830 declare_constant(markWord::age_mask) \
1831 declare_constant(markWord::age_mask_in_place) \
1832 declare_constant(markWord::hash_mask) \
1833 declare_constant(markWord::hash_mask_in_place) \
1834 \
1835 declare_constant(markWord::locked_value) \
1836 declare_constant(markWord::unlocked_value) \
1837 declare_constant(markWord::monitor_value) \
1838 declare_constant(markWord::marked_value) \
1839 \
1840 declare_constant(markWord::no_hash) \
1841 declare_constant(markWord::no_hash_in_place) \
1842 declare_constant(markWord::no_lock_in_place) \
1843 declare_constant(markWord::max_age) \
1844 \
1845 /* InvocationCounter constants */ \
1846 declare_constant(InvocationCounter::count_increment) \
1847 declare_constant(InvocationCounter::count_shift) \
1848 \
1849 /* ObjectMonitor constants */ \
1850 declare_constant(ObjectMonitor::NO_OWNER) \
1851 declare_constant(ObjectMonitor::ANONYMOUS_OWNER) \
1852 declare_constant(ObjectMonitor::DEFLATER_MARKER) \
1853
|
192 nonstatic_field(ConstantPoolCache, _resolved_indy_entries, Array<ResolvedIndyEntry>*) \
193 nonstatic_field(ResolvedIndyEntry, _cpool_index, u2) \
194 volatile_nonstatic_field(InstanceKlass, _array_klasses, ObjArrayKlass*) \
195 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \
196 nonstatic_field(InstanceKlass, _default_methods, Array<Method*>*) \
197 nonstatic_field(InstanceKlass, _local_interfaces, Array<InstanceKlass*>*) \
198 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<InstanceKlass*>*) \
199 nonstatic_field(InstanceKlass, _fieldinfo_stream, Array<u1>*) \
200 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \
201 nonstatic_field(InstanceKlass, _source_debug_extension, const char*) \
202 nonstatic_field(InstanceKlass, _inner_classes, Array<jushort>*) \
203 nonstatic_field(InstanceKlass, _nest_members, Array<jushort>*) \
204 nonstatic_field(InstanceKlass, _nonstatic_field_size, int) \
205 nonstatic_field(InstanceKlass, _static_field_size, int) \
206 nonstatic_field(InstanceKlass, _static_oop_field_count, u2) \
207 nonstatic_field(InstanceKlass, _nonstatic_oop_map_size, int) \
208 volatile_nonstatic_field(InstanceKlass, _init_state, InstanceKlass::ClassState) \
209 volatile_nonstatic_field(InstanceKlass, _init_thread, JavaThread*) \
210 nonstatic_field(InstanceKlass, _itable_len, int) \
211 nonstatic_field(InstanceKlass, _nest_host_index, u2) \
212 nonstatic_field(InstanceKlass, _hash_offset, int) \
213 nonstatic_field(InstanceKlass, _reference_type, u1) \
214 volatile_nonstatic_field(InstanceKlass, _oop_map_cache, OopMapCache*) \
215 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \
216 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \
217 JVMTI_ONLY(nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*)) \
218 volatile_nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \
219 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \
220 nonstatic_field(InstanceKlass, _annotations, Annotations*) \
221 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \
222 nonstatic_field(InstanceKlass, _default_vtable_indices, Array<int>*) \
223 nonstatic_field(Klass, _super_check_offset, juint) \
224 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
225 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
226 nonstatic_field(Klass, _primary_supers[0], Klass*) \
227 nonstatic_field(Klass, _java_mirror, OopHandle) \
228 nonstatic_field(Klass, _super, Klass*) \
229 volatile_nonstatic_field(Klass, _subklass, Klass*) \
230 nonstatic_field(Klass, _layout_helper, jint) \
231 nonstatic_field(Klass, _name, Symbol*) \
232 nonstatic_field(Klass, _access_flags, AccessFlags) \
1803 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \
1804 \
1805 /****************/ \
1806 /* GC constants */ \
1807 /****************/ \
1808 \
1809 VM_LONG_CONSTANTS_GC(declare_constant) \
1810 \
1811 /*********************/ \
1812 /* markWord constants */ \
1813 /*********************/ \
1814 \
1815 /* Note: some of these are declared as long constants just for */ \
1816 /* consistency. The mask constants are the only ones requiring */ \
1817 /* 64 bits (on 64-bit platforms). */ \
1818 \
1819 declare_constant(markWord::age_bits) \
1820 declare_constant(markWord::lock_bits) \
1821 declare_constant(markWord::max_hash_bits) \
1822 declare_constant(markWord::hash_bits) \
1823 declare_constant(markWord::hashctrl_bits) \
1824 \
1825 declare_constant(markWord::lock_shift) \
1826 declare_constant(markWord::age_shift) \
1827 declare_constant(markWord::hash_shift) \
1828 declare_constant(markWord::hashctrl_shift) \
1829 LP64_ONLY(declare_constant(markWord::klass_shift)) \
1830 \
1831 declare_constant(markWord::lock_mask) \
1832 declare_constant(markWord::lock_mask_in_place) \
1833 declare_constant(markWord::age_mask) \
1834 declare_constant(markWord::age_mask_in_place) \
1835 declare_constant(markWord::hash_mask) \
1836 declare_constant(markWord::hash_mask_in_place) \
1837 declare_constant(markWord::hashctrl_mask) \
1838 declare_constant(markWord::hashctrl_mask_in_place) \
1839 declare_constant(markWord::hashctrl_hashed_mask_in_place) \
1840 declare_constant(markWord::hashctrl_expanded_mask_in_place) \
1841 \
1842 declare_constant(markWord::locked_value) \
1843 declare_constant(markWord::unlocked_value) \
1844 declare_constant(markWord::monitor_value) \
1845 declare_constant(markWord::marked_value) \
1846 \
1847 declare_constant(markWord::no_hash) \
1848 declare_constant(markWord::no_hash_in_place) \
1849 declare_constant(markWord::no_lock_in_place) \
1850 declare_constant(markWord::max_age) \
1851 \
1852 /* InvocationCounter constants */ \
1853 declare_constant(InvocationCounter::count_increment) \
1854 declare_constant(InvocationCounter::count_shift) \
1855 \
1856 /* ObjectMonitor constants */ \
1857 declare_constant(ObjectMonitor::NO_OWNER) \
1858 declare_constant(ObjectMonitor::ANONYMOUS_OWNER) \
1859 declare_constant(ObjectMonitor::DEFLATER_MARKER) \
1860
|