< prev index next >

src/hotspot/share/jvmci/vmStructs_jvmci.cpp

Print this page

  70   static_field(CompilerToVM::Data,             Universe_verify_oop_bits,               uintptr_t)                                    \
  71                                                                                                                                      \
  72   static_field(CompilerToVM::Data,             _supports_inline_contig_alloc,          bool)                                         \
  73   static_field(CompilerToVM::Data,             _heap_end_addr,                         HeapWord**)                                   \
  74   static_field(CompilerToVM::Data,             _heap_top_addr,                         HeapWord* volatile*)                          \
  75                                                                                                                                      \
  76   static_field(CompilerToVM::Data,             _max_oop_map_stack_offset,              int)                                          \
  77   static_field(CompilerToVM::Data,             _fields_annotations_base_offset,        int)                                          \
  78                                                                                                                                      \
  79   static_field(CompilerToVM::Data,             cardtable_start_address,                CardTable::CardValue*)                        \
  80   static_field(CompilerToVM::Data,             cardtable_shift,                        int)                                          \
  81                                                                                                                                      \
  82   static_field(CompilerToVM::Data,             vm_page_size,                           int)                                          \
  83                                                                                                                                      \
  84   static_field(CompilerToVM::Data,             sizeof_vtableEntry,                     int)                                          \
  85   static_field(CompilerToVM::Data,             sizeof_ExceptionTableElement,           int)                                          \
  86   static_field(CompilerToVM::Data,             sizeof_LocalVariableTableElement,       int)                                          \
  87   static_field(CompilerToVM::Data,             sizeof_ConstantPool,                    int)                                          \
  88   static_field(CompilerToVM::Data,             sizeof_narrowKlass,                     int)                                          \
  89   static_field(CompilerToVM::Data,             sizeof_arrayOopDesc,                    int)                                          \
  90   static_field(CompilerToVM::Data,             sizeof_BasicLock,                       int)                                          \
  91                                                                                                                                      \
  92   static_field(CompilerToVM::Data,             dsin,                                   address)                                      \
  93   static_field(CompilerToVM::Data,             dcos,                                   address)                                      \
  94   static_field(CompilerToVM::Data,             dtan,                                   address)                                      \
  95   static_field(CompilerToVM::Data,             dexp,                                   address)                                      \
  96   static_field(CompilerToVM::Data,             dlog,                                   address)                                      \
  97   static_field(CompilerToVM::Data,             dlog10,                                 address)                                      \
  98   static_field(CompilerToVM::Data,             dpow,                                   address)                                      \
  99                                                                                                                                      \
 100   static_field(CompilerToVM::Data,             symbol_init,                            address)                                      \
 101   static_field(CompilerToVM::Data,             symbol_clinit,                          address)                                      \
 102                                                                                                                                      \
 103   static_field(CompilerToVM::Data,             data_section_item_alignment,            int)                                          \
 104                                                                                                                                      \
 105   static_field(Abstract_VM_Version,            _features,                              uint64_t)                                     \
 106                                                                                                                                      \
 107   nonstatic_field(Annotations,                 _fields_annotations,                    Array<AnnotationArray*>*)                     \
 108                                                                                                                                      \
 109   nonstatic_field(Array<int>,                  _length,                                int)                                          \
 110   unchecked_nonstatic_field(Array<u1>,         _data,                                  sizeof(u1))                                   \
 111   unchecked_nonstatic_field(Array<u2>,         _data,                                  sizeof(u2))                                   \
 112   nonstatic_field(Array<Klass*>,               _length,                                int)                                          \
 113   nonstatic_field(Array<Klass*>,               _data[0],                               Klass*)                                       \
 114                                                                                                                                      \
 115   volatile_nonstatic_field(BasicLock,          _displaced_header,                      markWord)                                     \
 116                                                                                                                                      \
 117   static_field(CodeCache,                      _low_bound,                             address)                                      \
 118   static_field(CodeCache,                      _high_bound,                            address)                                      \
 119                                                                                                                                      \
 120   nonstatic_field(CollectedHeap,               _total_collections,                     unsigned int)                                 \
 121                                                                                                                                      \
 122   nonstatic_field(CompileTask,                 _num_inlined_bytecodes,                 int)                                          \
 123                                                                                                                                      \
 124   nonstatic_field(ConstantPool,                _tags,                                  Array<u1>*)                                   \
 125   nonstatic_field(ConstantPool,                _pool_holder,                           InstanceKlass*)                               \
 126   nonstatic_field(ConstantPool,                _length,                                int)                                          \
 127   nonstatic_field(ConstantPool,                _flags,                                 u2)                                           \
 128   nonstatic_field(ConstantPool,                _source_file_name_index,                u2)                                           \
 129                                                                                                                                      \
 130   nonstatic_field(ConstMethod,                 _constants,                             ConstantPool*)                                \
 131   nonstatic_field(ConstMethod,                 _flags,                                 u2)                                           \
 132   nonstatic_field(ConstMethod,                 _code_size,                             u2)                                           \
 133   nonstatic_field(ConstMethod,                 _name_index,                            u2)                                           \
 134   nonstatic_field(ConstMethod,                 _signature_index,                       u2)                                           \
 135   nonstatic_field(ConstMethod,                 _method_idnum,                          u2)                                           \
 136   nonstatic_field(ConstMethod,                 _max_stack,                             u2)                                           \

 250   nonstatic_field(MethodData,                  _arg_local,                                    intx)                                  \
 251   nonstatic_field(MethodData,                  _arg_stack,                                    intx)                                  \
 252   nonstatic_field(MethodData,                  _arg_returned,                                 intx)                                  \
 253   nonstatic_field(MethodData,                  _tenure_traps,                                 uint)                                  \
 254   nonstatic_field(MethodData,                  _invoke_mask,                                  int)                                   \
 255   nonstatic_field(MethodData,                  _backedge_mask,                                int)                                   \
 256   nonstatic_field(MethodData,                  _jvmci_ir_size,                                int)                                   \
 257                                                                                                                                      \
 258   nonstatic_field(nmethod,                     _verified_entry_point,                         address)                               \
 259   nonstatic_field(nmethod,                     _comp_level,                                   CompLevel)                             \
 260                                                                                                                                      \
 261   nonstatic_field(ObjArrayKlass,               _element_klass,                                Klass*)                                \
 262                                                                                                                                      \
 263   unchecked_nonstatic_field(ObjectMonitor,     _owner,                                        sizeof(void *)) /* NOTE: no type */    \
 264   volatile_nonstatic_field(ObjectMonitor,      _recursions,                                   intptr_t)                              \
 265   volatile_nonstatic_field(ObjectMonitor,      _cxq,                                          ObjectWaiter*)                         \
 266   volatile_nonstatic_field(ObjectMonitor,      _EntryList,                                    ObjectWaiter*)                         \
 267   volatile_nonstatic_field(ObjectMonitor,      _succ,                                         JavaThread*)                           \
 268                                                                                                                                      \
 269   volatile_nonstatic_field(oopDesc,            _mark,                                         markWord)                              \
 270   volatile_nonstatic_field(oopDesc,            _metadata._klass,                              Klass*)                                \
 271                                                                                                                                      \
 272   static_field(os,                             _polling_page,                                 address)                               \
 273                                                                                                                                      \
 274   static_field(StubRoutines,                _verify_oop_count,                                jint)                                  \
 275                                                                                                                                      \
 276   static_field(StubRoutines,                _throw_delayed_StackOverflowError_entry,          address)                               \
 277                                                                                                                                      \
 278   static_field(StubRoutines,                _jbyte_arraycopy,                                 address)                               \
 279   static_field(StubRoutines,                _jshort_arraycopy,                                address)                               \
 280   static_field(StubRoutines,                _jint_arraycopy,                                  address)                               \
 281   static_field(StubRoutines,                _jlong_arraycopy,                                 address)                               \
 282   static_field(StubRoutines,                _oop_arraycopy,                                   address)                               \
 283   static_field(StubRoutines,                _oop_arraycopy_uninit,                            address)                               \
 284   static_field(StubRoutines,                _jbyte_disjoint_arraycopy,                        address)                               \
 285   static_field(StubRoutines,                _jshort_disjoint_arraycopy,                       address)                               \
 286   static_field(StubRoutines,                _jint_disjoint_arraycopy,                         address)                               \
 287   static_field(StubRoutines,                _jlong_disjoint_arraycopy,                        address)                               \
 288   static_field(StubRoutines,                _oop_disjoint_arraycopy,                          address)                               \
 289   static_field(StubRoutines,                _oop_disjoint_arraycopy_uninit,                   address)                               \
 290   static_field(StubRoutines,                _arrayof_jbyte_arraycopy,                         address)                               \

 351   nonstatic_field(ThreadLocalAllocBuffer,   _refill_waste_limit,                              size_t)                                \
 352   nonstatic_field(ThreadLocalAllocBuffer,   _number_of_refills,                               unsigned)                              \
 353   nonstatic_field(ThreadLocalAllocBuffer,   _slow_allocations,                                unsigned)                              \
 354                                                                                                                                      \
 355   nonstatic_field(SafepointMechanism::ThreadData, _polling_word,                              volatile uintptr_t)                    \
 356   nonstatic_field(SafepointMechanism::ThreadData, _polling_page,                              volatile uintptr_t)                    \
 357                                                                                                                                      \
 358   nonstatic_field(ThreadShadow,             _pending_exception,                               oop)                                   \
 359                                                                                                                                      \
 360   static_field(Symbol,                      _vm_symbols[0],                                   Symbol*)                               \
 361                                                                                                                                      \
 362   nonstatic_field(vtableEntry,              _method,                                          Method*)                               \
 363 
 364 #define VM_TYPES(declare_type, declare_toplevel_type, declare_integer_type, declare_unsigned_integer_type) \
 365   declare_integer_type(bool)                                              \
 366   declare_unsigned_integer_type(size_t)                                   \
 367   declare_integer_type(intx)                                              \
 368   declare_unsigned_integer_type(uintx)                                    \
 369   declare_integer_type(CompLevel)                                         \
 370                                                                           \
 371   declare_toplevel_type(BasicLock)                                        \
 372   declare_toplevel_type(CompilerToVM)                                     \
 373   declare_toplevel_type(ExceptionTableElement)                            \
 374   declare_toplevel_type(JVMFlag)                                          \
 375   declare_toplevel_type(JVMFlag*)                                         \
 376   declare_toplevel_type(InvocationCounter)                                \
 377   declare_toplevel_type(JVMCICompileState)                                \
 378   declare_toplevel_type(JVMCIEnv)                                         \
 379   declare_toplevel_type(LocalVariableTableElement)                        \
 380   declare_toplevel_type(narrowKlass)                                      \
 381   declare_toplevel_type(ObjectWaiter)                                     \
 382   declare_toplevel_type(Symbol*)                                          \
 383   declare_toplevel_type(vtableEntry)                                      \
 384                                                                           \
 385   declare_toplevel_type(oopDesc)                                          \
 386     declare_type(arrayOopDesc, oopDesc)                                   \
 387                                                                           \
 388   declare_toplevel_type(MetaspaceObj)                                     \
 389     declare_type(Metadata, MetaspaceObj)                                  \
 390     declare_type(Klass, Metadata)                                         \
 391       declare_type(InstanceKlass, Klass)                                  \

  70   static_field(CompilerToVM::Data,             Universe_verify_oop_bits,               uintptr_t)                                    \
  71                                                                                                                                      \
  72   static_field(CompilerToVM::Data,             _supports_inline_contig_alloc,          bool)                                         \
  73   static_field(CompilerToVM::Data,             _heap_end_addr,                         HeapWord**)                                   \
  74   static_field(CompilerToVM::Data,             _heap_top_addr,                         HeapWord* volatile*)                          \
  75                                                                                                                                      \
  76   static_field(CompilerToVM::Data,             _max_oop_map_stack_offset,              int)                                          \
  77   static_field(CompilerToVM::Data,             _fields_annotations_base_offset,        int)                                          \
  78                                                                                                                                      \
  79   static_field(CompilerToVM::Data,             cardtable_start_address,                CardTable::CardValue*)                        \
  80   static_field(CompilerToVM::Data,             cardtable_shift,                        int)                                          \
  81                                                                                                                                      \
  82   static_field(CompilerToVM::Data,             vm_page_size,                           int)                                          \
  83                                                                                                                                      \
  84   static_field(CompilerToVM::Data,             sizeof_vtableEntry,                     int)                                          \
  85   static_field(CompilerToVM::Data,             sizeof_ExceptionTableElement,           int)                                          \
  86   static_field(CompilerToVM::Data,             sizeof_LocalVariableTableElement,       int)                                          \
  87   static_field(CompilerToVM::Data,             sizeof_ConstantPool,                    int)                                          \
  88   static_field(CompilerToVM::Data,             sizeof_narrowKlass,                     int)                                          \
  89   static_field(CompilerToVM::Data,             sizeof_arrayOopDesc,                    int)                                          \

  90                                                                                                                                      \
  91   static_field(CompilerToVM::Data,             dsin,                                   address)                                      \
  92   static_field(CompilerToVM::Data,             dcos,                                   address)                                      \
  93   static_field(CompilerToVM::Data,             dtan,                                   address)                                      \
  94   static_field(CompilerToVM::Data,             dexp,                                   address)                                      \
  95   static_field(CompilerToVM::Data,             dlog,                                   address)                                      \
  96   static_field(CompilerToVM::Data,             dlog10,                                 address)                                      \
  97   static_field(CompilerToVM::Data,             dpow,                                   address)                                      \
  98                                                                                                                                      \
  99   static_field(CompilerToVM::Data,             symbol_init,                            address)                                      \
 100   static_field(CompilerToVM::Data,             symbol_clinit,                          address)                                      \
 101                                                                                                                                      \
 102   static_field(CompilerToVM::Data,             data_section_item_alignment,            int)                                          \
 103                                                                                                                                      \
 104   static_field(Abstract_VM_Version,            _features,                              uint64_t)                                     \
 105                                                                                                                                      \
 106   nonstatic_field(Annotations,                 _fields_annotations,                    Array<AnnotationArray*>*)                     \
 107                                                                                                                                      \
 108   nonstatic_field(Array<int>,                  _length,                                int)                                          \
 109   unchecked_nonstatic_field(Array<u1>,         _data,                                  sizeof(u1))                                   \
 110   unchecked_nonstatic_field(Array<u2>,         _data,                                  sizeof(u2))                                   \
 111   nonstatic_field(Array<Klass*>,               _length,                                int)                                          \
 112   nonstatic_field(Array<Klass*>,               _data[0],                               Klass*)                                       \
 113                                                                                                                                      \


 114   static_field(CodeCache,                      _low_bound,                             address)                                      \
 115   static_field(CodeCache,                      _high_bound,                            address)                                      \
 116                                                                                                                                      \
 117   nonstatic_field(CollectedHeap,               _total_collections,                     unsigned int)                                 \
 118                                                                                                                                      \
 119   nonstatic_field(CompileTask,                 _num_inlined_bytecodes,                 int)                                          \
 120                                                                                                                                      \
 121   nonstatic_field(ConstantPool,                _tags,                                  Array<u1>*)                                   \
 122   nonstatic_field(ConstantPool,                _pool_holder,                           InstanceKlass*)                               \
 123   nonstatic_field(ConstantPool,                _length,                                int)                                          \
 124   nonstatic_field(ConstantPool,                _flags,                                 u2)                                           \
 125   nonstatic_field(ConstantPool,                _source_file_name_index,                u2)                                           \
 126                                                                                                                                      \
 127   nonstatic_field(ConstMethod,                 _constants,                             ConstantPool*)                                \
 128   nonstatic_field(ConstMethod,                 _flags,                                 u2)                                           \
 129   nonstatic_field(ConstMethod,                 _code_size,                             u2)                                           \
 130   nonstatic_field(ConstMethod,                 _name_index,                            u2)                                           \
 131   nonstatic_field(ConstMethod,                 _signature_index,                       u2)                                           \
 132   nonstatic_field(ConstMethod,                 _method_idnum,                          u2)                                           \
 133   nonstatic_field(ConstMethod,                 _max_stack,                             u2)                                           \

 247   nonstatic_field(MethodData,                  _arg_local,                                    intx)                                  \
 248   nonstatic_field(MethodData,                  _arg_stack,                                    intx)                                  \
 249   nonstatic_field(MethodData,                  _arg_returned,                                 intx)                                  \
 250   nonstatic_field(MethodData,                  _tenure_traps,                                 uint)                                  \
 251   nonstatic_field(MethodData,                  _invoke_mask,                                  int)                                   \
 252   nonstatic_field(MethodData,                  _backedge_mask,                                int)                                   \
 253   nonstatic_field(MethodData,                  _jvmci_ir_size,                                int)                                   \
 254                                                                                                                                      \
 255   nonstatic_field(nmethod,                     _verified_entry_point,                         address)                               \
 256   nonstatic_field(nmethod,                     _comp_level,                                   CompLevel)                             \
 257                                                                                                                                      \
 258   nonstatic_field(ObjArrayKlass,               _element_klass,                                Klass*)                                \
 259                                                                                                                                      \
 260   unchecked_nonstatic_field(ObjectMonitor,     _owner,                                        sizeof(void *)) /* NOTE: no type */    \
 261   volatile_nonstatic_field(ObjectMonitor,      _recursions,                                   intptr_t)                              \
 262   volatile_nonstatic_field(ObjectMonitor,      _cxq,                                          ObjectWaiter*)                         \
 263   volatile_nonstatic_field(ObjectMonitor,      _EntryList,                                    ObjectWaiter*)                         \
 264   volatile_nonstatic_field(ObjectMonitor,      _succ,                                         JavaThread*)                           \
 265                                                                                                                                      \
 266   volatile_nonstatic_field(oopDesc,            _mark,                                         markWord)                              \

 267                                                                                                                                      \
 268   static_field(os,                             _polling_page,                                 address)                               \
 269                                                                                                                                      \
 270   static_field(StubRoutines,                _verify_oop_count,                                jint)                                  \
 271                                                                                                                                      \
 272   static_field(StubRoutines,                _throw_delayed_StackOverflowError_entry,          address)                               \
 273                                                                                                                                      \
 274   static_field(StubRoutines,                _jbyte_arraycopy,                                 address)                               \
 275   static_field(StubRoutines,                _jshort_arraycopy,                                address)                               \
 276   static_field(StubRoutines,                _jint_arraycopy,                                  address)                               \
 277   static_field(StubRoutines,                _jlong_arraycopy,                                 address)                               \
 278   static_field(StubRoutines,                _oop_arraycopy,                                   address)                               \
 279   static_field(StubRoutines,                _oop_arraycopy_uninit,                            address)                               \
 280   static_field(StubRoutines,                _jbyte_disjoint_arraycopy,                        address)                               \
 281   static_field(StubRoutines,                _jshort_disjoint_arraycopy,                       address)                               \
 282   static_field(StubRoutines,                _jint_disjoint_arraycopy,                         address)                               \
 283   static_field(StubRoutines,                _jlong_disjoint_arraycopy,                        address)                               \
 284   static_field(StubRoutines,                _oop_disjoint_arraycopy,                          address)                               \
 285   static_field(StubRoutines,                _oop_disjoint_arraycopy_uninit,                   address)                               \
 286   static_field(StubRoutines,                _arrayof_jbyte_arraycopy,                         address)                               \

 347   nonstatic_field(ThreadLocalAllocBuffer,   _refill_waste_limit,                              size_t)                                \
 348   nonstatic_field(ThreadLocalAllocBuffer,   _number_of_refills,                               unsigned)                              \
 349   nonstatic_field(ThreadLocalAllocBuffer,   _slow_allocations,                                unsigned)                              \
 350                                                                                                                                      \
 351   nonstatic_field(SafepointMechanism::ThreadData, _polling_word,                              volatile uintptr_t)                    \
 352   nonstatic_field(SafepointMechanism::ThreadData, _polling_page,                              volatile uintptr_t)                    \
 353                                                                                                                                      \
 354   nonstatic_field(ThreadShadow,             _pending_exception,                               oop)                                   \
 355                                                                                                                                      \
 356   static_field(Symbol,                      _vm_symbols[0],                                   Symbol*)                               \
 357                                                                                                                                      \
 358   nonstatic_field(vtableEntry,              _method,                                          Method*)                               \
 359 
 360 #define VM_TYPES(declare_type, declare_toplevel_type, declare_integer_type, declare_unsigned_integer_type) \
 361   declare_integer_type(bool)                                              \
 362   declare_unsigned_integer_type(size_t)                                   \
 363   declare_integer_type(intx)                                              \
 364   declare_unsigned_integer_type(uintx)                                    \
 365   declare_integer_type(CompLevel)                                         \
 366                                                                           \

 367   declare_toplevel_type(CompilerToVM)                                     \
 368   declare_toplevel_type(ExceptionTableElement)                            \
 369   declare_toplevel_type(JVMFlag)                                          \
 370   declare_toplevel_type(JVMFlag*)                                         \
 371   declare_toplevel_type(InvocationCounter)                                \
 372   declare_toplevel_type(JVMCICompileState)                                \
 373   declare_toplevel_type(JVMCIEnv)                                         \
 374   declare_toplevel_type(LocalVariableTableElement)                        \
 375   declare_toplevel_type(narrowKlass)                                      \
 376   declare_toplevel_type(ObjectWaiter)                                     \
 377   declare_toplevel_type(Symbol*)                                          \
 378   declare_toplevel_type(vtableEntry)                                      \
 379                                                                           \
 380   declare_toplevel_type(oopDesc)                                          \
 381     declare_type(arrayOopDesc, oopDesc)                                   \
 382                                                                           \
 383   declare_toplevel_type(MetaspaceObj)                                     \
 384     declare_type(Metadata, MetaspaceObj)                                  \
 385     declare_type(Klass, Metadata)                                         \
 386       declare_type(InstanceKlass, Klass)                                  \
< prev index next >