1078 nonstatic_field(Array<int>, _length, int) \ 1079 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ 1080 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ 1081 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ 1082 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ 1083 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ 1084 \ 1085 /*********************************/ \ 1086 /* java_lang_Class fields */ \ 1087 /*********************************/ \ 1088 \ 1089 static_field(java_lang_Class, _klass_offset, int) \ 1090 static_field(java_lang_Class, _array_klass_offset, int) \ 1091 static_field(java_lang_Class, _oop_size_offset, int) \ 1092 static_field(java_lang_Class, _static_oop_field_count_offset, int) \ 1093 \ 1094 /********************************************/ \ 1095 /* FileMapInfo fields (CDS archive related) */ \ 1096 /********************************************/ \ 1097 \ 1098 CDS_ONLY(nonstatic_field(FileMapInfo, _header, FileMapInfo::FileMapHeader*)) \ 1099 CDS_ONLY( static_field(FileMapInfo, _current_info, FileMapInfo*)) \ 1100 CDS_ONLY(nonstatic_field(FileMapInfo::FileMapHeader, _space[0], FileMapInfo::FileMapHeader::space_info))\ 1101 CDS_ONLY(nonstatic_field(FileMapInfo::FileMapHeader::space_info, _addr._base, char*)) \ 1102 CDS_ONLY(nonstatic_field(FileMapInfo::FileMapHeader::space_info, _used, size_t)) \ 1103 \ 1104 /******************/ \ 1105 /* VMError fields */ \ 1106 /******************/ \ 1107 \ 1108 static_field(VMError, _thread, Thread*) \ 1109 \ 1110 /************************/ \ 1111 /* Miscellaneous fields */ \ 1112 /************************/ \ 1113 \ 1114 nonstatic_field(CompileTask, _method, Method*) \ 1115 nonstatic_field(CompileTask, _osr_bci, int) \ 1116 nonstatic_field(CompileTask, _comp_level, int) \ 1117 nonstatic_field(CompileTask, _compile_id, uint) \ 1118 nonstatic_field(CompileTask, _num_inlined_bytecodes, int) \ 1119 nonstatic_field(CompileTask, _next, CompileTask*) \ 1120 nonstatic_field(CompileTask, _prev, CompileTask*) \ 1121 \ 1122 nonstatic_field(vframeArray, _next, vframeArray*) \ 1961 declare_toplevel_type(nmethod*) \ 1962 COMPILER2_PRESENT(declare_unsigned_integer_type(node_idx_t)) \ 1963 declare_toplevel_type(ObjectMonitor*) \ 1964 declare_toplevel_type(PaddedObjectMonitor*) \ 1965 declare_toplevel_type(oop*) \ 1966 declare_toplevel_type(OopMap**) \ 1967 declare_toplevel_type(OopMapCache*) \ 1968 declare_toplevel_type(OopMapSet*) \ 1969 declare_toplevel_type(VMReg) \ 1970 declare_toplevel_type(OSThread*) \ 1971 declare_integer_type(ReferenceType) \ 1972 declare_toplevel_type(StubQueue*) \ 1973 declare_toplevel_type(Thread*) \ 1974 declare_toplevel_type(Universe) \ 1975 declare_toplevel_type(os) \ 1976 declare_toplevel_type(vframeArray) \ 1977 declare_toplevel_type(vframeArrayElement) \ 1978 declare_toplevel_type(Annotations*) \ 1979 declare_type(OopMapValue, StackObj) \ 1980 declare_type(FileMapInfo, CHeapObj<mtInternal>) \ 1981 declare_type(FileMapInfo::FileMapHeaderBase, CHeapObj<mtClass>) \ 1982 declare_type(FileMapInfo::FileMapHeader, FileMapInfo::FileMapHeaderBase)\ 1983 declare_toplevel_type(FileMapInfo::FileMapHeader::space_info) \ 1984 \ 1985 /************/ \ 1986 /* GC types */ \ 1987 /************/ \ 1988 \ 1989 VM_TYPES_GC(declare_type, \ 1990 declare_toplevel_type, \ 1991 declare_integer_type) 1992 1993 //-------------------------------------------------------------------------------- 1994 // VM_INT_CONSTANTS 1995 // 1996 // This table contains integer constants required over in the 1997 // serviceability agent. The "declare_constant" macro is used for all 1998 // enums, etc., while "declare_preprocessor_constant" must be used for 1999 // all #defined constants. 2000 2001 #define VM_INT_CONSTANTS(declare_constant, \ 2002 declare_constant_with_value, \ 2003 declare_preprocessor_constant, \ | 1078 nonstatic_field(Array<int>, _length, int) \ 1079 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ 1080 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ 1081 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ 1082 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ 1083 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ 1084 \ 1085 /*********************************/ \ 1086 /* java_lang_Class fields */ \ 1087 /*********************************/ \ 1088 \ 1089 static_field(java_lang_Class, _klass_offset, int) \ 1090 static_field(java_lang_Class, _array_klass_offset, int) \ 1091 static_field(java_lang_Class, _oop_size_offset, int) \ 1092 static_field(java_lang_Class, _static_oop_field_count_offset, int) \ 1093 \ 1094 /********************************************/ \ 1095 /* FileMapInfo fields (CDS archive related) */ \ 1096 /********************************************/ \ 1097 \ 1098 CDS_ONLY(nonstatic_field(FileMapInfo, _header, FileMapHeader*)) \ 1099 CDS_ONLY( static_field(FileMapInfo, _current_info, FileMapInfo*)) \ 1100 CDS_ONLY(nonstatic_field(FileMapHeader, _space[0], CDSFileMapRegion)) \ 1101 CDS_ONLY(nonstatic_field(CDSFileMapRegion, _addr._base, char*)) \ 1102 CDS_ONLY(nonstatic_field(CDSFileMapRegion, _used, size_t)) \ 1103 \ 1104 /******************/ \ 1105 /* VMError fields */ \ 1106 /******************/ \ 1107 \ 1108 static_field(VMError, _thread, Thread*) \ 1109 \ 1110 /************************/ \ 1111 /* Miscellaneous fields */ \ 1112 /************************/ \ 1113 \ 1114 nonstatic_field(CompileTask, _method, Method*) \ 1115 nonstatic_field(CompileTask, _osr_bci, int) \ 1116 nonstatic_field(CompileTask, _comp_level, int) \ 1117 nonstatic_field(CompileTask, _compile_id, uint) \ 1118 nonstatic_field(CompileTask, _num_inlined_bytecodes, int) \ 1119 nonstatic_field(CompileTask, _next, CompileTask*) \ 1120 nonstatic_field(CompileTask, _prev, CompileTask*) \ 1121 \ 1122 nonstatic_field(vframeArray, _next, vframeArray*) \ 1961 declare_toplevel_type(nmethod*) \ 1962 COMPILER2_PRESENT(declare_unsigned_integer_type(node_idx_t)) \ 1963 declare_toplevel_type(ObjectMonitor*) \ 1964 declare_toplevel_type(PaddedObjectMonitor*) \ 1965 declare_toplevel_type(oop*) \ 1966 declare_toplevel_type(OopMap**) \ 1967 declare_toplevel_type(OopMapCache*) \ 1968 declare_toplevel_type(OopMapSet*) \ 1969 declare_toplevel_type(VMReg) \ 1970 declare_toplevel_type(OSThread*) \ 1971 declare_integer_type(ReferenceType) \ 1972 declare_toplevel_type(StubQueue*) \ 1973 declare_toplevel_type(Thread*) \ 1974 declare_toplevel_type(Universe) \ 1975 declare_toplevel_type(os) \ 1976 declare_toplevel_type(vframeArray) \ 1977 declare_toplevel_type(vframeArrayElement) \ 1978 declare_toplevel_type(Annotations*) \ 1979 declare_type(OopMapValue, StackObj) \ 1980 declare_type(FileMapInfo, CHeapObj<mtInternal>) \ 1981 declare_toplevel_type(FileMapHeader) \ 1982 declare_toplevel_type(CDSFileMapRegion) \ 1983 \ 1984 /************/ \ 1985 /* GC types */ \ 1986 /************/ \ 1987 \ 1988 VM_TYPES_GC(declare_type, \ 1989 declare_toplevel_type, \ 1990 declare_integer_type) 1991 1992 //-------------------------------------------------------------------------------- 1993 // VM_INT_CONSTANTS 1994 // 1995 // This table contains integer constants required over in the 1996 // serviceability agent. The "declare_constant" macro is used for all 1997 // enums, etc., while "declare_preprocessor_constant" must be used for 1998 // all #defined constants. 1999 2000 #define VM_INT_CONSTANTS(declare_constant, \ 2001 declare_constant_with_value, \ 2002 declare_preprocessor_constant, \ |