hotspot/src/share/vm/runtime/vmStructs.cpp
changeset 38133 78b95467b9f1
parent 38051 d092550d625d
child 38221 0a7813e6b50e
child 38144 0976c0c5c5d3
equal deleted inserted replaced
38132:ba888a4f352a 38133:78b95467b9f1
   396   nonstatic_field(Method,                      _access_flags,                                 AccessFlags)                           \
   396   nonstatic_field(Method,                      _access_flags,                                 AccessFlags)                           \
   397   nonstatic_field(Method,                      _vtable_index,                                 int)                                   \
   397   nonstatic_field(Method,                      _vtable_index,                                 int)                                   \
   398   nonstatic_field(Method,                      _intrinsic_id,                                 u2)                                    \
   398   nonstatic_field(Method,                      _intrinsic_id,                                 u2)                                    \
   399   nonstatic_field(Method,                      _flags,                                        u2)                                    \
   399   nonstatic_field(Method,                      _flags,                                        u2)                                    \
   400   nonproduct_nonstatic_field(Method,           _compiled_invocation_count,                    int)                                   \
   400   nonproduct_nonstatic_field(Method,           _compiled_invocation_count,                    int)                                   \
   401   volatile_nonstatic_field(Method,             _code,                                         nmethod*)                              \
   401   volatile_nonstatic_field(Method,             _code,                                         CompiledMethod*)                       \
   402   nonstatic_field(Method,                      _i2i_entry,                                    address)                               \
   402   nonstatic_field(Method,                      _i2i_entry,                                    address)                               \
   403   volatile_nonstatic_field(Method,             _from_compiled_entry,                          address)                               \
   403   volatile_nonstatic_field(Method,             _from_compiled_entry,                          address)                               \
   404   volatile_nonstatic_field(Method,             _from_interpreted_entry,                       address)                               \
   404   volatile_nonstatic_field(Method,             _from_interpreted_entry,                       address)                               \
   405   volatile_nonstatic_field(ConstMethod,        _fingerprint,                                  uint64_t)                              \
   405   volatile_nonstatic_field(ConstMethod,        _fingerprint,                                  uint64_t)                              \
   406   nonstatic_field(ConstMethod,                 _constants,                                    ConstantPool*)                         \
   406   nonstatic_field(ConstMethod,                 _constants,                                    ConstantPool*)                         \
   913                                                                                                                                      \
   913                                                                                                                                      \
   914   /***************************************************/                                                                              \
   914   /***************************************************/                                                                              \
   915   /* CodeBlobs (NOTE: incomplete, but only a little) */                                                                              \
   915   /* CodeBlobs (NOTE: incomplete, but only a little) */                                                                              \
   916   /***************************************************/                                                                              \
   916   /***************************************************/                                                                              \
   917                                                                                                                                      \
   917                                                                                                                                      \
   918   nonstatic_field(CodeBlob,                    _name,                                   const char*)                                 \
   918   nonstatic_field(CodeBlob,                 _name,                                   const char*)                                    \
   919   nonstatic_field(CodeBlob,                    _size,                                   int)                                         \
   919   nonstatic_field(CodeBlob,                 _size,                                   int)                                            \
   920   nonstatic_field(CodeBlob,                    _header_size,                            int)                                         \
   920   nonstatic_field(CodeBlob,                 _header_size,                            int)                                            \
   921   nonstatic_field(CodeBlob,                    _relocation_size,                        int)                                         \
   921   nonstatic_field(CodeBlob,                 _frame_complete_offset,                  int)                                            \
   922   nonstatic_field(CodeBlob,                    _content_offset,                         int)                                         \
   922   nonstatic_field(CodeBlob,                 _data_offset,                            int)                                            \
   923   nonstatic_field(CodeBlob,                    _code_offset,                            int)                                         \
   923   nonstatic_field(CodeBlob,                 _frame_size,                             int)                                            \
   924   nonstatic_field(CodeBlob,                    _frame_complete_offset,                  int)                                         \
   924   nonstatic_field(CodeBlob,                 _oop_maps,                               ImmutableOopMapSet*)                            \
   925   nonstatic_field(CodeBlob,                    _data_offset,                            int)                                         \
   925   nonstatic_field(CodeBlob,                 _code_begin,                             address)                                        \
   926   nonstatic_field(CodeBlob,                    _frame_size,                             int)                                         \
   926   nonstatic_field(CodeBlob,                 _code_end,                               address)                                        \
   927   nonstatic_field(CodeBlob,                    _oop_maps,                               ImmutableOopMapSet*)                         \
   927   nonstatic_field(CodeBlob,                 _content_begin,                          address)                                        \
       
   928   nonstatic_field(CodeBlob,                 _data_end,                               address)                                        \
   928                                                                                                                                      \
   929                                                                                                                                      \
   929   nonstatic_field(DeoptimizationBlob,          _unpack_offset,                                int)                                   \
   930   nonstatic_field(DeoptimizationBlob,          _unpack_offset,                                int)                                   \
   930                                                                                                                                      \
   931                                                                                                                                      \
   931   nonstatic_field(RuntimeStub,                 _caller_must_gc_arguments,                     bool)                                  \
   932   nonstatic_field(RuntimeStub,                 _caller_must_gc_arguments,                     bool)                                  \
       
   933                                                                                                                                      \
       
   934   /********************************************************/                                                                         \
       
   935   /* CompiledMethod (NOTE: incomplete, but only a little) */                                                                         \
       
   936   /********************************************************/                                                                         \
       
   937                                                                                                                                      \
       
   938   nonstatic_field(CompiledMethod,                     _method,                                       Method*)                        \
       
   939   volatile_nonstatic_field(CompiledMethod,            _exception_cache,                              ExceptionCache*)                \
       
   940   nonstatic_field(CompiledMethod,                     _scopes_data_begin,                            address)                        \
       
   941   nonstatic_field(CompiledMethod,                     _deopt_handler_begin,                          address)                        \
       
   942   nonstatic_field(CompiledMethod,                     _deopt_mh_handler_begin,                       address)                        \
   932                                                                                                                                      \
   943                                                                                                                                      \
   933   /**************************************************/                                                                               \
   944   /**************************************************/                                                                               \
   934   /* NMethods (NOTE: incomplete, but only a little) */                                                                               \
   945   /* NMethods (NOTE: incomplete, but only a little) */                                                                               \
   935   /**************************************************/                                                                               \
   946   /**************************************************/                                                                               \
   936                                                                                                                                      \
   947                                                                                                                                      \
   937   nonstatic_field(nmethod,                     _method,                                       Method*)                               \
       
   938   nonstatic_field(nmethod,                     _entry_bci,                                    int)                                   \
   948   nonstatic_field(nmethod,                     _entry_bci,                                    int)                                   \
   939   nonstatic_field(nmethod,                     _osr_link,                                     nmethod*)                              \
   949   nonstatic_field(nmethod,                     _osr_link,                                     nmethod*)                              \
   940   nonstatic_field(nmethod,                     _scavenge_root_link,                           nmethod*)                              \
   950   nonstatic_field(nmethod,                     _scavenge_root_link,                           nmethod*)                              \
   941   nonstatic_field(nmethod,                     _scavenge_root_state,                          jbyte)                                 \
   951   nonstatic_field(nmethod,                     _scavenge_root_state,                          jbyte)                                 \
   942   nonstatic_field(nmethod,                     _state,                                        volatile unsigned char)                \
   952   nonstatic_field(nmethod,                     _state,                                        volatile unsigned char)                \
   943   nonstatic_field(nmethod,                     _exception_offset,                             int)                                   \
   953   nonstatic_field(nmethod,                     _exception_offset,                             int)                                   \
   944   nonstatic_field(nmethod,                     _deoptimize_offset,                            int)                                   \
       
   945   nonstatic_field(nmethod,                     _deoptimize_mh_offset,                         int)                                   \
       
   946   nonstatic_field(nmethod,                     _orig_pc_offset,                               int)                                   \
   954   nonstatic_field(nmethod,                     _orig_pc_offset,                               int)                                   \
   947   nonstatic_field(nmethod,                     _stub_offset,                                  int)                                   \
   955   nonstatic_field(nmethod,                     _stub_offset,                                  int)                                   \
   948   nonstatic_field(nmethod,                     _consts_offset,                                int)                                   \
   956   nonstatic_field(nmethod,                     _consts_offset,                                int)                                   \
   949   nonstatic_field(nmethod,                     _oops_offset,                                  int)                                   \
   957   nonstatic_field(nmethod,                     _oops_offset,                                  int)                                   \
   950   nonstatic_field(nmethod,                     _metadata_offset,                              int)                                   \
   958   nonstatic_field(nmethod,                     _metadata_offset,                              int)                                   \
   951   nonstatic_field(nmethod,                     _scopes_data_offset,                           int)                                   \
       
   952   nonstatic_field(nmethod,                     _scopes_pcs_offset,                            int)                                   \
   959   nonstatic_field(nmethod,                     _scopes_pcs_offset,                            int)                                   \
   953   nonstatic_field(nmethod,                     _dependencies_offset,                          int)                                   \
   960   nonstatic_field(nmethod,                     _dependencies_offset,                          int)                                   \
   954   nonstatic_field(nmethod,                     _handler_table_offset,                         int)                                   \
   961   nonstatic_field(nmethod,                     _handler_table_offset,                         int)                                   \
   955   nonstatic_field(nmethod,                     _nul_chk_table_offset,                         int)                                   \
   962   nonstatic_field(nmethod,                     _nul_chk_table_offset,                         int)                                   \
   956   nonstatic_field(nmethod,                     _nmethod_end_offset,                           int)                                   \
   963   nonstatic_field(nmethod,                     _nmethod_end_offset,                           int)                                   \
   959   nonstatic_field(nmethod,                     _osr_entry_point,                              address)                               \
   966   nonstatic_field(nmethod,                     _osr_entry_point,                              address)                               \
   960   volatile_nonstatic_field(nmethod,            _lock_count,                                   jint)                                  \
   967   volatile_nonstatic_field(nmethod,            _lock_count,                                   jint)                                  \
   961   nonstatic_field(nmethod,                     _stack_traversal_mark,                         long)                                  \
   968   nonstatic_field(nmethod,                     _stack_traversal_mark,                         long)                                  \
   962   nonstatic_field(nmethod,                     _compile_id,                                   int)                                   \
   969   nonstatic_field(nmethod,                     _compile_id,                                   int)                                   \
   963   nonstatic_field(nmethod,                     _comp_level,                                   int)                                   \
   970   nonstatic_field(nmethod,                     _comp_level,                                   int)                                   \
   964   volatile_nonstatic_field(nmethod,            _exception_cache,                              ExceptionCache*)                       \
       
   965                                                                                                                                      \
   971                                                                                                                                      \
   966   unchecked_c2_static_field(Deoptimization,    _trap_reason_name,                             void*)                                 \
   972   unchecked_c2_static_field(Deoptimization,    _trap_reason_name,                             void*)                                 \
   967                                                                                                                                      \
   973                                                                                                                                      \
   968   nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame,                    int)                                   \
   974   nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame,                    int)                                   \
   969   nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment,                            int)                                   \
   975   nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment,                            int)                                   \
  1742   /*************************************************************/         \
  1748   /*************************************************************/         \
  1743                                                                           \
  1749                                                                           \
  1744   declare_toplevel_type(SharedRuntime)                                    \
  1750   declare_toplevel_type(SharedRuntime)                                    \
  1745                                                                           \
  1751                                                                           \
  1746   declare_toplevel_type(CodeBlob)                                         \
  1752   declare_toplevel_type(CodeBlob)                                         \
  1747   declare_type(BufferBlob,               CodeBlob)                        \
  1753   declare_type(RuntimeBlob,             CodeBlob)                        \
       
  1754   declare_type(BufferBlob,               RuntimeBlob)                    \
  1748   declare_type(AdapterBlob,              BufferBlob)                      \
  1755   declare_type(AdapterBlob,              BufferBlob)                      \
  1749   declare_type(MethodHandlesAdapterBlob, BufferBlob)                      \
  1756   declare_type(MethodHandlesAdapterBlob, BufferBlob)                      \
  1750   declare_type(nmethod,                  CodeBlob)                        \
  1757   declare_type(CompiledMethod,           CodeBlob)                        \
  1751   declare_type(RuntimeStub,              CodeBlob)                        \
  1758   declare_type(nmethod,                  CompiledMethod)                  \
  1752   declare_type(SingletonBlob,            CodeBlob)                        \
  1759   declare_type(RuntimeStub,              RuntimeBlob)                    \
       
  1760   declare_type(SingletonBlob,            RuntimeBlob)                    \
  1753   declare_type(SafepointBlob,            SingletonBlob)                   \
  1761   declare_type(SafepointBlob,            SingletonBlob)                   \
  1754   declare_type(DeoptimizationBlob,       SingletonBlob)                   \
  1762   declare_type(DeoptimizationBlob,       SingletonBlob)                   \
  1755   declare_c2_type(ExceptionBlob,         SingletonBlob)                   \
  1763   declare_c2_type(ExceptionBlob,         SingletonBlob)                   \
  1756   declare_c2_type(UncommonTrapBlob,      CodeBlob)                        \
  1764   declare_c2_type(UncommonTrapBlob,      RuntimeBlob)                        \
  1757                                                                           \
  1765                                                                           \
  1758   /***************************************/                               \
  1766   /***************************************/                               \
  1759   /* PcDesc and other compiled code info */                               \
  1767   /* PcDesc and other compiled code info */                               \
  1760   /***************************************/                               \
  1768   /***************************************/                               \
  1761                                                                           \
  1769                                                                           \
  2234   declare_toplevel_type(address)      /* FIXME: should this be an integer type? */\
  2242   declare_toplevel_type(address)      /* FIXME: should this be an integer type? */\
  2235    declare_integer_type(BasicType)   /* FIXME: wrong type (not integer) */\
  2243    declare_integer_type(BasicType)   /* FIXME: wrong type (not integer) */\
  2236   declare_toplevel_type(BreakpointInfo)                                   \
  2244   declare_toplevel_type(BreakpointInfo)                                   \
  2237   declare_toplevel_type(BreakpointInfo*)                                  \
  2245   declare_toplevel_type(BreakpointInfo*)                                  \
  2238   declare_toplevel_type(CodeBlob*)                                        \
  2246   declare_toplevel_type(CodeBlob*)                                        \
       
  2247   declare_toplevel_type(RuntimeBlob*)                                     \
  2239   declare_toplevel_type(CompressedWriteStream*)                           \
  2248   declare_toplevel_type(CompressedWriteStream*)                           \
  2240   declare_toplevel_type(ConstantPoolCacheEntry)                           \
  2249   declare_toplevel_type(ConstantPoolCacheEntry)                           \
  2241   declare_toplevel_type(elapsedTimer)                                     \
  2250   declare_toplevel_type(elapsedTimer)                                     \
  2242   declare_toplevel_type(frame)                                            \
  2251   declare_toplevel_type(frame)                                            \
  2243   declare_toplevel_type(intptr_t*)                                        \
  2252   declare_toplevel_type(intptr_t*)                                        \