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

Side by Side Diff: tools/v8heapconst.py

Issue 916753002: remove undetectable strings (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « test/cctest/test-api.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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 0x086e9: (82, "ShortExternalStringMap"), 178 0x086e9: (82, "ShortExternalStringMap"),
179 0x08711: (90, "ShortExternalStringWithOneByteDataMap"), 179 0x08711: (90, "ShortExternalStringWithOneByteDataMap"),
180 0x08739: (0, "InternalizedStringMap"), 180 0x08739: (0, "InternalizedStringMap"),
181 0x08761: (2, "ExternalInternalizedStringMap"), 181 0x08761: (2, "ExternalInternalizedStringMap"),
182 0x08789: (10, "ExternalInternalizedStringWithOneByteDataMap"), 182 0x08789: (10, "ExternalInternalizedStringWithOneByteDataMap"),
183 0x087b1: (6, "ExternalOneByteInternalizedStringMap"), 183 0x087b1: (6, "ExternalOneByteInternalizedStringMap"),
184 0x087d9: (18, "ShortExternalInternalizedStringMap"), 184 0x087d9: (18, "ShortExternalInternalizedStringMap"),
185 0x08801: (26, "ShortExternalInternalizedStringWithOneByteDataMap"), 185 0x08801: (26, "ShortExternalInternalizedStringWithOneByteDataMap"),
186 0x08829: (22, "ShortExternalOneByteInternalizedStringMap"), 186 0x08829: (22, "ShortExternalOneByteInternalizedStringMap"),
187 0x08851: (86, "ShortExternalOneByteStringMap"), 187 0x08851: (86, "ShortExternalOneByteStringMap"),
188 0x08879: (64, "UndetectableStringMap"), 188 0x08879: (139, "ExternalInt8ArrayMap"),
189 0x088a1: (68, "UndetectableOneByteStringMap"), 189 0x088a1: (140, "ExternalUint8ArrayMap"),
190 0x088c9: (139, "ExternalInt8ArrayMap"), 190 0x088c9: (141, "ExternalInt16ArrayMap"),
191 0x088f1: (140, "ExternalUint8ArrayMap"), 191 0x088f1: (142, "ExternalUint16ArrayMap"),
192 0x08919: (141, "ExternalInt16ArrayMap"), 192 0x08919: (143, "ExternalInt32ArrayMap"),
193 0x08941: (142, "ExternalUint16ArrayMap"), 193 0x08941: (144, "ExternalUint32ArrayMap"),
194 0x08969: (143, "ExternalInt32ArrayMap"), 194 0x08969: (145, "ExternalFloat32ArrayMap"),
195 0x08991: (144, "ExternalUint32ArrayMap"), 195 0x08991: (146, "ExternalFloat64ArrayMap"),
196 0x089b9: (145, "ExternalFloat32ArrayMap"), 196 0x089b9: (147, "ExternalUint8ClampedArrayMap"),
197 0x089e1: (146, "ExternalFloat64ArrayMap"), 197 0x089e1: (149, "FixedUint8ArrayMap"),
198 0x08a09: (147, "ExternalUint8ClampedArrayMap"), 198 0x08a09: (148, "FixedInt8ArrayMap"),
199 0x08a31: (149, "FixedUint8ArrayMap"), 199 0x08a31: (151, "FixedUint16ArrayMap"),
200 0x08a59: (148, "FixedInt8ArrayMap"), 200 0x08a59: (150, "FixedInt16ArrayMap"),
201 0x08a81: (151, "FixedUint16ArrayMap"), 201 0x08a81: (153, "FixedUint32ArrayMap"),
202 0x08aa9: (150, "FixedInt16ArrayMap"), 202 0x08aa9: (152, "FixedInt32ArrayMap"),
203 0x08ad1: (153, "FixedUint32ArrayMap"), 203 0x08ad1: (154, "FixedFloat32ArrayMap"),
204 0x08af9: (152, "FixedInt32ArrayMap"), 204 0x08af9: (155, "FixedFloat64ArrayMap"),
205 0x08b21: (154, "FixedFloat32ArrayMap"), 205 0x08b21: (156, "FixedUint8ClampedArrayMap"),
206 0x08b49: (155, "FixedFloat64ArrayMap"), 206 0x08b49: (180, "SloppyArgumentsElementsMap"),
207 0x08b71: (156, "FixedUint8ClampedArrayMap"), 207 0x08b71: (180, "FunctionContextMap"),
208 0x08b99: (180, "SloppyArgumentsElementsMap"), 208 0x08b99: (180, "CatchContextMap"),
209 0x08bc1: (180, "FunctionContextMap"), 209 0x08bc1: (180, "WithContextMap"),
210 0x08be9: (180, "CatchContextMap"), 210 0x08be9: (180, "BlockContextMap"),
211 0x08c11: (180, "WithContextMap"), 211 0x08c11: (180, "ModuleContextMap"),
212 0x08c39: (180, "BlockContextMap"), 212 0x08c39: (180, "ScriptContextMap"),
213 0x08c61: (180, "ModuleContextMap"), 213 0x08c61: (180, "ScriptContextTableMap"),
214 0x08c89: (180, "ScriptContextMap"), 214 0x08c89: (187, "JSMessageObjectMap"),
215 0x08cb1: (180, "ScriptContextTableMap"), 215 0x08cb1: (136, "ForeignMap"),
216 0x08cd9: (187, "JSMessageObjectMap"), 216 0x08cd9: (189, "NeanderMap"),
217 0x08d01: (136, "ForeignMap"), 217 0x08d01: (170, "AllocationSiteMap"),
218 0x08d29: (189, "NeanderMap"), 218 0x08d29: (171, "AllocationMementoMap"),
219 0x08d51: (170, "AllocationSiteMap"), 219 0x08d51: (174, "PolymorphicCodeCacheMap"),
220 0x08d79: (171, "AllocationMementoMap"), 220 0x08d79: (172, "ScriptMap"),
221 0x08da1: (174, "PolymorphicCodeCacheMap"), 221 0x08dc9: (189, "ExternalMap"),
222 0x08dc9: (172, "ScriptMap"), 222 0x08f09: (177, "BoxMap"),
223 0x08e19: (189, "ExternalMap"), 223 0x08f31: (161, "ExecutableAccessorInfoMap"),
224 0x08f59: (177, "BoxMap"), 224 0x08f59: (162, "AccessorPairMap"),
225 0x08f81: (161, "ExecutableAccessorInfoMap"), 225 0x08f81: (163, "AccessCheckInfoMap"),
226 0x08fa9: (162, "AccessorPairMap"), 226 0x08fa9: (164, "InterceptorInfoMap"),
227 0x08fd1: (163, "AccessCheckInfoMap"), 227 0x08fd1: (165, "CallHandlerInfoMap"),
228 0x08ff9: (164, "InterceptorInfoMap"), 228 0x08ff9: (166, "FunctionTemplateInfoMap"),
229 0x09021: (165, "CallHandlerInfoMap"), 229 0x09021: (167, "ObjectTemplateInfoMap"),
230 0x09049: (166, "FunctionTemplateInfoMap"), 230 0x09049: (169, "TypeSwitchInfoMap"),
231 0x09071: (167, "ObjectTemplateInfoMap"), 231 0x09071: (173, "CodeCacheMap"),
232 0x09099: (169, "TypeSwitchInfoMap"), 232 0x09099: (175, "TypeFeedbackInfoMap"),
233 0x090c1: (173, "CodeCacheMap"), 233 0x090c1: (176, "AliasedArgumentsEntryMap"),
234 0x090e9: (175, "TypeFeedbackInfoMap"), 234 0x090e9: (178, "DebugInfoMap"),
235 0x09111: (176, "AliasedArgumentsEntryMap"), 235 0x09111: (179, "BreakPointInfoMap"),
236 0x09139: (178, "DebugInfoMap"),
237 0x09161: (179, "BreakPointInfoMap"),
238 } 236 }
239 237
240 # List of known V8 objects. 238 # List of known V8 objects.
241 KNOWN_OBJECTS = { 239 KNOWN_OBJECTS = {
242 ("OLD_POINTER_SPACE", 0x08081): "NullValue", 240 ("OLD_POINTER_SPACE", 0x08081): "NullValue",
243 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue", 241 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue",
244 ("OLD_POINTER_SPACE", 0x080a1): "TheHoleValue", 242 ("OLD_POINTER_SPACE", 0x080a1): "TheHoleValue",
245 ("OLD_POINTER_SPACE", 0x080b1): "TrueValue", 243 ("OLD_POINTER_SPACE", 0x080b1): "TrueValue",
246 ("OLD_POINTER_SPACE", 0x080c1): "FalseValue", 244 ("OLD_POINTER_SPACE", 0x080c1): "FalseValue",
247 ("OLD_POINTER_SPACE", 0x080d1): "UninitializedValue", 245 ("OLD_POINTER_SPACE", 0x080d1): "UninitializedValue",
248 ("OLD_POINTER_SPACE", 0x080e1): "Exception", 246 ("OLD_POINTER_SPACE", 0x080e1): "Exception",
249 ("OLD_POINTER_SPACE", 0x080f1): "NoInterceptorResultSentinel", 247 ("OLD_POINTER_SPACE", 0x080f1): "NoInterceptorResultSentinel",
250 ("OLD_POINTER_SPACE", 0x08101): "ArgumentsMarker", 248 ("OLD_POINTER_SPACE", 0x08101): "ArgumentsMarker",
251 ("OLD_POINTER_SPACE", 0x08111): "NumberStringCache", 249 ("OLD_POINTER_SPACE", 0x08111): "NumberStringCache",
252 ("OLD_POINTER_SPACE", 0x08919): "SingleCharacterStringCache", 250 ("OLD_POINTER_SPACE", 0x08919): "SingleCharacterStringCache",
253 ("OLD_POINTER_SPACE", 0x08d21): "StringSplitCache", 251 ("OLD_POINTER_SPACE", 0x08d21): "StringSplitCache",
254 ("OLD_POINTER_SPACE", 0x09129): "RegExpMultipleCache", 252 ("OLD_POINTER_SPACE", 0x09129): "RegExpMultipleCache",
255 ("OLD_POINTER_SPACE", 0x09531): "TerminationException", 253 ("OLD_POINTER_SPACE", 0x09531): "TerminationException",
256 ("OLD_POINTER_SPACE", 0x09541): "MessageListeners", 254 ("OLD_POINTER_SPACE", 0x09541): "MessageListeners",
257 ("OLD_POINTER_SPACE", 0x0955d): "CodeStubs", 255 ("OLD_POINTER_SPACE", 0x0955d): "CodeStubs",
258 ("OLD_POINTER_SPACE", 0x1139d): "NonMonomorphicCache", 256 ("OLD_POINTER_SPACE", 0x0f555): "NonMonomorphicCache",
259 ("OLD_POINTER_SPACE", 0x119b1): "PolymorphicCodeCache", 257 ("OLD_POINTER_SPACE", 0x0fb69): "PolymorphicCodeCache",
260 ("OLD_POINTER_SPACE", 0x119b9): "NativesSourceCache", 258 ("OLD_POINTER_SPACE", 0x0fb71): "NativesSourceCache",
261 ("OLD_POINTER_SPACE", 0x11a2d): "EmptyScript", 259 ("OLD_POINTER_SPACE", 0x0fbe1): "EmptyScript",
262 ("OLD_POINTER_SPACE", 0x11a69): "IntrinsicFunctionNames", 260 ("OLD_POINTER_SPACE", 0x0fc1d): "IntrinsicFunctionNames",
263 ("OLD_POINTER_SPACE", 0x17a85): "ObservationState", 261 ("OLD_POINTER_SPACE", 0x15c39): "ObservationState",
264 ("OLD_POINTER_SPACE", 0x17a91): "SymbolRegistry", 262 ("OLD_POINTER_SPACE", 0x15c45): "SymbolRegistry",
265 ("OLD_POINTER_SPACE", 0x1844d): "EmptySlowElementDictionary", 263 ("OLD_POINTER_SPACE", 0x16601): "EmptySlowElementDictionary",
266 ("OLD_POINTER_SPACE", 0x185e9): "AllocationSitesScratchpad", 264 ("OLD_POINTER_SPACE", 0x1679d): "AllocationSitesScratchpad",
267 ("OLD_POINTER_SPACE", 0x45d11): "StringTable", 265 ("OLD_POINTER_SPACE", 0x43e61): "StringTable",
268 ("OLD_DATA_SPACE", 0x08081): "EmptyDescriptorArray", 266 ("OLD_DATA_SPACE", 0x08081): "EmptyDescriptorArray",
269 ("OLD_DATA_SPACE", 0x08089): "EmptyFixedArray", 267 ("OLD_DATA_SPACE", 0x08089): "EmptyFixedArray",
270 ("OLD_DATA_SPACE", 0x080a9): "NanValue", 268 ("OLD_DATA_SPACE", 0x080a9): "NanValue",
271 ("OLD_DATA_SPACE", 0x08159): "EmptyByteArray", 269 ("OLD_DATA_SPACE", 0x08159): "EmptyByteArray",
272 ("OLD_DATA_SPACE", 0x08161): "EmptyConstantPoolArray", 270 ("OLD_DATA_SPACE", 0x08161): "EmptyConstantPoolArray",
273 ("OLD_DATA_SPACE", 0x08241): "EmptyExternalInt8Array", 271 ("OLD_DATA_SPACE", 0x08241): "EmptyExternalInt8Array",
274 ("OLD_DATA_SPACE", 0x0824d): "EmptyExternalUint8Array", 272 ("OLD_DATA_SPACE", 0x0824d): "EmptyExternalUint8Array",
275 ("OLD_DATA_SPACE", 0x08259): "EmptyExternalInt16Array", 273 ("OLD_DATA_SPACE", 0x08259): "EmptyExternalInt16Array",
276 ("OLD_DATA_SPACE", 0x08265): "EmptyExternalUint16Array", 274 ("OLD_DATA_SPACE", 0x08265): "EmptyExternalUint16Array",
277 ("OLD_DATA_SPACE", 0x08271): "EmptyExternalInt32Array", 275 ("OLD_DATA_SPACE", 0x08271): "EmptyExternalInt32Array",
278 ("OLD_DATA_SPACE", 0x0827d): "EmptyExternalUint32Array", 276 ("OLD_DATA_SPACE", 0x0827d): "EmptyExternalUint32Array",
279 ("OLD_DATA_SPACE", 0x08289): "EmptyExternalFloat32Array", 277 ("OLD_DATA_SPACE", 0x08289): "EmptyExternalFloat32Array",
280 ("OLD_DATA_SPACE", 0x08295): "EmptyExternalFloat64Array", 278 ("OLD_DATA_SPACE", 0x08295): "EmptyExternalFloat64Array",
281 ("OLD_DATA_SPACE", 0x082a1): "EmptyExternalUint8ClampedArray", 279 ("OLD_DATA_SPACE", 0x082a1): "EmptyExternalUint8ClampedArray",
282 ("OLD_DATA_SPACE", 0x082ad): "EmptyFixedUint8Array", 280 ("OLD_DATA_SPACE", 0x082ad): "EmptyFixedUint8Array",
283 ("OLD_DATA_SPACE", 0x082b5): "EmptyFixedInt8Array", 281 ("OLD_DATA_SPACE", 0x082b5): "EmptyFixedInt8Array",
284 ("OLD_DATA_SPACE", 0x082bd): "EmptyFixedUint16Array", 282 ("OLD_DATA_SPACE", 0x082bd): "EmptyFixedUint16Array",
285 ("OLD_DATA_SPACE", 0x082c5): "EmptyFixedInt16Array", 283 ("OLD_DATA_SPACE", 0x082c5): "EmptyFixedInt16Array",
286 ("OLD_DATA_SPACE", 0x082cd): "EmptyFixedUint32Array", 284 ("OLD_DATA_SPACE", 0x082cd): "EmptyFixedUint32Array",
287 ("OLD_DATA_SPACE", 0x082d5): "EmptyFixedInt32Array", 285 ("OLD_DATA_SPACE", 0x082d5): "EmptyFixedInt32Array",
288 ("OLD_DATA_SPACE", 0x082dd): "EmptyFixedFloat32Array", 286 ("OLD_DATA_SPACE", 0x082dd): "EmptyFixedFloat32Array",
289 ("OLD_DATA_SPACE", 0x082e5): "EmptyFixedFloat64Array", 287 ("OLD_DATA_SPACE", 0x082e5): "EmptyFixedFloat64Array",
290 ("OLD_DATA_SPACE", 0x082ed): "EmptyFixedUint8ClampedArray", 288 ("OLD_DATA_SPACE", 0x082ed): "EmptyFixedUint8ClampedArray",
291 ("OLD_DATA_SPACE", 0x082f5): "InfinityValue", 289 ("OLD_DATA_SPACE", 0x082f5): "InfinityValue",
292 ("OLD_DATA_SPACE", 0x08301): "MinusZeroValue", 290 ("OLD_DATA_SPACE", 0x08301): "MinusZeroValue",
293 ("CODE_SPACE", 0x17da1): "JsEntryCode", 291 ("CODE_SPACE", 0x15fa1): "JsEntryCode",
294 ("CODE_SPACE", 0x2a921): "JsConstructEntryCode", 292 ("CODE_SPACE", 0x243c1): "JsConstructEntryCode",
295 } 293 }
OLDNEW
« no previous file with comments | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698