Update grokdump to reflect current heap layout.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Jan 2013 10:07:47 +0000 (10:07 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Jan 2013 10:07:47 +0000 (10:07 +0000)
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/12094038

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13549 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/grokdump.py

index 083dc68..7a07675 100755 (executable)
@@ -878,31 +878,32 @@ INSTANCE_TYPES = {
   153: "OBJECT_TEMPLATE_INFO_TYPE",
   154: "SIGNATURE_INFO_TYPE",
   155: "TYPE_SWITCH_INFO_TYPE",
-  156: "SCRIPT_TYPE",
-  157: "CODE_CACHE_TYPE",
-  158: "POLYMORPHIC_CODE_CACHE_TYPE",
-  159: "TYPE_FEEDBACK_INFO_TYPE",
-  160: "ALIASED_ARGUMENTS_ENTRY_TYPE",
-  163: "FIXED_ARRAY_TYPE",
+  156: "ALLOCATION_SITE_INFO_TYPE",
+  157: "SCRIPT_TYPE",
+  158: "CODE_CACHE_TYPE",
+  159: "POLYMORPHIC_CODE_CACHE_TYPE",
+  160: "TYPE_FEEDBACK_INFO_TYPE",
+  161: "ALIASED_ARGUMENTS_ENTRY_TYPE",
+  164: "FIXED_ARRAY_TYPE",
   145: "FIXED_DOUBLE_ARRAY_TYPE",
-  164: "SHARED_FUNCTION_INFO_TYPE",
-  165: "JS_MESSAGE_OBJECT_TYPE",
-  168: "JS_VALUE_TYPE",
-  169: "JS_DATE_TYPE",
-  170: "JS_OBJECT_TYPE",
-  171: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
-  172: "JS_MODULE_TYPE",
-  173: "JS_GLOBAL_OBJECT_TYPE",
-  174: "JS_BUILTINS_OBJECT_TYPE",
-  175: "JS_GLOBAL_PROXY_TYPE",
-  176: "JS_ARRAY_TYPE",
-  167: "JS_PROXY_TYPE",
-  179: "JS_WEAK_MAP_TYPE",
-  180: "JS_REGEXP_TYPE",
-  181: "JS_FUNCTION_TYPE",
-  166: "JS_FUNCTION_PROXY_TYPE",
-  161: "DEBUG_INFO_TYPE",
-  162: "BREAK_POINT_INFO_TYPE",
+  165: "SHARED_FUNCTION_INFO_TYPE",
+  166: "JS_MESSAGE_OBJECT_TYPE",
+  169: "JS_VALUE_TYPE",
+  170: "JS_DATE_TYPE",
+  171: "JS_OBJECT_TYPE",
+  172: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
+  173: "JS_MODULE_TYPE",
+  174: "JS_GLOBAL_OBJECT_TYPE",
+  175: "JS_BUILTINS_OBJECT_TYPE",
+  176: "JS_GLOBAL_PROXY_TYPE",
+  177: "JS_ARRAY_TYPE",
+  168: "JS_PROXY_TYPE",
+  180: "JS_WEAK_MAP_TYPE",
+  181: "JS_REGEXP_TYPE",
+  182: "JS_FUNCTION_TYPE",
+  167: "JS_FUNCTION_PROXY_TYPE",
+  162: "DEBUG_INFO_TYPE",
+  163: "BREAK_POINT_INFO_TYPE",
 }
 
 
@@ -928,83 +929,84 @@ INSTANCE_TYPES = {
 # }
 # printf("}\n");
 KNOWN_MAPS = {
-  0x08081: (128, "MetaMap"),
-  0x080a5: (163, "FixedArrayMap"),
-  0x080c9: (130, "OddballMap"),
-  0x080ed: (163, "FixedCOWArrayMap"),
-  0x08111: (163, "ScopeInfoMap"),
-  0x08135: (132, "HeapNumberMap"),
-  0x08159: (133, "ForeignMap"),
-  0x0817d: (64, "SymbolMap"),
-  0x081a1: (68, "AsciiSymbolMap"),
-  0x081c5: (65, "ConsSymbolMap"),
-  0x081e9: (69, "ConsAsciiSymbolMap"),
-  0x0820d: (66, "ExternalSymbolMap"),
-  0x08231: (74, "ExternalSymbolWithAsciiDataMap"),
-  0x08255: (70, "ExternalAsciiSymbolMap"),
-  0x08279: (82, "ShortExternalSymbolMap"),
-  0x0829d: (90, "ShortExternalSymbolWithAsciiDataMap"),
-  0x082c1: (86, "ShortExternalAsciiSymbolMap"),
-  0x082e5: (0, "StringMap"),
-  0x08309: (4, "AsciiStringMap"),
-  0x0832d: (1, "ConsStringMap"),
-  0x08351: (5, "ConsAsciiStringMap"),
-  0x08375: (3, "SlicedStringMap"),
-  0x08399: (7, "SlicedAsciiStringMap"),
-  0x083bd: (2, "ExternalStringMap"),
-  0x083e1: (10, "ExternalStringWithAsciiDataMap"),
-  0x08405: (6, "ExternalAsciiStringMap"),
-  0x08429: (18, "ShortExternalStringMap"),
-  0x0844d: (26, "ShortExternalStringWithAsciiDataMap"),
-  0x08471: (22, "ShortExternalAsciiStringMap"),
-  0x08495: (0, "UndetectableStringMap"),
-  0x084b9: (4, "UndetectableAsciiStringMap"),
-  0x084dd: (145, "FixedDoubleArrayMap"),
-  0x08501: (134, "ByteArrayMap"),
-  0x08525: (135, "FreeSpaceMap"),
-  0x08549: (144, "ExternalPixelArrayMap"),
-  0x0856d: (136, "ExternalByteArrayMap"),
-  0x08591: (137, "ExternalUnsignedByteArrayMap"),
-  0x085b5: (138, "ExternalShortArrayMap"),
-  0x085d9: (139, "ExternalUnsignedShortArrayMap"),
-  0x085fd: (140, "ExternalIntArrayMap"),
-  0x08621: (141, "ExternalUnsignedIntArrayMap"),
-  0x08645: (142, "ExternalFloatArrayMap"),
-  0x08669: (163, "NonStrictArgumentsElementsMap"),
-  0x0868d: (143, "ExternalDoubleArrayMap"),
-  0x086b1: (129, "CodeMap"),
-  0x086d5: (131, "GlobalPropertyCellMap"),
-  0x086f9: (146, "OnePointerFillerMap"),
-  0x0871d: (146, "TwoPointerFillerMap"),
-  0x08741: (147, "AccessorInfoMap"),
-  0x08765: (148, "AccessorPairMap"),
-  0x08789: (149, "AccessCheckInfoMap"),
-  0x087ad: (150, "InterceptorInfoMap"),
-  0x087d1: (151, "CallHandlerInfoMap"),
-  0x087f5: (152, "FunctionTemplateInfoMap"),
-  0x08819: (153, "ObjectTemplateInfoMap"),
-  0x0883d: (154, "SignatureInfoMap"),
-  0x08861: (155, "TypeSwitchInfoMap"),
-  0x08885: (156, "ScriptMap"),
-  0x088a9: (157, "CodeCacheMap"),
-  0x088cd: (158, "PolymorphicCodeCacheMap"),
-  0x088f1: (159, "TypeFeedbackInfoMap"),
-  0x08915: (160, "AliasedArgumentsEntryMap"),
-  0x08939: (161, "DebugInfoMap"),
-  0x0895d: (162, "BreakPointInfoMap"),
-  0x08981: (163, "HashTableMap"),
-  0x089a5: (163, "FunctionContextMap"),
-  0x089c9: (163, "CatchContextMap"),
-  0x089ed: (163, "WithContextMap"),
-  0x08a11: (163, "BlockContextMap"),
-  0x08a35: (163, "ModuleContextMap"),
-  0x08a59: (163, "GlobalContextMap"),
-  0x08a7d: (163, "NativeContextMap"),
-  0x08aa1: (164, "SharedFunctionInfoMap"),
-  0x08ac5: (165, "JSMessageObjectMap"),
-  0x08ae9: (170, "ExternalMap"),
-  0x08b0d: (170, "NeanderMap"),
-  0x08b31: (170, ""),
+  0x08081: (134, "ByteArrayMap"),
+  0x080a9: (128, "MetaMap"),
+  0x080d1: (130, "OddballMap"),
+  0x080f9: (68, "AsciiSymbolMap"),
+  0x08121: (164, "FixedArrayMap"),
+  0x08149: (132, "HeapNumberMap"),
+  0x08171: (135, "FreeSpaceMap"),
+  0x08199: (146, "OnePointerFillerMap"),
+  0x081c1: (146, "TwoPointerFillerMap"),
+  0x081e9: (131, "GlobalPropertyCellMap"),
+  0x08211: (165, "SharedFunctionInfoMap"),
+  0x08239: (4, "AsciiStringMap"),
+  0x08261: (164, "NativeContextMap"),
+  0x08289: (129, "CodeMap"),
+  0x082b1: (164, "ScopeInfoMap"),
+  0x082d9: (164, "FixedCOWArrayMap"),
+  0x08301: (145, "FixedDoubleArrayMap"),
+  0x08329: (164, "HashTableMap"),
+  0x08351: (0, "StringMap"),
+  0x08379: (64, "SymbolMap"),
+  0x083a1: (1, "ConsStringMap"),
+  0x083c9: (5, "ConsAsciiStringMap"),
+  0x083f1: (3, "SlicedStringMap"),
+  0x08419: (7, "SlicedAsciiStringMap"),
+  0x08441: (65, "ConsSymbolMap"),
+  0x08469: (69, "ConsAsciiSymbolMap"),
+  0x08491: (66, "ExternalSymbolMap"),
+  0x084b9: (74, "ExternalSymbolWithAsciiDataMap"),
+  0x084e1: (70, "ExternalAsciiSymbolMap"),
+  0x08509: (2, "ExternalStringMap"),
+  0x08531: (10, "ExternalStringWithAsciiDataMap"),
+  0x08559: (6, "ExternalAsciiStringMap"),
+  0x08581: (82, "ShortExternalSymbolMap"),
+  0x085a9: (90, "ShortExternalSymbolWithAsciiDataMap"),
+  0x085d1: (86, "ShortExternalAsciiSymbolMap"),
+  0x085f9: (18, "ShortExternalStringMap"),
+  0x08621: (26, "ShortExternalStringWithAsciiDataMap"),
+  0x08649: (22, "ShortExternalAsciiStringMap"),
+  0x08671: (0, "UndetectableStringMap"),
+  0x08699: (4, "UndetectableAsciiStringMap"),
+  0x086c1: (144, "ExternalPixelArrayMap"),
+  0x086e9: (136, "ExternalByteArrayMap"),
+  0x08711: (137, "ExternalUnsignedByteArrayMap"),
+  0x08739: (138, "ExternalShortArrayMap"),
+  0x08761: (139, "ExternalUnsignedShortArrayMap"),
+  0x08789: (140, "ExternalIntArrayMap"),
+  0x087b1: (141, "ExternalUnsignedIntArrayMap"),
+  0x087d9: (142, "ExternalFloatArrayMap"),
+  0x08801: (143, "ExternalDoubleArrayMap"),
+  0x08829: (164, "NonStrictArgumentsElementsMap"),
+  0x08851: (164, "FunctionContextMap"),
+  0x08879: (164, "CatchContextMap"),
+  0x088a1: (164, "WithContextMap"),
+  0x088c9: (164, "BlockContextMap"),
+  0x088f1: (164, "ModuleContextMap"),
+  0x08919: (164, "GlobalContextMap"),
+  0x08941: (166, "JSMessageObjectMap"),
+  0x08969: (133, "ForeignMap"),
+  0x08991: (171, "NeanderMap"),
+  0x089b9: (156, "AllocationSiteInfoMap"),
+  0x089e1: (159, "PolymorphicCodeCacheMap"),
+  0x08a09: (157, "ScriptMap"),
+  0x08a31: (171, ""),
+  0x08a59: (171, "ExternalMap"),
+  0x08a81: (147, "AccessorInfoMap"),
+  0x08aa9: (148, "AccessorPairMap"),
+  0x08ad1: (149, "AccessCheckInfoMap"),
+  0x08af9: (150, "InterceptorInfoMap"),
+  0x08b21: (151, "CallHandlerInfoMap"),
+  0x08b49: (152, "FunctionTemplateInfoMap"),
+  0x08b71: (153, "ObjectTemplateInfoMap"),
+  0x08b99: (154, "SignatureInfoMap"),
+  0x08bc1: (155, "TypeSwitchInfoMap"),
+  0x08be9: (158, "CodeCacheMap"),
+  0x08c11: (160, "TypeFeedbackInfoMap"),
+  0x08c39: (161, "AliasedArgumentsEntryMap"),
+  0x08c61: (162, "DebugInfoMap"),
+  0x08c89: (163, "BreakPointInfoMap"),
 }