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

Side by Side Diff: tools/v8heapconst.py

Issue 1051233002: Reland "Merge old data and pointer space." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/oom_dump/oom_dump.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 206: "JS_REGEXP_TYPE", 128 206: "JS_REGEXP_TYPE",
129 207: "JS_FUNCTION_TYPE", 129 207: "JS_FUNCTION_TYPE",
130 184: "JS_FUNCTION_PROXY_TYPE", 130 184: "JS_FUNCTION_PROXY_TYPE",
131 178: "DEBUG_INFO_TYPE", 131 178: "DEBUG_INFO_TYPE",
132 179: "BREAK_POINT_INFO_TYPE", 132 179: "BREAK_POINT_INFO_TYPE",
133 } 133 }
134 134
135 # List of known V8 maps. 135 # List of known V8 maps.
136 KNOWN_MAPS = { 136 KNOWN_MAPS = {
137 0x08081: (137, "ByteArrayMap"), 137 0x08081: (137, "ByteArrayMap"),
138 0x080a9: (129, "MetaMap"), 138 0x080ad: (129, "MetaMap"),
139 0x080d1: (131, "NullMap"), 139 0x080d9: (131, "NullMap"),
140 0x080f9: (131, "UndefinedMap"), 140 0x08105: (180, "FixedArrayMap"),
141 0x08121: (180, "FixedArrayMap"), 141 0x08131: (4, "OneByteInternalizedStringMap"),
142 0x08149: (4, "OneByteInternalizedStringMap"), 142 0x0815d: (183, "WeakCellMap"),
143 0x08171: (134, "HeapNumberMap"), 143 0x08189: (131, "UndefinedMap"),
144 0x08199: (138, "FreeSpaceMap"), 144 0x081b5: (134, "HeapNumberMap"),
145 0x081c1: (158, "OnePointerFillerMap"), 145 0x081e1: (138, "FreeSpaceMap"),
146 0x081e9: (158, "TwoPointerFillerMap"), 146 0x0820d: (158, "OnePointerFillerMap"),
147 0x08211: (131, "TheHoleMap"), 147 0x08239: (158, "TwoPointerFillerMap"),
148 0x08239: (131, "BooleanMap"), 148 0x08265: (131, "TheHoleMap"),
149 0x08261: (131, "UninitializedMap"), 149 0x08291: (131, "BooleanMap"),
150 0x08289: (131, "ExceptionMap"), 150 0x082bd: (131, "UninitializedMap"),
151 0x082b1: (132, "CellMap"), 151 0x082e9: (131, "ExceptionMap"),
152 0x082d9: (133, "GlobalPropertyCellMap"), 152 0x08315: (132, "CellMap"),
153 0x08301: (182, "SharedFunctionInfoMap"), 153 0x08341: (133, "GlobalPropertyCellMap"),
154 0x08329: (135, "MutableHeapNumberMap"), 154 0x0836d: (182, "SharedFunctionInfoMap"),
155 0x08351: (180, "NativeContextMap"), 155 0x08399: (135, "MutableHeapNumberMap"),
156 0x08379: (130, "CodeMap"), 156 0x083c5: (180, "NativeContextMap"),
157 0x083a1: (180, "ScopeInfoMap"), 157 0x083f1: (130, "CodeMap"),
158 0x083c9: (180, "FixedCOWArrayMap"), 158 0x0841d: (180, "ScopeInfoMap"),
159 0x083f1: (157, "FixedDoubleArrayMap"), 159 0x08449: (180, "FixedCOWArrayMap"),
160 0x08419: (181, "ConstantPoolArrayMap"), 160 0x08475: (157, "FixedDoubleArrayMap"),
161 0x08441: (183, "WeakCellMap"), 161 0x084a1: (181, "ConstantPoolArrayMap"),
162 0x08469: (131, "NoInterceptorResultSentinelMap"), 162 0x084cd: (131, "NoInterceptorResultSentinelMap"),
163 0x08491: (180, "HashTableMap"), 163 0x084f9: (180, "HashTableMap"),
164 0x084b9: (180, "OrderedHashTableMap"), 164 0x08525: (180, "OrderedHashTableMap"),
165 0x084e1: (131, "ArgumentsMarkerMap"), 165 0x08551: (131, "ArgumentsMarkerMap"),
166 0x08509: (131, "TerminationExceptionMap"), 166 0x0857d: (131, "TerminationExceptionMap"),
167 0x08531: (128, "SymbolMap"), 167 0x085a9: (128, "SymbolMap"),
168 0x08559: (64, "StringMap"), 168 0x085d5: (64, "StringMap"),
169 0x08581: (68, "OneByteStringMap"), 169 0x08601: (68, "OneByteStringMap"),
170 0x085a9: (65, "ConsStringMap"), 170 0x0862d: (65, "ConsStringMap"),
171 0x085d1: (69, "ConsOneByteStringMap"), 171 0x08659: (69, "ConsOneByteStringMap"),
172 0x085f9: (67, "SlicedStringMap"), 172 0x08685: (67, "SlicedStringMap"),
173 0x08621: (71, "SlicedOneByteStringMap"), 173 0x086b1: (71, "SlicedOneByteStringMap"),
174 0x08649: (66, "ExternalStringMap"), 174 0x086dd: (66, "ExternalStringMap"),
175 0x08671: (74, "ExternalStringWithOneByteDataMap"), 175 0x08709: (74, "ExternalStringWithOneByteDataMap"),
176 0x08699: (70, "ExternalOneByteStringMap"), 176 0x08735: (70, "ExternalOneByteStringMap"),
177 0x086c1: (70, "NativeSourceStringMap"), 177 0x08761: (70, "NativeSourceStringMap"),
178 0x086e9: (82, "ShortExternalStringMap"), 178 0x0878d: (82, "ShortExternalStringMap"),
179 0x08711: (90, "ShortExternalStringWithOneByteDataMap"), 179 0x087b9: (90, "ShortExternalStringWithOneByteDataMap"),
180 0x08739: (0, "InternalizedStringMap"), 180 0x087e5: (0, "InternalizedStringMap"),
181 0x08761: (2, "ExternalInternalizedStringMap"), 181 0x08811: (2, "ExternalInternalizedStringMap"),
182 0x08789: (10, "ExternalInternalizedStringWithOneByteDataMap"), 182 0x0883d: (10, "ExternalInternalizedStringWithOneByteDataMap"),
183 0x087b1: (6, "ExternalOneByteInternalizedStringMap"), 183 0x08869: (6, "ExternalOneByteInternalizedStringMap"),
184 0x087d9: (18, "ShortExternalInternalizedStringMap"), 184 0x08895: (18, "ShortExternalInternalizedStringMap"),
185 0x08801: (26, "ShortExternalInternalizedStringWithOneByteDataMap"), 185 0x088c1: (26, "ShortExternalInternalizedStringWithOneByteDataMap"),
186 0x08829: (22, "ShortExternalOneByteInternalizedStringMap"), 186 0x088ed: (22, "ShortExternalOneByteInternalizedStringMap"),
187 0x08851: (86, "ShortExternalOneByteStringMap"), 187 0x08919: (86, "ShortExternalOneByteStringMap"),
188 0x08879: (139, "ExternalInt8ArrayMap"), 188 0x08945: (139, "ExternalInt8ArrayMap"),
189 0x088a1: (140, "ExternalUint8ArrayMap"), 189 0x08971: (140, "ExternalUint8ArrayMap"),
190 0x088c9: (141, "ExternalInt16ArrayMap"), 190 0x0899d: (141, "ExternalInt16ArrayMap"),
191 0x088f1: (142, "ExternalUint16ArrayMap"), 191 0x089c9: (142, "ExternalUint16ArrayMap"),
192 0x08919: (143, "ExternalInt32ArrayMap"), 192 0x089f5: (143, "ExternalInt32ArrayMap"),
193 0x08941: (144, "ExternalUint32ArrayMap"), 193 0x08a21: (144, "ExternalUint32ArrayMap"),
194 0x08969: (145, "ExternalFloat32ArrayMap"), 194 0x08a4d: (145, "ExternalFloat32ArrayMap"),
195 0x08991: (146, "ExternalFloat64ArrayMap"), 195 0x08a79: (146, "ExternalFloat64ArrayMap"),
196 0x089b9: (147, "ExternalUint8ClampedArrayMap"), 196 0x08aa5: (147, "ExternalUint8ClampedArrayMap"),
197 0x089e1: (149, "FixedUint8ArrayMap"), 197 0x08ad1: (149, "FixedUint8ArrayMap"),
198 0x08a09: (148, "FixedInt8ArrayMap"), 198 0x08afd: (148, "FixedInt8ArrayMap"),
199 0x08a31: (151, "FixedUint16ArrayMap"), 199 0x08b29: (151, "FixedUint16ArrayMap"),
200 0x08a59: (150, "FixedInt16ArrayMap"), 200 0x08b55: (150, "FixedInt16ArrayMap"),
201 0x08a81: (153, "FixedUint32ArrayMap"), 201 0x08b81: (153, "FixedUint32ArrayMap"),
202 0x08aa9: (152, "FixedInt32ArrayMap"), 202 0x08bad: (152, "FixedInt32ArrayMap"),
203 0x08ad1: (154, "FixedFloat32ArrayMap"), 203 0x08bd9: (154, "FixedFloat32ArrayMap"),
204 0x08af9: (155, "FixedFloat64ArrayMap"), 204 0x08c05: (155, "FixedFloat64ArrayMap"),
205 0x08b21: (156, "FixedUint8ClampedArrayMap"), 205 0x08c31: (156, "FixedUint8ClampedArrayMap"),
206 0x08b49: (180, "SloppyArgumentsElementsMap"), 206 0x08c5d: (180, "SloppyArgumentsElementsMap"),
207 0x08b71: (180, "FunctionContextMap"), 207 0x08c89: (180, "FunctionContextMap"),
208 0x08b99: (180, "CatchContextMap"), 208 0x08cb5: (180, "CatchContextMap"),
209 0x08bc1: (180, "WithContextMap"), 209 0x08ce1: (180, "WithContextMap"),
210 0x08be9: (180, "BlockContextMap"), 210 0x08d0d: (180, "BlockContextMap"),
211 0x08c11: (180, "ModuleContextMap"), 211 0x08d39: (180, "ModuleContextMap"),
212 0x08c39: (180, "ScriptContextMap"), 212 0x08d65: (180, "ScriptContextMap"),
213 0x08c61: (180, "ScriptContextTableMap"), 213 0x08d91: (180, "ScriptContextTableMap"),
214 0x08c89: (187, "JSMessageObjectMap"), 214 0x08dbd: (187, "JSMessageObjectMap"),
215 0x08cb1: (136, "ForeignMap"), 215 0x08de9: (136, "ForeignMap"),
216 0x08cd9: (189, "NeanderMap"), 216 0x08e15: (189, "NeanderMap"),
217 0x08d01: (170, "AllocationSiteMap"), 217 0x08e41: (189, "ExternalMap"),
218 0x08d29: (171, "AllocationMementoMap"), 218 0x08e6d: (170, "AllocationSiteMap"),
219 0x08d51: (174, "PolymorphicCodeCacheMap"), 219 0x08e99: (171, "AllocationMementoMap"),
220 0x08d79: (172, "ScriptMap"), 220 0x08ec5: (174, "PolymorphicCodeCacheMap"),
221 0x08dc9: (189, "ExternalMap"), 221 0x08ef1: (172, "ScriptMap"),
222 0x08f09: (177, "BoxMap"), 222 0x0907d: (177, "BoxMap"),
223 0x08f31: (161, "ExecutableAccessorInfoMap"), 223 0x090a9: (161, "ExecutableAccessorInfoMap"),
224 0x08f59: (162, "AccessorPairMap"), 224 0x090d5: (162, "AccessorPairMap"),
225 0x08f81: (163, "AccessCheckInfoMap"), 225 0x09101: (163, "AccessCheckInfoMap"),
226 0x08fa9: (164, "InterceptorInfoMap"), 226 0x0912d: (164, "InterceptorInfoMap"),
227 0x08fd1: (165, "CallHandlerInfoMap"), 227 0x09159: (165, "CallHandlerInfoMap"),
228 0x08ff9: (166, "FunctionTemplateInfoMap"), 228 0x09185: (166, "FunctionTemplateInfoMap"),
229 0x09021: (167, "ObjectTemplateInfoMap"), 229 0x091b1: (167, "ObjectTemplateInfoMap"),
230 0x09049: (169, "TypeSwitchInfoMap"), 230 0x091dd: (169, "TypeSwitchInfoMap"),
231 0x09071: (173, "CodeCacheMap"), 231 0x09209: (173, "CodeCacheMap"),
232 0x09099: (175, "TypeFeedbackInfoMap"), 232 0x09235: (175, "TypeFeedbackInfoMap"),
233 0x090c1: (176, "AliasedArgumentsEntryMap"), 233 0x09261: (176, "AliasedArgumentsEntryMap"),
234 0x090e9: (178, "DebugInfoMap"), 234 0x0928d: (178, "DebugInfoMap"),
235 0x09111: (179, "BreakPointInfoMap"), 235 0x092b9: (179, "BreakPointInfoMap"),
236 } 236 }
237 237
238 # List of known V8 objects. 238 # List of known V8 objects.
239 KNOWN_OBJECTS = { 239 KNOWN_OBJECTS = {
240 ("OLD_POINTER_SPACE", 0x08081): "NullValue", 240 ("OLD_SPACE", 0x08081): "NullValue",
241 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue", 241 ("OLD_SPACE", 0x08091): "EmptyDescriptorArray",
242 ("OLD_POINTER_SPACE", 0x080a1): "TheHoleValue", 242 ("OLD_SPACE", 0x08099): "EmptyFixedArray",
243 ("OLD_POINTER_SPACE", 0x080b1): "TrueValue", 243 ("OLD_SPACE", 0x080bd): "UndefinedValue",
244 ("OLD_POINTER_SPACE", 0x080c1): "FalseValue", 244 ("OLD_SPACE", 0x080e5): "NanValue",
245 ("OLD_POINTER_SPACE", 0x080d1): "UninitializedValue", 245 ("OLD_SPACE", 0x080f1): "TheHoleValue",
246 ("OLD_POINTER_SPACE", 0x080e1): "Exception", 246 ("OLD_SPACE", 0x08111): "TrueValue",
247 ("OLD_POINTER_SPACE", 0x080f1): "NoInterceptorResultSentinel", 247 ("OLD_SPACE", 0x08131): "FalseValue",
248 ("OLD_POINTER_SPACE", 0x08101): "ArgumentsMarker", 248 ("OLD_SPACE", 0x08155): "UninitializedValue",
249 ("OLD_POINTER_SPACE", 0x08111): "NumberStringCache", 249 ("OLD_SPACE", 0x08181): "Exception",
250 ("OLD_POINTER_SPACE", 0x08919): "SingleCharacterStringCache", 250 ("OLD_SPACE", 0x081a9): "NoInterceptorResultSentinel",
251 ("OLD_POINTER_SPACE", 0x08d21): "StringSplitCache", 251 ("OLD_SPACE", 0x081e5): "EmptyByteArray",
252 ("OLD_POINTER_SPACE", 0x09129): "RegExpMultipleCache", 252 ("OLD_SPACE", 0x081ed): "EmptyConstantPoolArray",
253 ("OLD_POINTER_SPACE", 0x09531): "TerminationException", 253 ("OLD_SPACE", 0x081fd): "ArgumentsMarker",
254 ("OLD_POINTER_SPACE", 0x09541): "MessageListeners", 254 ("OLD_SPACE", 0x08229): "NumberStringCache",
255 ("OLD_POINTER_SPACE", 0x0955d): "CodeStubs", 255 ("OLD_SPACE", 0x08a31): "SingleCharacterStringCache",
256 ("OLD_POINTER_SPACE", 0x0f555): "NonMonomorphicCache", 256 ("OLD_SPACE", 0x08ec9): "StringSplitCache",
257 ("OLD_POINTER_SPACE", 0x0fb69): "PolymorphicCodeCache", 257 ("OLD_SPACE", 0x092d1): "RegExpMultipleCache",
258 ("OLD_POINTER_SPACE", 0x0fb71): "NativesSourceCache", 258 ("OLD_SPACE", 0x096d9): "TerminationException",
259 ("OLD_POINTER_SPACE", 0x0fbe1): "EmptyScript", 259 ("OLD_SPACE", 0x0970d): "EmptyExternalInt8Array",
260 ("OLD_POINTER_SPACE", 0x0fc1d): "IntrinsicFunctionNames", 260 ("OLD_SPACE", 0x09719): "EmptyExternalUint8Array",
261 ("OLD_POINTER_SPACE", 0x15c39): "ObservationState", 261 ("OLD_SPACE", 0x09725): "EmptyExternalInt16Array",
262 ("OLD_POINTER_SPACE", 0x15c45): "SymbolRegistry", 262 ("OLD_SPACE", 0x09731): "EmptyExternalUint16Array",
263 ("OLD_POINTER_SPACE", 0x16601): "EmptySlowElementDictionary", 263 ("OLD_SPACE", 0x0973d): "EmptyExternalInt32Array",
264 ("OLD_POINTER_SPACE", 0x1679d): "AllocationSitesScratchpad", 264 ("OLD_SPACE", 0x09749): "EmptyExternalUint32Array",
265 ("OLD_POINTER_SPACE", 0x43e61): "StringTable", 265 ("OLD_SPACE", 0x09755): "EmptyExternalFloat32Array",
266 ("OLD_DATA_SPACE", 0x08081): "EmptyDescriptorArray", 266 ("OLD_SPACE", 0x09761): "EmptyExternalFloat64Array",
267 ("OLD_DATA_SPACE", 0x08089): "EmptyFixedArray", 267 ("OLD_SPACE", 0x0976d): "EmptyExternalUint8ClampedArray",
268 ("OLD_DATA_SPACE", 0x080a9): "NanValue", 268 ("OLD_SPACE", 0x09779): "EmptyFixedUint8Array",
269 ("OLD_DATA_SPACE", 0x08159): "EmptyByteArray", 269 ("OLD_SPACE", 0x09781): "EmptyFixedInt8Array",
270 ("OLD_DATA_SPACE", 0x08161): "EmptyConstantPoolArray", 270 ("OLD_SPACE", 0x09789): "EmptyFixedUint16Array",
271 ("OLD_DATA_SPACE", 0x08241): "EmptyExternalInt8Array", 271 ("OLD_SPACE", 0x09791): "EmptyFixedInt16Array",
272 ("OLD_DATA_SPACE", 0x0824d): "EmptyExternalUint8Array", 272 ("OLD_SPACE", 0x09799): "EmptyFixedUint32Array",
273 ("OLD_DATA_SPACE", 0x08259): "EmptyExternalInt16Array", 273 ("OLD_SPACE", 0x097a1): "EmptyFixedInt32Array",
274 ("OLD_DATA_SPACE", 0x08265): "EmptyExternalUint16Array", 274 ("OLD_SPACE", 0x097a9): "EmptyFixedFloat32Array",
275 ("OLD_DATA_SPACE", 0x08271): "EmptyExternalInt32Array", 275 ("OLD_SPACE", 0x097b1): "EmptyFixedFloat64Array",
276 ("OLD_DATA_SPACE", 0x0827d): "EmptyExternalUint32Array", 276 ("OLD_SPACE", 0x097b9): "EmptyFixedUint8ClampedArray",
277 ("OLD_DATA_SPACE", 0x08289): "EmptyExternalFloat32Array", 277 ("OLD_SPACE", 0x097c1): "InfinityValue",
278 ("OLD_DATA_SPACE", 0x08295): "EmptyExternalFloat64Array", 278 ("OLD_SPACE", 0x097cd): "MinusZeroValue",
279 ("OLD_DATA_SPACE", 0x082a1): "EmptyExternalUint8ClampedArray", 279 ("OLD_SPACE", 0x097d9): "MessageListeners",
280 ("OLD_DATA_SPACE", 0x082ad): "EmptyFixedUint8Array", 280 ("OLD_SPACE", 0x097f5): "CodeStubs",
281 ("OLD_DATA_SPACE", 0x082b5): "EmptyFixedInt8Array", 281 ("OLD_SPACE", 0x12c49): "NonMonomorphicCache",
282 ("OLD_DATA_SPACE", 0x082bd): "EmptyFixedUint16Array", 282 ("OLD_SPACE", 0x132bd): "PolymorphicCodeCache",
283 ("OLD_DATA_SPACE", 0x082c5): "EmptyFixedInt16Array", 283 ("OLD_SPACE", 0x132c5): "NativesSourceCache",
284 ("OLD_DATA_SPACE", 0x082cd): "EmptyFixedUint32Array", 284 ("OLD_SPACE", 0x1353d): "EmptyScript",
285 ("OLD_DATA_SPACE", 0x082d5): "EmptyFixedInt32Array", 285 ("OLD_SPACE", 0x13585): "IntrinsicFunctionNames",
286 ("OLD_DATA_SPACE", 0x082dd): "EmptyFixedFloat32Array", 286 ("OLD_SPACE", 0x27ae5): "ObservationState",
287 ("OLD_DATA_SPACE", 0x082e5): "EmptyFixedFloat64Array", 287 ("OLD_SPACE", 0x27af1): "SymbolRegistry",
288 ("OLD_DATA_SPACE", 0x082ed): "EmptyFixedUint8ClampedArray", 288 ("OLD_SPACE", 0x2863d): "EmptySlowElementDictionary",
289 ("OLD_DATA_SPACE", 0x082f5): "InfinityValue", 289 ("OLD_SPACE", 0x287d9): "AllocationSitesScratchpad",
290 ("OLD_DATA_SPACE", 0x08301): "MinusZeroValue", 290 ("OLD_SPACE", 0x28be1): "WeakObjectToCodeTable",
291 ("CODE_SPACE", 0x15fa1): "JsEntryCode", 291 ("OLD_SPACE", 0x4e9dd): "StringTable",
292 ("CODE_SPACE", 0x243c1): "JsConstructEntryCode", 292 ("CODE_SPACE", 0x15f61): "JsEntryCode",
293 ("CODE_SPACE", 0x24781): "JsConstructEntryCode",
293 } 294 }
OLDNEW
« no previous file with comments | « tools/oom_dump/oom_dump.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698