1101 nonstatic_field(Array<int>, _length, int) \ 1102 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ 1103 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ 1104 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ 1105 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ 1106 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ 1107 \ 1108 /*********************************/ \ 1109 /* java_lang_Class fields */ \ 1110 /*********************************/ \ 1111 \ 1112 static_field(java_lang_Class, _klass_offset, int) \ 1113 static_field(java_lang_Class, _array_klass_offset, int) \ 1114 static_field(java_lang_Class, _oop_size_offset, int) \ 1115 static_field(java_lang_Class, _static_oop_field_count_offset, int) \ 1116 \ 1117 /********************************************/ \ 1118 /* FileMapInfo fields (CDS archive related) */ \ 1119 /********************************************/ \ 1120 \ 1121 CDS_ONLY(nonstatic_field(FileMapInfo, _header, FileMapInfo::FileMapHeader*)) \ 1122 CDS_ONLY( static_field(FileMapInfo, _current_info, FileMapInfo*)) \ 1123 CDS_ONLY(nonstatic_field(FileMapInfo::FileMapHeader, _space[0], FileMapInfo::FileMapHeader::space_info))\ 1124 CDS_ONLY(nonstatic_field(FileMapInfo::FileMapHeader::space_info, _addr._base, char*)) \ 1125 CDS_ONLY(nonstatic_field(FileMapInfo::FileMapHeader::space_info, _used, size_t)) \ 1126 \ 1127 /******************/ \ 1128 /* VMError fields */ \ 1129 /******************/ \ 1130 \ 1131 static_field(VMError, _thread, Thread*) \ 1132 \ 1133 /************************/ \ 1134 /* Miscellaneous fields */ \ 1135 /************************/ \ 1136 \ 1137 nonstatic_field(CompileTask, _method, Method*) \ 1138 nonstatic_field(CompileTask, _osr_bci, int) \ 1139 nonstatic_field(CompileTask, _comp_level, int) \ 1140 nonstatic_field(CompileTask, _compile_id, uint) \ 1141 nonstatic_field(CompileTask, _num_inlined_bytecodes, int) \ 1142 nonstatic_field(CompileTask, _next, CompileTask*) \ 1143 nonstatic_field(CompileTask, _prev, CompileTask*) \ 1144 \ 1145 nonstatic_field(vframeArray, _next, vframeArray*) \ 1988 declare_toplevel_type(nmethod*) \ 1989 COMPILER2_PRESENT(declare_unsigned_integer_type(node_idx_t)) \ 1990 declare_toplevel_type(ObjectMonitor*) \ 1991 declare_toplevel_type(PaddedObjectMonitor*) \ 1992 declare_toplevel_type(oop*) \ 1993 declare_toplevel_type(OopMap**) \ 1994 declare_toplevel_type(OopMapCache*) \ 1995 declare_toplevel_type(OopMapSet*) \ 1996 declare_toplevel_type(VMReg) \ 1997 declare_toplevel_type(OSThread*) \ 1998 declare_integer_type(ReferenceType) \ 1999 declare_toplevel_type(StubQueue*) \ 2000 declare_toplevel_type(Thread*) \ 2001 declare_toplevel_type(Universe) \ 2002 declare_toplevel_type(os) \ 2003 declare_toplevel_type(vframeArray) \ 2004 declare_toplevel_type(vframeArrayElement) \ 2005 declare_toplevel_type(Annotations*) \ 2006 declare_type(OopMapValue, StackObj) \ 2007 declare_type(FileMapInfo, CHeapObj<mtInternal>) \ 2008 declare_type(FileMapInfo::FileMapHeaderBase, CHeapObj<mtClass>) \ 2009 declare_type(FileMapInfo::FileMapHeader, FileMapInfo::FileMapHeaderBase)\ 2010 declare_toplevel_type(FileMapInfo::FileMapHeader::space_info) \ 2011 \ 2012 /************/ \ 2013 /* GC types */ \ 2014 /************/ \ 2015 \ 2016 VM_TYPES_GC(declare_type, \ 2017 declare_toplevel_type, \ 2018 declare_integer_type) 2019 2020 //-------------------------------------------------------------------------------- 2021 // VM_INT_CONSTANTS 2022 // 2023 // This table contains integer constants required over in the 2024 // serviceability agent. The "declare_constant" macro is used for all 2025 // enums, etc., while "declare_preprocessor_constant" must be used for 2026 // all #defined constants. 2027 2028 #define VM_INT_CONSTANTS(declare_constant, \ 2029 declare_constant_with_value, \ 2030 declare_preprocessor_constant, \ | 1101 nonstatic_field(Array<int>, _length, int) \ 1102 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ 1103 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ 1104 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ 1105 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ 1106 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ 1107 \ 1108 /*********************************/ \ 1109 /* java_lang_Class fields */ \ 1110 /*********************************/ \ 1111 \ 1112 static_field(java_lang_Class, _klass_offset, int) \ 1113 static_field(java_lang_Class, _array_klass_offset, int) \ 1114 static_field(java_lang_Class, _oop_size_offset, int) \ 1115 static_field(java_lang_Class, _static_oop_field_count_offset, int) \ 1116 \ 1117 /********************************************/ \ 1118 /* FileMapInfo fields (CDS archive related) */ \ 1119 /********************************************/ \ 1120 \ 1121 CDS_ONLY(nonstatic_field(FileMapInfo, _header, FileMapHeader*)) \ 1122 CDS_ONLY( static_field(FileMapInfo, _current_info, FileMapInfo*)) \ 1123 CDS_ONLY(nonstatic_field(FileMapHeader, _space[0], CDSFileMapRegion)) \ 1124 CDS_ONLY(nonstatic_field(CDSFileMapRegion, _addr._base, char*)) \ 1125 CDS_ONLY(nonstatic_field(CDSFileMapRegion, _used, size_t)) \ 1126 \ 1127 /******************/ \ 1128 /* VMError fields */ \ 1129 /******************/ \ 1130 \ 1131 static_field(VMError, _thread, Thread*) \ 1132 \ 1133 /************************/ \ 1134 /* Miscellaneous fields */ \ 1135 /************************/ \ 1136 \ 1137 nonstatic_field(CompileTask, _method, Method*) \ 1138 nonstatic_field(CompileTask, _osr_bci, int) \ 1139 nonstatic_field(CompileTask, _comp_level, int) \ 1140 nonstatic_field(CompileTask, _compile_id, uint) \ 1141 nonstatic_field(CompileTask, _num_inlined_bytecodes, int) \ 1142 nonstatic_field(CompileTask, _next, CompileTask*) \ 1143 nonstatic_field(CompileTask, _prev, CompileTask*) \ 1144 \ 1145 nonstatic_field(vframeArray, _next, vframeArray*) \ 1988 declare_toplevel_type(nmethod*) \ 1989 COMPILER2_PRESENT(declare_unsigned_integer_type(node_idx_t)) \ 1990 declare_toplevel_type(ObjectMonitor*) \ 1991 declare_toplevel_type(PaddedObjectMonitor*) \ 1992 declare_toplevel_type(oop*) \ 1993 declare_toplevel_type(OopMap**) \ 1994 declare_toplevel_type(OopMapCache*) \ 1995 declare_toplevel_type(OopMapSet*) \ 1996 declare_toplevel_type(VMReg) \ 1997 declare_toplevel_type(OSThread*) \ 1998 declare_integer_type(ReferenceType) \ 1999 declare_toplevel_type(StubQueue*) \ 2000 declare_toplevel_type(Thread*) \ 2001 declare_toplevel_type(Universe) \ 2002 declare_toplevel_type(os) \ 2003 declare_toplevel_type(vframeArray) \ 2004 declare_toplevel_type(vframeArrayElement) \ 2005 declare_toplevel_type(Annotations*) \ 2006 declare_type(OopMapValue, StackObj) \ 2007 declare_type(FileMapInfo, CHeapObj<mtInternal>) \ 2008 declare_toplevel_type(FileMapHeader) \ 2009 declare_toplevel_type(CDSFileMapRegion) \ 2010 \ 2011 /************/ \ 2012 /* GC types */ \ 2013 /************/ \ 2014 \ 2015 VM_TYPES_GC(declare_type, \ 2016 declare_toplevel_type, \ 2017 declare_integer_type) 2018 2019 //-------------------------------------------------------------------------------- 2020 // VM_INT_CONSTANTS 2021 // 2022 // This table contains integer constants required over in the 2023 // serviceability agent. The "declare_constant" macro is used for all 2024 // enums, etc., while "declare_preprocessor_constant" must be used for 2025 // all #defined constants. 2026 2027 #define VM_INT_CONSTANTS(declare_constant, \ 2028 declare_constant_with_value, \ 2029 declare_preprocessor_constant, \ |