< prev index next >

src/hotspot/share/runtime/vmStructs.cpp

Print this page

  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "cds/filemap.hpp"
  27 #include "classfile/classLoaderDataGraph.hpp"
  28 #include "classfile/javaClasses.hpp"
  29 #include "classfile/javaThreadStatus.hpp"
  30 #include "classfile/vmClasses.hpp"
  31 #include "classfile/vmSymbols.hpp"

  32 #include "code/codeBlob.hpp"
  33 #include "code/codeCache.hpp"
  34 #include "code/compiledIC.hpp"
  35 #include "code/compressedStream.hpp"
  36 #include "code/location.hpp"
  37 #include "code/nmethod.hpp"
  38 #include "code/pcDesc.hpp"
  39 #include "code/stubs.hpp"
  40 #include "code/vmreg.hpp"
  41 #include "compiler/compileBroker.hpp"
  42 #include "compiler/oopMap.hpp"
  43 #include "gc/shared/stringdedup/stringDedupThread.hpp"
  44 #include "gc/shared/vmStructs_gc.hpp"
  45 #include "interpreter/bytecodes.hpp"
  46 #include "interpreter/interpreter.hpp"
  47 #include "jfr/recorder/service/jfrRecorderThread.hpp"
  48 #include "logging/logAsyncWriter.hpp"
  49 #include "memory/allocation.inline.hpp"
  50 #include "memory/heap.hpp"
  51 #include "memory/padded.hpp"

 538   nonstatic_field(nmethod,                     _method,                                       Method*)                               \
 539   nonstatic_field(nmethod,                     _entry_bci,                                    int)                                   \
 540   nonstatic_field(nmethod,                     _osr_link,                                     nmethod*)                              \
 541   nonstatic_field(nmethod,                     _state,                                        volatile signed char)                  \
 542   nonstatic_field(nmethod,                     _exception_offset,                             int)                                   \
 543   nonstatic_field(nmethod,                     _deopt_handler_offset,                         int)                                   \
 544   nonstatic_field(nmethod,                     _deopt_mh_handler_offset,                      int)                                   \
 545   nonstatic_field(nmethod,                     _orig_pc_offset,                               int)                                   \
 546   nonstatic_field(nmethod,                     _stub_offset,                                  int)                                   \
 547   nonstatic_field(nmethod,                     _scopes_pcs_offset,                            int)                                   \
 548   nonstatic_field(nmethod,                     _scopes_data_offset,                           int)                                   \
 549   nonstatic_field(nmethod,                     _handler_table_offset,                         u2)                                    \
 550   nonstatic_field(nmethod,                     _nul_chk_table_offset,                         u2)                                    \
 551   nonstatic_field(nmethod,                     _entry_offset,                                 u2)                                    \
 552   nonstatic_field(nmethod,                     _verified_entry_offset,                        u2)                                    \
 553   nonstatic_field(nmethod,                     _osr_entry_point,                              address)                               \
 554   nonstatic_field(nmethod,                     _immutable_data,                               address)                               \
 555   nonstatic_field(nmethod,                     _immutable_data_size,                          int)                                   \
 556   nonstatic_field(nmethod,                     _compile_id,                                   int)                                   \
 557   nonstatic_field(nmethod,                     _comp_level,                                   CompLevel)                             \

 558   volatile_nonstatic_field(nmethod,            _exception_cache,                              ExceptionCache*)                       \
 559                                                                                                                                      \
 560   nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame,                    int)                                   \
 561   nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment,                            int)                                   \
 562   nonstatic_field(Deoptimization::UnrollBlock, _number_of_frames,                             int)                                   \
 563   nonstatic_field(Deoptimization::UnrollBlock, _total_frame_sizes,                            int)                                   \
 564   nonstatic_field(Deoptimization::UnrollBlock, _unpack_kind,                                  int)                                   \
 565   nonstatic_field(Deoptimization::UnrollBlock, _frame_sizes,                                  intptr_t*)                             \
 566   nonstatic_field(Deoptimization::UnrollBlock, _frame_pcs,                                    address*)                              \
 567   nonstatic_field(Deoptimization::UnrollBlock, _register_block,                               intptr_t*)                             \
 568   nonstatic_field(Deoptimization::UnrollBlock, _return_type,                                  BasicType)                             \
 569   nonstatic_field(Deoptimization::UnrollBlock, _initial_info,                                 intptr_t)                              \
 570   nonstatic_field(Deoptimization::UnrollBlock, _caller_actual_parameters,                     int)                                   \
 571                                                                                                                                      \
 572   /********************************/                                                                                                 \
 573   /* JavaCalls (NOTE: incomplete) */                                                                                                 \
 574   /********************************/                                                                                                 \
 575                                                                                                                                      \
 576   nonstatic_field(JavaCallWrapper,             _anchor,                                       JavaFrameAnchor)                       \
 577   /********************************/                                                                                                 \

1087   declare_type(nmethod,                  CodeBlob)                        \
1088   declare_type(RuntimeStub,              RuntimeBlob)                     \
1089   declare_type(SingletonBlob,            RuntimeBlob)                     \
1090   declare_type(UpcallStub,               RuntimeBlob)                     \
1091   declare_type(SafepointBlob,            SingletonBlob)                   \
1092   declare_type(DeoptimizationBlob,       SingletonBlob)                   \
1093   COMPILER2_PRESENT(declare_type(ExceptionBlob,    SingletonBlob))        \
1094   COMPILER2_PRESENT(declare_type(UncommonTrapBlob, RuntimeBlob))          \
1095                                                                           \
1096   /***************************************/                               \
1097   /* PcDesc and other compiled code info */                               \
1098   /***************************************/                               \
1099                                                                           \
1100   declare_toplevel_type(PcDesc)                                           \
1101   declare_toplevel_type(ExceptionCache)                                   \
1102   declare_toplevel_type(PcDescCache)                                      \
1103   declare_toplevel_type(Dependencies)                                     \
1104   declare_toplevel_type(CompileTask)                                      \
1105   declare_toplevel_type(Deoptimization)                                   \
1106   declare_toplevel_type(Deoptimization::UnrollBlock)                      \

1107                                                                           \
1108   /************************/                                              \
1109   /* ImmutableOopMap      */                                              \
1110   /************************/                                              \
1111                                                                           \
1112   declare_toplevel_type(ImmutableOopMapSet)                               \
1113   declare_toplevel_type(ImmutableOopMapPair)                              \
1114   declare_toplevel_type(ImmutableOopMap)                                  \
1115                                                                           \
1116   /********************/                                                  \
1117   /* CompressedStream */                                                  \
1118   /********************/                                                  \
1119                                                                           \
1120   declare_toplevel_type(CompressedStream)                                 \
1121                                                                           \
1122   /**************/                                                        \
1123   /* VMRegImpl  */                                                        \
1124   /**************/                                                        \
1125                                                                           \
1126   declare_toplevel_type(VMRegImpl)                                        \

  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "cds/filemap.hpp"
  27 #include "classfile/classLoaderDataGraph.hpp"
  28 #include "classfile/javaClasses.hpp"
  29 #include "classfile/javaThreadStatus.hpp"
  30 #include "classfile/vmClasses.hpp"
  31 #include "classfile/vmSymbols.hpp"
  32 #include "code/aotCodeCache.hpp"
  33 #include "code/codeBlob.hpp"
  34 #include "code/codeCache.hpp"
  35 #include "code/compiledIC.hpp"
  36 #include "code/compressedStream.hpp"
  37 #include "code/location.hpp"
  38 #include "code/nmethod.hpp"
  39 #include "code/pcDesc.hpp"
  40 #include "code/stubs.hpp"
  41 #include "code/vmreg.hpp"
  42 #include "compiler/compileBroker.hpp"
  43 #include "compiler/oopMap.hpp"
  44 #include "gc/shared/stringdedup/stringDedupThread.hpp"
  45 #include "gc/shared/vmStructs_gc.hpp"
  46 #include "interpreter/bytecodes.hpp"
  47 #include "interpreter/interpreter.hpp"
  48 #include "jfr/recorder/service/jfrRecorderThread.hpp"
  49 #include "logging/logAsyncWriter.hpp"
  50 #include "memory/allocation.inline.hpp"
  51 #include "memory/heap.hpp"
  52 #include "memory/padded.hpp"

 539   nonstatic_field(nmethod,                     _method,                                       Method*)                               \
 540   nonstatic_field(nmethod,                     _entry_bci,                                    int)                                   \
 541   nonstatic_field(nmethod,                     _osr_link,                                     nmethod*)                              \
 542   nonstatic_field(nmethod,                     _state,                                        volatile signed char)                  \
 543   nonstatic_field(nmethod,                     _exception_offset,                             int)                                   \
 544   nonstatic_field(nmethod,                     _deopt_handler_offset,                         int)                                   \
 545   nonstatic_field(nmethod,                     _deopt_mh_handler_offset,                      int)                                   \
 546   nonstatic_field(nmethod,                     _orig_pc_offset,                               int)                                   \
 547   nonstatic_field(nmethod,                     _stub_offset,                                  int)                                   \
 548   nonstatic_field(nmethod,                     _scopes_pcs_offset,                            int)                                   \
 549   nonstatic_field(nmethod,                     _scopes_data_offset,                           int)                                   \
 550   nonstatic_field(nmethod,                     _handler_table_offset,                         u2)                                    \
 551   nonstatic_field(nmethod,                     _nul_chk_table_offset,                         u2)                                    \
 552   nonstatic_field(nmethod,                     _entry_offset,                                 u2)                                    \
 553   nonstatic_field(nmethod,                     _verified_entry_offset,                        u2)                                    \
 554   nonstatic_field(nmethod,                     _osr_entry_point,                              address)                               \
 555   nonstatic_field(nmethod,                     _immutable_data,                               address)                               \
 556   nonstatic_field(nmethod,                     _immutable_data_size,                          int)                                   \
 557   nonstatic_field(nmethod,                     _compile_id,                                   int)                                   \
 558   nonstatic_field(nmethod,                     _comp_level,                                   CompLevel)                             \
 559   nonstatic_field(nmethod,                     _aot_code_entry,                               AOTCodeEntry*)                         \
 560   volatile_nonstatic_field(nmethod,            _exception_cache,                              ExceptionCache*)                       \
 561                                                                                                                                      \
 562   nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame,                    int)                                   \
 563   nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment,                            int)                                   \
 564   nonstatic_field(Deoptimization::UnrollBlock, _number_of_frames,                             int)                                   \
 565   nonstatic_field(Deoptimization::UnrollBlock, _total_frame_sizes,                            int)                                   \
 566   nonstatic_field(Deoptimization::UnrollBlock, _unpack_kind,                                  int)                                   \
 567   nonstatic_field(Deoptimization::UnrollBlock, _frame_sizes,                                  intptr_t*)                             \
 568   nonstatic_field(Deoptimization::UnrollBlock, _frame_pcs,                                    address*)                              \
 569   nonstatic_field(Deoptimization::UnrollBlock, _register_block,                               intptr_t*)                             \
 570   nonstatic_field(Deoptimization::UnrollBlock, _return_type,                                  BasicType)                             \
 571   nonstatic_field(Deoptimization::UnrollBlock, _initial_info,                                 intptr_t)                              \
 572   nonstatic_field(Deoptimization::UnrollBlock, _caller_actual_parameters,                     int)                                   \
 573                                                                                                                                      \
 574   /********************************/                                                                                                 \
 575   /* JavaCalls (NOTE: incomplete) */                                                                                                 \
 576   /********************************/                                                                                                 \
 577                                                                                                                                      \
 578   nonstatic_field(JavaCallWrapper,             _anchor,                                       JavaFrameAnchor)                       \
 579   /********************************/                                                                                                 \

1089   declare_type(nmethod,                  CodeBlob)                        \
1090   declare_type(RuntimeStub,              RuntimeBlob)                     \
1091   declare_type(SingletonBlob,            RuntimeBlob)                     \
1092   declare_type(UpcallStub,               RuntimeBlob)                     \
1093   declare_type(SafepointBlob,            SingletonBlob)                   \
1094   declare_type(DeoptimizationBlob,       SingletonBlob)                   \
1095   COMPILER2_PRESENT(declare_type(ExceptionBlob,    SingletonBlob))        \
1096   COMPILER2_PRESENT(declare_type(UncommonTrapBlob, RuntimeBlob))          \
1097                                                                           \
1098   /***************************************/                               \
1099   /* PcDesc and other compiled code info */                               \
1100   /***************************************/                               \
1101                                                                           \
1102   declare_toplevel_type(PcDesc)                                           \
1103   declare_toplevel_type(ExceptionCache)                                   \
1104   declare_toplevel_type(PcDescCache)                                      \
1105   declare_toplevel_type(Dependencies)                                     \
1106   declare_toplevel_type(CompileTask)                                      \
1107   declare_toplevel_type(Deoptimization)                                   \
1108   declare_toplevel_type(Deoptimization::UnrollBlock)                      \
1109   declare_toplevel_type(AOTCodeEntry)                                     \
1110                                                                           \
1111   /************************/                                              \
1112   /* ImmutableOopMap      */                                              \
1113   /************************/                                              \
1114                                                                           \
1115   declare_toplevel_type(ImmutableOopMapSet)                               \
1116   declare_toplevel_type(ImmutableOopMapPair)                              \
1117   declare_toplevel_type(ImmutableOopMap)                                  \
1118                                                                           \
1119   /********************/                                                  \
1120   /* CompressedStream */                                                  \
1121   /********************/                                                  \
1122                                                                           \
1123   declare_toplevel_type(CompressedStream)                                 \
1124                                                                           \
1125   /**************/                                                        \
1126   /* VMRegImpl  */                                                        \
1127   /**************/                                                        \
1128                                                                           \
1129   declare_toplevel_type(VMRegImpl)                                        \
< prev index next >