< prev index next >

src/hotspot/share/runtime/vmStructs.cpp

Print this page

 190   nonstatic_field(ConstantPoolCache,           _resolved_indy_entries,                        Array<ResolvedIndyEntry>*)             \
 191   nonstatic_field(ResolvedIndyEntry,           _cpool_index,                                  u2)                                    \
 192   volatile_nonstatic_field(InstanceKlass,      _array_klasses,                                ObjArrayKlass*)                        \
 193   nonstatic_field(InstanceKlass,               _methods,                                      Array<Method*>*)                       \
 194   nonstatic_field(InstanceKlass,               _default_methods,                              Array<Method*>*)                       \
 195   nonstatic_field(InstanceKlass,               _local_interfaces,                             Array<InstanceKlass*>*)                \
 196   nonstatic_field(InstanceKlass,               _transitive_interfaces,                        Array<InstanceKlass*>*)                \
 197   nonstatic_field(InstanceKlass,               _fieldinfo_stream,                             Array<u1>*)                            \
 198   nonstatic_field(InstanceKlass,               _constants,                                    ConstantPool*)                         \
 199   nonstatic_field(InstanceKlass,               _source_debug_extension,                       const char*)                           \
 200   nonstatic_field(InstanceKlass,               _inner_classes,                                Array<jushort>*)                       \
 201   nonstatic_field(InstanceKlass,               _nest_members,                                 Array<jushort>*)                       \
 202   nonstatic_field(InstanceKlass,               _nonstatic_field_size,                         int)                                   \
 203   nonstatic_field(InstanceKlass,               _static_field_size,                            int)                                   \
 204   nonstatic_field(InstanceKlass,               _static_oop_field_count,                       u2)                                    \
 205   nonstatic_field(InstanceKlass,               _nonstatic_oop_map_size,                       int)                                   \
 206   volatile_nonstatic_field(InstanceKlass,      _init_state,                                   InstanceKlass::ClassState)             \
 207   volatile_nonstatic_field(InstanceKlass,      _init_thread,                                  JavaThread*)                           \
 208   nonstatic_field(InstanceKlass,               _itable_len,                                   int)                                   \
 209   nonstatic_field(InstanceKlass,               _nest_host_index,                              u2)                                    \

 210   nonstatic_field(InstanceKlass,               _reference_type,                               u1)                                    \
 211   volatile_nonstatic_field(InstanceKlass,      _oop_map_cache,                                OopMapCache*)                          \
 212   nonstatic_field(InstanceKlass,               _jni_ids,                                      JNIid*)                                \
 213   nonstatic_field(InstanceKlass,               _osr_nmethods_head,                            nmethod*)                              \
 214   JVMTI_ONLY(nonstatic_field(InstanceKlass,    _breakpoints,                                  BreakpointInfo*))                      \
 215   volatile_nonstatic_field(InstanceKlass,      _methods_jmethod_ids,                          jmethodID*)                            \
 216   volatile_nonstatic_field(InstanceKlass,      _idnum_allocated_count,                        u2)                                    \
 217   nonstatic_field(InstanceKlass,               _annotations,                                  Annotations*)                          \
 218   nonstatic_field(InstanceKlass,               _method_ordering,                              Array<int>*)                           \
 219   nonstatic_field(InstanceKlass,               _default_vtable_indices,                       Array<int>*)                           \
 220   nonstatic_field(Klass,                       _super_check_offset,                           juint)                                 \
 221   nonstatic_field(Klass,                       _secondary_super_cache,                        Klass*)                                \
 222   nonstatic_field(Klass,                       _secondary_supers,                             Array<Klass*>*)                        \
 223   nonstatic_field(Klass,                       _primary_supers[0],                            Klass*)                                \
 224   nonstatic_field(Klass,                       _java_mirror,                                  OopHandle)                             \
 225   nonstatic_field(Klass,                       _super,                                        Klass*)                                \
 226   volatile_nonstatic_field(Klass,              _subklass,                                     Klass*)                                \
 227   nonstatic_field(Klass,                       _layout_helper,                                jint)                                  \
 228   nonstatic_field(Klass,                       _name,                                         Symbol*)                               \
 229   nonstatic_field(Klass,                       _access_flags,                                 AccessFlags)                           \

1799 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \
1800                                                                           \
1801   /****************/                                                      \
1802   /* GC constants */                                                      \
1803   /****************/                                                      \
1804                                                                           \
1805   VM_LONG_CONSTANTS_GC(declare_constant)                                  \
1806                                                                           \
1807   /*********************/                                                 \
1808   /* markWord constants */                                                \
1809   /*********************/                                                 \
1810                                                                           \
1811   /* Note: some of these are declared as long constants just for */       \
1812   /* consistency. The mask constants are the only ones requiring */       \
1813   /* 64 bits (on 64-bit platforms). */                                    \
1814                                                                           \
1815   declare_constant(markWord::age_bits)                                    \
1816   declare_constant(markWord::lock_bits)                                   \
1817   declare_constant(markWord::max_hash_bits)                               \
1818   declare_constant(markWord::hash_bits)                                   \

1819                                                                           \
1820   declare_constant(markWord::lock_shift)                                  \
1821   declare_constant(markWord::age_shift)                                   \
1822   declare_constant(markWord::hash_shift)                                  \

1823   LP64_ONLY(declare_constant(markWord::klass_shift))                      \
1824                                                                           \
1825   declare_constant(markWord::lock_mask)                                   \
1826   declare_constant(markWord::lock_mask_in_place)                          \
1827   declare_constant(markWord::age_mask)                                    \
1828   declare_constant(markWord::age_mask_in_place)                           \
1829   declare_constant(markWord::hash_mask)                                   \
1830   declare_constant(markWord::hash_mask_in_place)                          \




1831                                                                           \
1832   declare_constant(markWord::locked_value)                                \
1833   declare_constant(markWord::unlocked_value)                              \
1834   declare_constant(markWord::monitor_value)                               \
1835   declare_constant(markWord::marked_value)                                \
1836                                                                           \
1837   declare_constant(markWord::no_hash)                                     \
1838   declare_constant(markWord::no_hash_in_place)                            \
1839   declare_constant(markWord::no_lock_in_place)                            \
1840   declare_constant(markWord::max_age)                                     \
1841                                                                           \
1842   /* InvocationCounter constants */                                       \
1843   declare_constant(InvocationCounter::count_increment)                    \
1844   declare_constant(InvocationCounter::count_shift)                        \
1845                                                                           \
1846   /* ObjectMonitor constants */                                           \
1847   declare_constant(ObjectMonitor::NO_OWNER)                               \
1848   declare_constant(ObjectMonitor::ANONYMOUS_OWNER)                        \
1849   declare_constant(ObjectMonitor::DEFLATER_MARKER)                        \
1850 

 190   nonstatic_field(ConstantPoolCache,           _resolved_indy_entries,                        Array<ResolvedIndyEntry>*)             \
 191   nonstatic_field(ResolvedIndyEntry,           _cpool_index,                                  u2)                                    \
 192   volatile_nonstatic_field(InstanceKlass,      _array_klasses,                                ObjArrayKlass*)                        \
 193   nonstatic_field(InstanceKlass,               _methods,                                      Array<Method*>*)                       \
 194   nonstatic_field(InstanceKlass,               _default_methods,                              Array<Method*>*)                       \
 195   nonstatic_field(InstanceKlass,               _local_interfaces,                             Array<InstanceKlass*>*)                \
 196   nonstatic_field(InstanceKlass,               _transitive_interfaces,                        Array<InstanceKlass*>*)                \
 197   nonstatic_field(InstanceKlass,               _fieldinfo_stream,                             Array<u1>*)                            \
 198   nonstatic_field(InstanceKlass,               _constants,                                    ConstantPool*)                         \
 199   nonstatic_field(InstanceKlass,               _source_debug_extension,                       const char*)                           \
 200   nonstatic_field(InstanceKlass,               _inner_classes,                                Array<jushort>*)                       \
 201   nonstatic_field(InstanceKlass,               _nest_members,                                 Array<jushort>*)                       \
 202   nonstatic_field(InstanceKlass,               _nonstatic_field_size,                         int)                                   \
 203   nonstatic_field(InstanceKlass,               _static_field_size,                            int)                                   \
 204   nonstatic_field(InstanceKlass,               _static_oop_field_count,                       u2)                                    \
 205   nonstatic_field(InstanceKlass,               _nonstatic_oop_map_size,                       int)                                   \
 206   volatile_nonstatic_field(InstanceKlass,      _init_state,                                   InstanceKlass::ClassState)             \
 207   volatile_nonstatic_field(InstanceKlass,      _init_thread,                                  JavaThread*)                           \
 208   nonstatic_field(InstanceKlass,               _itable_len,                                   int)                                   \
 209   nonstatic_field(InstanceKlass,               _nest_host_index,                              u2)                                    \
 210   nonstatic_field(InstanceKlass,               _hash_offset,                                  int)                                    \
 211   nonstatic_field(InstanceKlass,               _reference_type,                               u1)                                    \
 212   volatile_nonstatic_field(InstanceKlass,      _oop_map_cache,                                OopMapCache*)                          \
 213   nonstatic_field(InstanceKlass,               _jni_ids,                                      JNIid*)                                \
 214   nonstatic_field(InstanceKlass,               _osr_nmethods_head,                            nmethod*)                              \
 215   JVMTI_ONLY(nonstatic_field(InstanceKlass,    _breakpoints,                                  BreakpointInfo*))                      \
 216   volatile_nonstatic_field(InstanceKlass,      _methods_jmethod_ids,                          jmethodID*)                            \
 217   volatile_nonstatic_field(InstanceKlass,      _idnum_allocated_count,                        u2)                                    \
 218   nonstatic_field(InstanceKlass,               _annotations,                                  Annotations*)                          \
 219   nonstatic_field(InstanceKlass,               _method_ordering,                              Array<int>*)                           \
 220   nonstatic_field(InstanceKlass,               _default_vtable_indices,                       Array<int>*)                           \
 221   nonstatic_field(Klass,                       _super_check_offset,                           juint)                                 \
 222   nonstatic_field(Klass,                       _secondary_super_cache,                        Klass*)                                \
 223   nonstatic_field(Klass,                       _secondary_supers,                             Array<Klass*>*)                        \
 224   nonstatic_field(Klass,                       _primary_supers[0],                            Klass*)                                \
 225   nonstatic_field(Klass,                       _java_mirror,                                  OopHandle)                             \
 226   nonstatic_field(Klass,                       _super,                                        Klass*)                                \
 227   volatile_nonstatic_field(Klass,              _subklass,                                     Klass*)                                \
 228   nonstatic_field(Klass,                       _layout_helper,                                jint)                                  \
 229   nonstatic_field(Klass,                       _name,                                         Symbol*)                               \
 230   nonstatic_field(Klass,                       _access_flags,                                 AccessFlags)                           \

1800 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \
1801                                                                           \
1802   /****************/                                                      \
1803   /* GC constants */                                                      \
1804   /****************/                                                      \
1805                                                                           \
1806   VM_LONG_CONSTANTS_GC(declare_constant)                                  \
1807                                                                           \
1808   /*********************/                                                 \
1809   /* markWord constants */                                                \
1810   /*********************/                                                 \
1811                                                                           \
1812   /* Note: some of these are declared as long constants just for */       \
1813   /* consistency. The mask constants are the only ones requiring */       \
1814   /* 64 bits (on 64-bit platforms). */                                    \
1815                                                                           \
1816   declare_constant(markWord::age_bits)                                    \
1817   declare_constant(markWord::lock_bits)                                   \
1818   declare_constant(markWord::max_hash_bits)                               \
1819   declare_constant(markWord::hash_bits)                                   \
1820   declare_constant(markWord::hashctrl_bits)                               \
1821                                                                           \
1822   declare_constant(markWord::lock_shift)                                  \
1823   declare_constant(markWord::age_shift)                                   \
1824   declare_constant(markWord::hash_shift)                                  \
1825   declare_constant(markWord::hashctrl_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   declare_constant(markWord::hashctrl_mask)                               \
1835   declare_constant(markWord::hashctrl_mask_in_place)                      \
1836   declare_constant(markWord::hashctrl_hashed_mask_in_place)               \
1837   declare_constant(markWord::hashctrl_expanded_mask_in_place)             \
1838                                                                           \
1839   declare_constant(markWord::locked_value)                                \
1840   declare_constant(markWord::unlocked_value)                              \
1841   declare_constant(markWord::monitor_value)                               \
1842   declare_constant(markWord::marked_value)                                \
1843                                                                           \
1844   declare_constant(markWord::no_hash)                                     \
1845   declare_constant(markWord::no_hash_in_place)                            \
1846   declare_constant(markWord::no_lock_in_place)                            \
1847   declare_constant(markWord::max_age)                                     \
1848                                                                           \
1849   /* InvocationCounter constants */                                       \
1850   declare_constant(InvocationCounter::count_increment)                    \
1851   declare_constant(InvocationCounter::count_shift)                        \
1852                                                                           \
1853   /* ObjectMonitor constants */                                           \
1854   declare_constant(ObjectMonitor::NO_OWNER)                               \
1855   declare_constant(ObjectMonitor::ANONYMOUS_OWNER)                        \
1856   declare_constant(ObjectMonitor::DEFLATER_MARKER)                        \
1857 
< prev index next >