11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "cds/filemap.hpp"
26 #include "classfile/classLoaderDataGraph.hpp"
27 #include "classfile/javaClasses.hpp"
28 #include "classfile/javaThreadStatus.hpp"
29 #include "classfile/vmClasses.hpp"
30 #include "classfile/vmSymbols.hpp"
31 #include "code/codeBlob.hpp"
32 #include "code/codeCache.hpp"
33 #include "code/compiledIC.hpp"
34 #include "code/compressedStream.hpp"
35 #include "code/location.hpp"
36 #include "code/nmethod.hpp"
37 #include "code/pcDesc.hpp"
38 #include "code/stubs.hpp"
39 #include "code/vmreg.hpp"
40 #include "compiler/compileBroker.hpp"
41 #include "compiler/oopMap.hpp"
42 #include "gc/shared/stringdedup/stringDedupThread.hpp"
43 #include "gc/shared/vmStructs_gc.hpp"
44 #include "interpreter/bytecodes.hpp"
45 #include "interpreter/interpreter.hpp"
46 #include "jfr/recorder/service/jfrRecorderThread.hpp"
47 #include "logging/logAsyncWriter.hpp"
48 #include "memory/allocation.inline.hpp"
49 #include "memory/heap.hpp"
50 #include "memory/padded.hpp"
532 \
533 nonstatic_field(nmethod, _method, Method*) \
534 nonstatic_field(nmethod, _entry_bci, int) \
535 nonstatic_field(nmethod, _osr_link, nmethod*) \
536 nonstatic_field(nmethod, _state, volatile signed char) \
537 nonstatic_field(nmethod, _exception_offset, int) \
538 nonstatic_field(nmethod, _deopt_handler_offset, int) \
539 nonstatic_field(nmethod, _orig_pc_offset, int) \
540 nonstatic_field(nmethod, _stub_offset, int) \
541 nonstatic_field(nmethod, _scopes_pcs_offset, int) \
542 nonstatic_field(nmethod, _scopes_data_offset, int) \
543 nonstatic_field(nmethod, _handler_table_offset, u2) \
544 nonstatic_field(nmethod, _nul_chk_table_offset, u2) \
545 nonstatic_field(nmethod, _entry_offset, u2) \
546 nonstatic_field(nmethod, _verified_entry_offset, u2) \
547 nonstatic_field(nmethod, _osr_entry_point, address) \
548 nonstatic_field(nmethod, _immutable_data, address) \
549 nonstatic_field(nmethod, _immutable_data_size, int) \
550 nonstatic_field(nmethod, _compile_id, int) \
551 nonstatic_field(nmethod, _comp_level, CompLevel) \
552 volatile_nonstatic_field(nmethod, _exception_cache, ExceptionCache*) \
553 \
554 nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame, int) \
555 nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment, int) \
556 nonstatic_field(Deoptimization::UnrollBlock, _number_of_frames, int) \
557 nonstatic_field(Deoptimization::UnrollBlock, _total_frame_sizes, int) \
558 nonstatic_field(Deoptimization::UnrollBlock, _unpack_kind, int) \
559 nonstatic_field(Deoptimization::UnrollBlock, _frame_sizes, intptr_t*) \
560 nonstatic_field(Deoptimization::UnrollBlock, _frame_pcs, address*) \
561 nonstatic_field(Deoptimization::UnrollBlock, _register_block, intptr_t*) \
562 nonstatic_field(Deoptimization::UnrollBlock, _return_type, BasicType) \
563 nonstatic_field(Deoptimization::UnrollBlock, _initial_info, intptr_t) \
564 nonstatic_field(Deoptimization::UnrollBlock, _caller_actual_parameters, int) \
565 \
566 /********************************/ \
567 /* JavaCalls (NOTE: incomplete) */ \
568 /********************************/ \
569 \
570 nonstatic_field(JavaCallWrapper, _anchor, JavaFrameAnchor) \
571 /********************************/ \
572 /* JavaFrameAnchor (NOTE: incomplete) */ \
573 /********************************/ \
1086 declare_type(nmethod, CodeBlob) \
1087 declare_type(RuntimeStub, RuntimeBlob) \
1088 declare_type(SingletonBlob, RuntimeBlob) \
1089 declare_type(UpcallStub, RuntimeBlob) \
1090 declare_type(SafepointBlob, SingletonBlob) \
1091 declare_type(DeoptimizationBlob, SingletonBlob) \
1092 COMPILER2_PRESENT(declare_type(ExceptionBlob, SingletonBlob)) \
1093 COMPILER2_PRESENT(declare_type(UncommonTrapBlob, RuntimeBlob)) \
1094 \
1095 /***************************************/ \
1096 /* PcDesc and other compiled code info */ \
1097 /***************************************/ \
1098 \
1099 declare_toplevel_type(PcDesc) \
1100 declare_toplevel_type(ExceptionCache) \
1101 declare_toplevel_type(PcDescCache) \
1102 declare_toplevel_type(Dependencies) \
1103 declare_toplevel_type(CompileTask) \
1104 declare_toplevel_type(Deoptimization) \
1105 declare_toplevel_type(Deoptimization::UnrollBlock) \
1106 \
1107 /************************/ \
1108 /* ImmutableOopMap */ \
1109 /************************/ \
1110 \
1111 declare_toplevel_type(ImmutableOopMapSet) \
1112 declare_toplevel_type(ImmutableOopMapPair) \
1113 declare_toplevel_type(ImmutableOopMap) \
1114 \
1115 /********************/ \
1116 /* CompressedStream */ \
1117 /********************/ \
1118 \
1119 declare_toplevel_type(CompressedStream) \
1120 \
1121 /**************/ \
1122 /* VMRegImpl */ \
1123 /**************/ \
1124 \
1125 declare_toplevel_type(VMRegImpl) \
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "cds/filemap.hpp"
26 #include "classfile/classLoaderDataGraph.hpp"
27 #include "classfile/javaClasses.hpp"
28 #include "classfile/javaThreadStatus.hpp"
29 #include "classfile/vmClasses.hpp"
30 #include "classfile/vmSymbols.hpp"
31 #include "code/aotCodeCache.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"
533 \
534 nonstatic_field(nmethod, _method, Method*) \
535 nonstatic_field(nmethod, _entry_bci, int) \
536 nonstatic_field(nmethod, _osr_link, nmethod*) \
537 nonstatic_field(nmethod, _state, volatile signed char) \
538 nonstatic_field(nmethod, _exception_offset, int) \
539 nonstatic_field(nmethod, _deopt_handler_offset, int) \
540 nonstatic_field(nmethod, _orig_pc_offset, int) \
541 nonstatic_field(nmethod, _stub_offset, int) \
542 nonstatic_field(nmethod, _scopes_pcs_offset, int) \
543 nonstatic_field(nmethod, _scopes_data_offset, int) \
544 nonstatic_field(nmethod, _handler_table_offset, u2) \
545 nonstatic_field(nmethod, _nul_chk_table_offset, u2) \
546 nonstatic_field(nmethod, _entry_offset, u2) \
547 nonstatic_field(nmethod, _verified_entry_offset, u2) \
548 nonstatic_field(nmethod, _osr_entry_point, address) \
549 nonstatic_field(nmethod, _immutable_data, address) \
550 nonstatic_field(nmethod, _immutable_data_size, int) \
551 nonstatic_field(nmethod, _compile_id, int) \
552 nonstatic_field(nmethod, _comp_level, CompLevel) \
553 nonstatic_field(nmethod, _aot_code_entry, AOTCodeEntry*) \
554 volatile_nonstatic_field(nmethod, _exception_cache, ExceptionCache*) \
555 \
556 nonstatic_field(AOTCodeEntry, _for_preload, bool) \
557 \
558 nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame, int) \
559 nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment, int) \
560 nonstatic_field(Deoptimization::UnrollBlock, _number_of_frames, int) \
561 nonstatic_field(Deoptimization::UnrollBlock, _total_frame_sizes, int) \
562 nonstatic_field(Deoptimization::UnrollBlock, _unpack_kind, int) \
563 nonstatic_field(Deoptimization::UnrollBlock, _frame_sizes, intptr_t*) \
564 nonstatic_field(Deoptimization::UnrollBlock, _frame_pcs, address*) \
565 nonstatic_field(Deoptimization::UnrollBlock, _register_block, intptr_t*) \
566 nonstatic_field(Deoptimization::UnrollBlock, _return_type, BasicType) \
567 nonstatic_field(Deoptimization::UnrollBlock, _initial_info, intptr_t) \
568 nonstatic_field(Deoptimization::UnrollBlock, _caller_actual_parameters, int) \
569 \
570 /********************************/ \
571 /* JavaCalls (NOTE: incomplete) */ \
572 /********************************/ \
573 \
574 nonstatic_field(JavaCallWrapper, _anchor, JavaFrameAnchor) \
575 /********************************/ \
576 /* JavaFrameAnchor (NOTE: incomplete) */ \
577 /********************************/ \
1090 declare_type(nmethod, CodeBlob) \
1091 declare_type(RuntimeStub, RuntimeBlob) \
1092 declare_type(SingletonBlob, RuntimeBlob) \
1093 declare_type(UpcallStub, RuntimeBlob) \
1094 declare_type(SafepointBlob, SingletonBlob) \
1095 declare_type(DeoptimizationBlob, SingletonBlob) \
1096 COMPILER2_PRESENT(declare_type(ExceptionBlob, SingletonBlob)) \
1097 COMPILER2_PRESENT(declare_type(UncommonTrapBlob, RuntimeBlob)) \
1098 \
1099 /***************************************/ \
1100 /* PcDesc and other compiled code info */ \
1101 /***************************************/ \
1102 \
1103 declare_toplevel_type(PcDesc) \
1104 declare_toplevel_type(ExceptionCache) \
1105 declare_toplevel_type(PcDescCache) \
1106 declare_toplevel_type(Dependencies) \
1107 declare_toplevel_type(CompileTask) \
1108 declare_toplevel_type(Deoptimization) \
1109 declare_toplevel_type(Deoptimization::UnrollBlock) \
1110 declare_toplevel_type(AOTCodeEntry) \
1111 \
1112 /************************/ \
1113 /* ImmutableOopMap */ \
1114 /************************/ \
1115 \
1116 declare_toplevel_type(ImmutableOopMapSet) \
1117 declare_toplevel_type(ImmutableOopMapPair) \
1118 declare_toplevel_type(ImmutableOopMap) \
1119 \
1120 /********************/ \
1121 /* CompressedStream */ \
1122 /********************/ \
1123 \
1124 declare_toplevel_type(CompressedStream) \
1125 \
1126 /**************/ \
1127 /* VMRegImpl */ \
1128 /**************/ \
1129 \
1130 declare_toplevel_type(VMRegImpl) \
|