Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: tools/v8heapconst.py

Issue 2824853003: Revert of Introduce mkgrokdump to update tools/v8heapconst.py. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/run-tests.py ('k') | tools/v8heapconst.py.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 the V8 project authors. All rights reserved. 1 # Copyright 2017 the V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can 2 # Use of this source code is governed by a BSD-style license that can
3 # be found in the LICENSE file. 3 # be found in the LICENSE file.
4 4
5 # This file is automatically generated by mkgrokdump and should not
6 # be modified manually.
7
8 # List of known V8 instance types. 5 # List of known V8 instance types.
9 INSTANCE_TYPES = { 6 INSTANCE_TYPES = {
10 0: "INTERNALIZED_STRING_TYPE", 7 0: "INTERNALIZED_STRING_TYPE",
11 2: "EXTERNAL_INTERNALIZED_STRING_TYPE", 8 2: "EXTERNAL_INTERNALIZED_STRING_TYPE",
12 8: "ONE_BYTE_INTERNALIZED_STRING_TYPE", 9 8: "ONE_BYTE_INTERNALIZED_STRING_TYPE",
13 10: "EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE", 10 10: "EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE",
14 18: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", 11 18: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE",
15 34: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE", 12 34: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE",
16 42: "SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE", 13 42: "SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE",
17 50: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", 14 50: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE",
(...skipping 29 matching lines...) Expand all
47 143: "FIXED_UINT32_ARRAY_TYPE", 44 143: "FIXED_UINT32_ARRAY_TYPE",
48 144: "FIXED_FLOAT32_ARRAY_TYPE", 45 144: "FIXED_FLOAT32_ARRAY_TYPE",
49 145: "FIXED_FLOAT64_ARRAY_TYPE", 46 145: "FIXED_FLOAT64_ARRAY_TYPE",
50 146: "FIXED_UINT8_CLAMPED_ARRAY_TYPE", 47 146: "FIXED_UINT8_CLAMPED_ARRAY_TYPE",
51 147: "FIXED_DOUBLE_ARRAY_TYPE", 48 147: "FIXED_DOUBLE_ARRAY_TYPE",
52 148: "FILLER_TYPE", 49 148: "FILLER_TYPE",
53 149: "ACCESSOR_INFO_TYPE", 50 149: "ACCESSOR_INFO_TYPE",
54 150: "ACCESSOR_PAIR_TYPE", 51 150: "ACCESSOR_PAIR_TYPE",
55 151: "ACCESS_CHECK_INFO_TYPE", 52 151: "ACCESS_CHECK_INFO_TYPE",
56 152: "INTERCEPTOR_INFO_TYPE", 53 152: "INTERCEPTOR_INFO_TYPE",
57 153: "FUNCTION_TEMPLATE_INFO_TYPE", 54 153: "CALL_HANDLER_INFO_TYPE",
58 154: "OBJECT_TEMPLATE_INFO_TYPE", 55 154: "FUNCTION_TEMPLATE_INFO_TYPE",
59 155: "ALLOCATION_SITE_TYPE", 56 155: "OBJECT_TEMPLATE_INFO_TYPE",
60 156: "ALLOCATION_MEMENTO_TYPE", 57 156: "ALLOCATION_SITE_TYPE",
61 157: "SCRIPT_TYPE", 58 157: "ALLOCATION_MEMENTO_TYPE",
62 158: "ALIASED_ARGUMENTS_ENTRY_TYPE", 59 158: "SCRIPT_TYPE",
63 159: "PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE", 60 159: "TYPE_FEEDBACK_INFO_TYPE",
64 160: "PROMISE_REACTION_JOB_INFO_TYPE", 61 160: "ALIASED_ARGUMENTS_ENTRY_TYPE",
65 161: "DEBUG_INFO_TYPE", 62 161: "PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE",
66 162: "STACK_FRAME_INFO_TYPE", 63 162: "PROMISE_REACTION_JOB_INFO_TYPE",
67 163: "PROTOTYPE_INFO_TYPE", 64 163: "DEBUG_INFO_TYPE",
68 164: "TUPLE2_TYPE", 65 164: "BREAK_POINT_INFO_TYPE",
69 165: "TUPLE3_TYPE", 66 165: "PROTOTYPE_INFO_TYPE",
70 166: "CONTEXT_EXTENSION_TYPE", 67 166: "TUPLE2_TYPE",
71 167: "MODULE_TYPE", 68 167: "TUPLE3_TYPE",
72 168: "MODULE_INFO_ENTRY_TYPE", 69 168: "CONTEXT_EXTENSION_TYPE",
73 169: "ASYNC_GENERATOR_REQUEST_TYPE", 70 169: "CONSTANT_ELEMENTS_PAIR_TYPE",
74 170: "FIXED_ARRAY_TYPE", 71 170: "MODULE_TYPE",
75 171: "TRANSITION_ARRAY_TYPE", 72 171: "MODULE_INFO_ENTRY_TYPE",
76 172: "SHARED_FUNCTION_INFO_TYPE", 73 172: "FIXED_ARRAY_TYPE",
77 173: "CELL_TYPE", 74 173: "TRANSITION_ARRAY_TYPE",
78 174: "WEAK_CELL_TYPE", 75 174: "SHARED_FUNCTION_INFO_TYPE",
79 175: "PROPERTY_CELL_TYPE", 76 175: "CELL_TYPE",
80 176: "PADDING_TYPE_1", 77 176: "WEAK_CELL_TYPE",
81 177: "PADDING_TYPE_2", 78 177: "PROPERTY_CELL_TYPE",
82 178: "PADDING_TYPE_3", 79 178: "JS_PROXY_TYPE",
83 179: "PADDING_TYPE_4", 80 179: "JS_GLOBAL_OBJECT_TYPE",
84 180: "JS_PROXY_TYPE", 81 180: "JS_GLOBAL_PROXY_TYPE",
85 181: "JS_GLOBAL_OBJECT_TYPE", 82 181: "JS_SPECIAL_API_OBJECT_TYPE",
86 182: "JS_GLOBAL_PROXY_TYPE", 83 182: "JS_VALUE_TYPE",
87 183: "JS_SPECIAL_API_OBJECT_TYPE", 84 183: "JS_MESSAGE_OBJECT_TYPE",
88 184: "JS_VALUE_TYPE", 85 184: "JS_DATE_TYPE",
89 185: "JS_MESSAGE_OBJECT_TYPE", 86 185: "JS_API_OBJECT_TYPE",
90 186: "JS_DATE_TYPE", 87 186: "JS_OBJECT_TYPE",
91 187: "JS_API_OBJECT_TYPE", 88 187: "JS_ARGUMENTS_TYPE",
92 188: "JS_OBJECT_TYPE", 89 188: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
93 189: "JS_ARGUMENTS_TYPE", 90 189: "JS_GENERATOR_OBJECT_TYPE",
94 190: "JS_CONTEXT_EXTENSION_OBJECT_TYPE", 91 190: "JS_MODULE_NAMESPACE_TYPE",
95 191: "JS_GENERATOR_OBJECT_TYPE", 92 191: "JS_ARRAY_TYPE",
96 192: "JS_ASYNC_GENERATOR_OBJECT_TYPE", 93 192: "JS_ARRAY_BUFFER_TYPE",
97 193: "JS_MODULE_NAMESPACE_TYPE", 94 193: "JS_TYPED_ARRAY_TYPE",
98 194: "JS_ARRAY_TYPE", 95 194: "JS_DATA_VIEW_TYPE",
99 195: "JS_ARRAY_BUFFER_TYPE", 96 195: "JS_SET_TYPE",
100 196: "JS_TYPED_ARRAY_TYPE", 97 196: "JS_MAP_TYPE",
101 197: "JS_DATA_VIEW_TYPE", 98 197: "JS_SET_ITERATOR_TYPE",
102 198: "JS_SET_TYPE", 99 198: "JS_MAP_ITERATOR_TYPE",
103 199: "JS_MAP_TYPE", 100 199: "JS_WEAK_MAP_TYPE",
104 200: "JS_SET_ITERATOR_TYPE", 101 200: "JS_WEAK_SET_TYPE",
105 201: "JS_MAP_ITERATOR_TYPE", 102 201: "JS_PROMISE_CAPABILITY_TYPE",
106 202: "JS_WEAK_MAP_TYPE", 103 202: "JS_PROMISE_TYPE",
107 203: "JS_WEAK_SET_TYPE", 104 203: "JS_REGEXP_TYPE",
108 204: "JS_PROMISE_CAPABILITY_TYPE", 105 204: "JS_ERROR_TYPE",
109 205: "JS_PROMISE_TYPE", 106 205: "JS_ASYNC_FROM_SYNC_ITERATOR_TYPE",
110 206: "JS_REGEXP_TYPE", 107 206: "JS_STRING_ITERATOR_TYPE",
111 207: "JS_ERROR_TYPE", 108 207: "JS_TYPED_ARRAY_KEY_ITERATOR_TYPE",
112 208: "JS_ASYNC_FROM_SYNC_ITERATOR_TYPE", 109 208: "JS_FAST_ARRAY_KEY_ITERATOR_TYPE",
113 209: "JS_STRING_ITERATOR_TYPE", 110 209: "JS_GENERIC_ARRAY_KEY_ITERATOR_TYPE",
114 210: "JS_TYPED_ARRAY_KEY_ITERATOR_TYPE", 111 210: "JS_UINT8_ARRAY_KEY_VALUE_ITERATOR_TYPE",
115 211: "JS_FAST_ARRAY_KEY_ITERATOR_TYPE", 112 211: "JS_INT8_ARRAY_KEY_VALUE_ITERATOR_TYPE",
116 212: "JS_GENERIC_ARRAY_KEY_ITERATOR_TYPE", 113 212: "JS_UINT16_ARRAY_KEY_VALUE_ITERATOR_TYPE",
117 213: "JS_UINT8_ARRAY_KEY_VALUE_ITERATOR_TYPE", 114 213: "JS_INT16_ARRAY_KEY_VALUE_ITERATOR_TYPE",
118 214: "JS_INT8_ARRAY_KEY_VALUE_ITERATOR_TYPE", 115 214: "JS_UINT32_ARRAY_KEY_VALUE_ITERATOR_TYPE",
119 215: "JS_UINT16_ARRAY_KEY_VALUE_ITERATOR_TYPE", 116 215: "JS_INT32_ARRAY_KEY_VALUE_ITERATOR_TYPE",
120 216: "JS_INT16_ARRAY_KEY_VALUE_ITERATOR_TYPE", 117 216: "JS_FLOAT32_ARRAY_KEY_VALUE_ITERATOR_TYPE",
121 217: "JS_UINT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", 118 217: "JS_FLOAT64_ARRAY_KEY_VALUE_ITERATOR_TYPE",
122 218: "JS_INT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", 119 218: "JS_UINT8_CLAMPED_ARRAY_KEY_VALUE_ITERATOR_TYPE",
123 219: "JS_FLOAT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", 120 219: "JS_FAST_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE",
124 220: "JS_FLOAT64_ARRAY_KEY_VALUE_ITERATOR_TYPE", 121 220: "JS_FAST_HOLEY_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE",
125 221: "JS_UINT8_CLAMPED_ARRAY_KEY_VALUE_ITERATOR_TYPE", 122 221: "JS_FAST_ARRAY_KEY_VALUE_ITERATOR_TYPE",
126 222: "JS_FAST_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE", 123 222: "JS_FAST_HOLEY_ARRAY_KEY_VALUE_ITERATOR_TYPE",
127 223: "JS_FAST_HOLEY_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE", 124 223: "JS_FAST_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE",
128 224: "JS_FAST_ARRAY_KEY_VALUE_ITERATOR_TYPE", 125 224: "JS_FAST_HOLEY_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE",
129 225: "JS_FAST_HOLEY_ARRAY_KEY_VALUE_ITERATOR_TYPE", 126 225: "JS_GENERIC_ARRAY_KEY_VALUE_ITERATOR_TYPE",
130 226: "JS_FAST_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE", 127 226: "JS_UINT8_ARRAY_VALUE_ITERATOR_TYPE",
131 227: "JS_FAST_HOLEY_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE", 128 227: "JS_INT8_ARRAY_VALUE_ITERATOR_TYPE",
132 228: "JS_GENERIC_ARRAY_KEY_VALUE_ITERATOR_TYPE", 129 228: "JS_UINT16_ARRAY_VALUE_ITERATOR_TYPE",
133 229: "JS_UINT8_ARRAY_VALUE_ITERATOR_TYPE", 130 229: "JS_INT16_ARRAY_VALUE_ITERATOR_TYPE",
134 230: "JS_INT8_ARRAY_VALUE_ITERATOR_TYPE", 131 230: "JS_UINT32_ARRAY_VALUE_ITERATOR_TYPE",
135 231: "JS_UINT16_ARRAY_VALUE_ITERATOR_TYPE", 132 231: "JS_INT32_ARRAY_VALUE_ITERATOR_TYPE",
136 232: "JS_INT16_ARRAY_VALUE_ITERATOR_TYPE", 133 232: "JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE",
137 233: "JS_UINT32_ARRAY_VALUE_ITERATOR_TYPE", 134 233: "JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE",
138 234: "JS_INT32_ARRAY_VALUE_ITERATOR_TYPE", 135 234: "JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE",
139 235: "JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE", 136 235: "JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE",
140 236: "JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE", 137 236: "JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE",
141 237: "JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE", 138 237: "JS_FAST_ARRAY_VALUE_ITERATOR_TYPE",
142 238: "JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE", 139 238: "JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE",
143 239: "JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE", 140 239: "JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE",
144 240: "JS_FAST_ARRAY_VALUE_ITERATOR_TYPE", 141 240: "JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE",
145 241: "JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE", 142 241: "JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE",
146 242: "JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", 143 242: "JS_BOUND_FUNCTION_TYPE",
147 243: "JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", 144 243: "JS_FUNCTION_TYPE",
148 244: "JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE",
149 245: "JS_BOUND_FUNCTION_TYPE",
150 246: "JS_FUNCTION_TYPE",
151 } 145 }
152 146
153 # List of known V8 maps. 147 # List of known V8 maps.
154 KNOWN_MAPS = { 148 KNOWN_MAPS = {
155 0x02201: (137, "FreeSpaceMap"), 149 0x02201: (137, "FreeSpaceMap"),
156 0x02259: (131, "MetaMap"), 150 0x02259: (131, "MetaMap"),
157 0x022b1: (130, "NullMap"), 151 0x022b1: (130, "NullMap"),
158 0x02309: (170, "FixedArrayMap"), 152 0x02309: (172, "FixedArrayMap"),
159 0x02361: (8, "OneByteInternalizedStringMap"), 153 0x02361: (8, "OneByteInternalizedStringMap"),
160 0x023b9: (148, "OnePointerFillerMap"), 154 0x023b9: (148, "OnePointerFillerMap"),
161 0x02411: (148, "TwoPointerFillerMap"), 155 0x02411: (148, "TwoPointerFillerMap"),
162 0x02469: (130, "UninitializedMap"), 156 0x02469: (130, "UninitializedMap"),
163 0x024c1: (130, "UndefinedMap"), 157 0x024c1: (130, "UndefinedMap"),
164 0x02519: (129, "HeapNumberMap"), 158 0x02519: (129, "HeapNumberMap"),
165 0x02571: (130, "TheHoleMap"), 159 0x02571: (130, "TheHoleMap"),
166 0x025c9: (130, "BooleanMap"), 160 0x025c9: (130, "BooleanMap"),
167 0x02621: (135, "ByteArrayMap"), 161 0x02621: (135, "ByteArrayMap"),
168 0x02679: (170, "FixedCOWArrayMap"), 162 0x02679: (172, "FixedCOWArrayMap"),
169 0x026d1: (170, "HashTableMap"), 163 0x026d1: (172, "HashTableMap"),
170 0x02729: (128, "SymbolMap"), 164 0x02729: (128, "SymbolMap"),
171 0x02781: (72, "OneByteStringMap"), 165 0x02781: (72, "OneByteStringMap"),
172 0x027d9: (170, "ScopeInfoMap"), 166 0x027d9: (172, "ScopeInfoMap"),
173 0x02831: (172, "SharedFunctionInfoMap"), 167 0x02831: (174, "SharedFunctionInfoMap"),
174 0x02889: (132, "CodeMap"), 168 0x02889: (132, "CodeMap"),
175 0x028e1: (170, "FunctionContextMap"), 169 0x028e1: (172, "FunctionContextMap"),
176 0x02939: (173, "CellMap"), 170 0x02939: (175, "CellMap"),
177 0x02991: (174, "WeakCellMap"), 171 0x02991: (176, "WeakCellMap"),
178 0x029e9: (175, "GlobalPropertyCellMap"), 172 0x029e9: (177, "GlobalPropertyCellMap"),
179 0x02a41: (134, "ForeignMap"), 173 0x02a41: (134, "ForeignMap"),
180 0x02a99: (171, "TransitionArrayMap"), 174 0x02a99: (173, "TransitionArrayMap"),
181 0x02af1: (130, "ArgumentsMarkerMap"), 175 0x02af1: (130, "ArgumentsMarkerMap"),
182 0x02b49: (130, "ExceptionMap"), 176 0x02b49: (172, "NativeContextMap"),
183 0x02ba1: (130, "TerminationExceptionMap"), 177 0x02ba1: (172, "ModuleContextMap"),
184 0x02bf9: (130, "OptimizedOutMap"), 178 0x02bf9: (172, "EvalContextMap"),
185 0x02c51: (130, "StaleRegisterMap"), 179 0x02c51: (172, "ScriptContextMap"),
186 0x02ca9: (170, "NativeContextMap"), 180 0x02ca9: (172, "BlockContextMap"),
187 0x02d01: (170, "ModuleContextMap"), 181 0x02d01: (172, "CatchContextMap"),
188 0x02d59: (170, "EvalContextMap"), 182 0x02d59: (172, "WithContextMap"),
189 0x02db1: (170, "ScriptContextMap"), 183 0x02db1: (147, "FixedDoubleArrayMap"),
190 0x02e09: (170, "BlockContextMap"), 184 0x02e09: (133, "MutableHeapNumberMap"),
191 0x02e61: (170, "CatchContextMap"), 185 0x02e61: (172, "OrderedHashTableMap"),
192 0x02eb9: (170, "WithContextMap"), 186 0x02eb9: (172, "SloppyArgumentsElementsMap"),
193 0x02f11: (147, "FixedDoubleArrayMap"), 187 0x02f11: (183, "JSMessageObjectMap"),
194 0x02f69: (133, "MutableHeapNumberMap"), 188 0x02f69: (136, "BytecodeArrayMap"),
195 0x02fc1: (170, "OrderedHashTableMap"), 189 0x02fc1: (172, "ModuleInfoMap"),
196 0x03019: (170, "SloppyArgumentsElementsMap"), 190 0x03019: (175, "NoClosuresCellMap"),
197 0x03071: (185, "JSMessageObjectMap"), 191 0x03071: (175, "OneClosureCellMap"),
198 0x030c9: (136, "BytecodeArrayMap"), 192 0x030c9: (175, "ManyClosuresCellMap"),
199 0x03121: (170, "ModuleInfoMap"), 193 0x03121: (64, "StringMap"),
200 0x03179: (173, "NoClosuresCellMap"), 194 0x03179: (73, "ConsOneByteStringMap"),
201 0x031d1: (173, "OneClosureCellMap"), 195 0x031d1: (65, "ConsStringMap"),
202 0x03229: (173, "ManyClosuresCellMap"), 196 0x03229: (77, "ThinOneByteStringMap"),
203 0x03281: (64, "StringMap"), 197 0x03281: (69, "ThinStringMap"),
204 0x032d9: (73, "ConsOneByteStringMap"), 198 0x032d9: (67, "SlicedStringMap"),
205 0x03331: (65, "ConsStringMap"), 199 0x03331: (75, "SlicedOneByteStringMap"),
206 0x03389: (77, "ThinOneByteStringMap"), 200 0x03389: (66, "ExternalStringMap"),
207 0x033e1: (69, "ThinStringMap"), 201 0x033e1: (82, "ExternalStringWithOneByteDataMap"),
208 0x03439: (67, "SlicedStringMap"), 202 0x03439: (74, "ExternalOneByteStringMap"),
209 0x03491: (75, "SlicedOneByteStringMap"), 203 0x03491: (98, "ShortExternalStringMap"),
210 0x034e9: (66, "ExternalStringMap"), 204 0x034e9: (114, "ShortExternalStringWithOneByteDataMap"),
211 0x03541: (82, "ExternalStringWithOneByteDataMap"), 205 0x03541: (0, "InternalizedStringMap"),
212 0x03599: (74, "ExternalOneByteStringMap"), 206 0x03599: (2, "ExternalInternalizedStringMap"),
213 0x035f1: (98, "ShortExternalStringMap"), 207 0x035f1: (18, "ExternalInternalizedStringWithOneByteDataMap"),
214 0x03649: (114, "ShortExternalStringWithOneByteDataMap"), 208 0x03649: (10, "ExternalOneByteInternalizedStringMap"),
215 0x036a1: (0, "InternalizedStringMap"), 209 0x036a1: (34, "ShortExternalInternalizedStringMap"),
216 0x036f9: (2, "ExternalInternalizedStringMap"), 210 0x036f9: (50, "ShortExternalInternalizedStringWithOneByteDataMap"),
217 0x03751: (18, "ExternalInternalizedStringWithOneByteDataMap"), 211 0x03751: (42, "ShortExternalOneByteInternalizedStringMap"),
218 0x037a9: (10, "ExternalOneByteInternalizedStringMap"), 212 0x037a9: (106, "ShortExternalOneByteStringMap"),
219 0x03801: (34, "ShortExternalInternalizedStringMap"), 213 0x03801: (172, "FeedbackVectorMap"),
220 0x03859: (50, "ShortExternalInternalizedStringWithOneByteDataMap"), 214 0x03859: (130, "ExceptionMap"),
221 0x038b1: (42, "ShortExternalOneByteInternalizedStringMap"), 215 0x038b1: (130, "TerminationExceptionMap"),
222 0x03909: (106, "ShortExternalOneByteStringMap"), 216 0x03909: (130, "OptimizedOutMap"),
223 0x03961: (139, "FixedUint8ArrayMap"), 217 0x03961: (130, "StaleRegisterMap"),
224 0x039b9: (138, "FixedInt8ArrayMap"), 218 0x039b9: (172, "DebugEvaluateContextMap"),
225 0x03a11: (141, "FixedUint16ArrayMap"), 219 0x03a11: (172, "ScriptContextTableMap"),
226 0x03a69: (140, "FixedInt16ArrayMap"), 220 0x03a69: (172, "UnseededNumberDictionaryMap"),
227 0x03ac1: (143, "FixedUint32ArrayMap"), 221 0x03ac1: (186, "ExternalMap"),
228 0x03b19: (142, "FixedInt32ArrayMap"), 222 0x03b19: (106, "NativeSourceStringMap"),
229 0x03b71: (144, "FixedFloat32ArrayMap"), 223 0x03b71: (139, "FixedUint8ArrayMap"),
230 0x03bc9: (145, "FixedFloat64ArrayMap"), 224 0x03bc9: (138, "FixedInt8ArrayMap"),
231 0x03c21: (146, "FixedUint8ClampedArrayMap"), 225 0x03c21: (141, "FixedUint16ArrayMap"),
232 0x03c79: (157, "ScriptMap"), 226 0x03c79: (140, "FixedInt16ArrayMap"),
233 0x03cd1: (170, "FeedbackVectorMap"), 227 0x03cd1: (143, "FixedUint32ArrayMap"),
234 0x03d29: (170, "DebugEvaluateContextMap"), 228 0x03d29: (142, "FixedInt32ArrayMap"),
235 0x03d81: (170, "ScriptContextTableMap"), 229 0x03d81: (144, "FixedFloat32ArrayMap"),
236 0x03dd9: (170, "UnseededNumberDictionaryMap"), 230 0x03dd9: (145, "FixedFloat64ArrayMap"),
237 0x03e31: (188, "ExternalMap"), 231 0x03e31: (146, "FixedUint8ClampedArrayMap"),
238 0x03e89: (106, "NativeSourceStringMap"), 232 0x03e89: (158, "ScriptMap"),
239 0x03ee1: (152, "InterceptorInfoMap"), 233 0x03ee1: (152, "InterceptorInfoMap"),
240 0x03f39: (204, "JSPromiseCapabilityMap"), 234 0x03f39: (201, "JSPromiseCapabilityMap"),
241 0x03f91: (149, "AccessorInfoMap"), 235 0x03f91: (149, "AccessorInfoMap"),
242 0x03fe9: (150, "AccessorPairMap"), 236 0x03fe9: (150, "AccessorPairMap"),
243 0x04041: (151, "AccessCheckInfoMap"), 237 0x04041: (151, "AccessCheckInfoMap"),
244 0x04099: (153, "FunctionTemplateInfoMap"), 238 0x04099: (153, "CallHandlerInfoMap"),
245 0x040f1: (154, "ObjectTemplateInfoMap"), 239 0x040f1: (154, "FunctionTemplateInfoMap"),
246 0x04149: (155, "AllocationSiteMap"), 240 0x04149: (155, "ObjectTemplateInfoMap"),
247 0x041a1: (156, "AllocationMementoMap"), 241 0x041a1: (156, "AllocationSiteMap"),
248 0x041f9: (158, "AliasedArgumentsEntryMap"), 242 0x041f9: (157, "AllocationMementoMap"),
249 0x04251: (159, "PromiseResolveThenableJobInfoMap"), 243 0x04251: (159, "TypeFeedbackInfoMap"),
250 0x042a9: (160, "PromiseReactionJobInfoMap"), 244 0x042a9: (160, "AliasedArgumentsEntryMap"),
251 0x04301: (161, "DebugInfoMap"), 245 0x04301: (161, "PromiseResolveThenableJobInfoMap"),
252 0x04359: (162, "StackFrameInfoMap"), 246 0x04359: (162, "PromiseReactionJobInfoMap"),
253 0x043b1: (163, "PrototypeInfoMap"), 247 0x043b1: (163, "DebugInfoMap"),
254 0x04409: (164, "Tuple2Map"), 248 0x04409: (164, "BreakPointInfoMap"),
255 0x04461: (165, "Tuple3Map"), 249 0x04461: (165, "PrototypeInfoMap"),
256 0x044b9: (166, "ContextExtensionMap"), 250 0x044b9: (166, "Tuple2Map"),
257 0x04511: (167, "ModuleMap"), 251 0x04511: (167, "Tuple3Map"),
258 0x04569: (168, "ModuleInfoEntryMap"), 252 0x04569: (168, "ContextExtensionMap"),
259 0x045c1: (169, "AsyncGeneratorRequestMap"), 253 0x045c1: (169, "ConstantElementsPairMap"),
254 0x04619: (170, "ModuleMap"),
255 0x04671: (171, "ModuleInfoEntryMap"),
260 } 256 }
261 257
262 # List of known V8 objects. 258 # List of known V8 objects.
263 KNOWN_OBJECTS = { 259 KNOWN_OBJECTS = {
264 ("OLD_SPACE", 0x02201): "NullValue", 260 ("OLD_SPACE", 0x02201): "NullValue",
265 ("OLD_SPACE", 0x02231): "EmptyDescriptorArray", 261 ("OLD_SPACE", 0x02231): "EmptyDescriptorArray",
266 ("OLD_SPACE", 0x02241): "EmptyFixedArray", 262 ("OLD_SPACE", 0x02241): "EmptyFixedArray",
267 ("OLD_SPACE", 0x02291): "UninitializedValue", 263 ("OLD_SPACE", 0x02291): "UninitializedValue",
268 ("OLD_SPACE", 0x02311): "UndefinedValue", 264 ("OLD_SPACE", 0x02311): "UndefinedValue",
269 ("OLD_SPACE", 0x02341): "NanValue", 265 ("OLD_SPACE", 0x02341): "NanValue",
270 ("OLD_SPACE", 0x02351): "TheHoleValue", 266 ("OLD_SPACE", 0x02351): "TheHoleValue",
271 ("OLD_SPACE", 0x023a1): "HoleNanValue", 267 ("OLD_SPACE", 0x023a1): "HoleNanValue",
272 ("OLD_SPACE", 0x023b1): "TrueValue", 268 ("OLD_SPACE", 0x023b1): "TrueValue",
273 ("OLD_SPACE", 0x02421): "FalseValue", 269 ("OLD_SPACE", 0x02421): "FalseValue",
274 ("OLD_SPACE", 0x02471): "empty_string", 270 ("OLD_SPACE", 0x02471): "empty_string",
275 ("OLD_SPACE", 0x02489): "EmptyScopeInfo", 271 ("OLD_SPACE", 0x02489): "ArgumentsMarker",
276 ("OLD_SPACE", 0x02499): "ArgumentsMarker", 272 ("OLD_SPACE", 0x024e1): "EmptyByteArray",
277 ("OLD_SPACE", 0x024f1): "Exception", 273 ("OLD_SPACE", 0x024f1): "EmptyWeakCell",
278 ("OLD_SPACE", 0x02549): "TerminationException", 274 ("OLD_SPACE", 0x02509): "InfinityValue",
279 ("OLD_SPACE", 0x025a9): "OptimizedOut", 275 ("OLD_SPACE", 0x02519): "MinusZeroValue",
280 ("OLD_SPACE", 0x02601): "StaleRegister", 276 ("OLD_SPACE", 0x02529): "MinusInfinityValue",
281 ("OLD_SPACE", 0x02659): "EmptyByteArray", 277 ("OLD_SPACE", 0x04979): "EmptyScopeInfo",
282 ("OLD_SPACE", 0x02669): "EmptyFixedUint8Array", 278 ("OLD_SPACE", 0x04989): "Exception",
283 ("OLD_SPACE", 0x02689): "EmptyFixedInt8Array", 279 ("OLD_SPACE", 0x049e1): "TerminationException",
284 ("OLD_SPACE", 0x026a9): "EmptyFixedUint16Array", 280 ("OLD_SPACE", 0x04a41): "OptimizedOut",
285 ("OLD_SPACE", 0x026c9): "EmptyFixedInt16Array", 281 ("OLD_SPACE", 0x04a99): "StaleRegister",
286 ("OLD_SPACE", 0x026e9): "EmptyFixedUint32Array", 282 ("OLD_SPACE", 0x04af1): "EmptyFixedUint8Array",
287 ("OLD_SPACE", 0x02709): "EmptyFixedInt32Array", 283 ("OLD_SPACE", 0x04b11): "EmptyFixedInt8Array",
288 ("OLD_SPACE", 0x02729): "EmptyFixedFloat32Array", 284 ("OLD_SPACE", 0x04b31): "EmptyFixedUint16Array",
289 ("OLD_SPACE", 0x02749): "EmptyFixedFloat64Array", 285 ("OLD_SPACE", 0x04b51): "EmptyFixedInt16Array",
290 ("OLD_SPACE", 0x02769): "EmptyFixedUint8ClampedArray", 286 ("OLD_SPACE", 0x04b71): "EmptyFixedUint32Array",
291 ("OLD_SPACE", 0x02789): "EmptyScript", 287 ("OLD_SPACE", 0x04b91): "EmptyFixedInt32Array",
292 ("OLD_SPACE", 0x02811): "UndefinedCell", 288 ("OLD_SPACE", 0x04bb1): "EmptyFixedFloat32Array",
293 ("OLD_SPACE", 0x02821): "EmptySloppyArgumentsElements", 289 ("OLD_SPACE", 0x04bd1): "EmptyFixedFloat64Array",
294 ("OLD_SPACE", 0x02841): "EmptySlowElementDictionary", 290 ("OLD_SPACE", 0x04bf1): "EmptyFixedUint8ClampedArray",
295 ("OLD_SPACE", 0x02891): "EmptyPropertyCell", 291 ("OLD_SPACE", 0x04c11): "EmptyScript",
296 ("OLD_SPACE", 0x028b1): "EmptyWeakCell", 292 ("OLD_SPACE", 0x04c99): "UndefinedCell",
297 ("OLD_SPACE", 0x028c9): "ArrayProtector", 293 ("OLD_SPACE", 0x04ca9): "EmptySloppyArgumentsElements",
298 ("OLD_SPACE", 0x028e9): "IsConcatSpreadableProtector", 294 ("OLD_SPACE", 0x04cc9): "EmptySlowElementDictionary",
299 ("OLD_SPACE", 0x028f9): "SpeciesProtector", 295 ("OLD_SPACE", 0x04d19): "EmptyPropertyCell",
300 ("OLD_SPACE", 0x02909): "StringLengthProtector", 296 ("OLD_SPACE", 0x04d39): "ArrayProtector",
301 ("OLD_SPACE", 0x02929): "FastArrayIterationProtector", 297 ("OLD_SPACE", 0x04d59): "IsConcatSpreadableProtector",
302 ("OLD_SPACE", 0x02939): "ArrayIteratorProtector", 298 ("OLD_SPACE", 0x04d69): "SpeciesProtector",
303 ("OLD_SPACE", 0x02959): "ArrayBufferNeuteringProtector", 299 ("OLD_SPACE", 0x04d79): "StringLengthProtector",
304 ("OLD_SPACE", 0x029f9): "InfinityValue", 300 ("OLD_SPACE", 0x04d99): "FastArrayIterationProtector",
305 ("OLD_SPACE", 0x02a09): "MinusZeroValue", 301 ("OLD_SPACE", 0x04da9): "ArrayIteratorProtector",
306 ("OLD_SPACE", 0x02a19): "MinusInfinityValue", 302 ("OLD_SPACE", 0x04dc9): "ArrayBufferNeuteringProtector",
307 ("CODE_SPACE", 0x04001): "JsEntryCode", 303 ("OLD_SPACE", 0x04de9): "NumberStringCache",
308 ("CODE_SPACE", 0x04181): "JsConstructEntryCode", 304 ("OLD_SPACE", 0x05df9): "SingleCharacterStringCache",
305 ("OLD_SPACE", 0x06669): "StringSplitCache",
306 ("OLD_SPACE", 0x06e79): "RegExpMultipleCache",
307 ("OLD_SPACE", 0x07689): "NativesSourceCache",
308 ("OLD_SPACE", 0x07931): "ExtraNativesSourceCache",
309 ("OLD_SPACE", 0x07969): "ExperimentalExtraNativesSourceCache",
310 ("OLD_SPACE", 0x07981): "EmptyPropertiesDictionary",
311 ("OLD_SPACE", 0x079d1): "ScriptList",
312 ("OLD_SPACE", 0x22019): "CodeStubs",
313 ("OLD_SPACE", 0x2f199): "WeakObjectToCodeTable",
314 ("OLD_SPACE", 0x2f3c1): "WeakNewSpaceObjectToCodeList",
315 ("OLD_SPACE", 0x2f451): "NoScriptSharedFunctionInfos",
316 ("OLD_SPACE", 0x4abd9): "MessageListeners",
317 ("OLD_SPACE", 0x4abf9): "NoOpInterceptorInfo",
318 ("OLD_SPACE", 0x531d1): "StringTable",
319 ("CODE_SPACE", 0x2cde1): "JsEntryCode",
320 ("CODE_SPACE", 0x31241): "JsConstructEntryCode",
309 } 321 }
310 322
311 # List of known V8 Frame Markers. 323 # List of known V8 Frame Markers.
312 FRAME_MARKERS = ( 324 FRAME_MARKERS = (
313 "ENTRY", 325 "ENTRY",
314 "ENTRY_CONSTRUCT", 326 "ENTRY_CONSTRUCT",
315 "EXIT", 327 "EXIT",
316 "JAVA_SCRIPT", 328 "JAVA_SCRIPT",
317 "OPTIMIZED", 329 "OPTIMIZED",
318 "WASM_COMPILED", 330 "WASM_COMPILED",
319 "WASM_TO_JS", 331 "WASM_TO_JS",
320 "JS_TO_WASM", 332 "JS_TO_WASM",
321 "WASM_INTERPRETER_ENTRY", 333 "WASM_INTERPRETER_ENTRY",
322 "INTERPRETED", 334 "INTERPRETED",
323 "STUB", 335 "STUB",
324 "STUB_FAILURE_TRAMPOLINE", 336 "STUB_FAILURE_TRAMPOLINE",
325 "INTERNAL", 337 "INTERNAL",
326 "CONSTRUCT", 338 "CONSTRUCT",
327 "ARGUMENTS_ADAPTOR", 339 "ARGUMENTS_ADAPTOR",
328 "BUILTIN", 340 "BUILTIN",
329 "BUILTIN_EXIT", 341 "BUILTIN_EXIT",
330 ) 342 )
331
332 # This set of constants is generated from a shipping build.
OLDNEW
« no previous file with comments | « tools/run-tests.py ('k') | tools/v8heapconst.py.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698