Index: tools/v8heapconst.py |
diff --git a/tools/v8heapconst.py b/tools/v8heapconst.py |
index 1f72c372361e316eca4400bf773c2c14a8b6167d..06141c2f96a69075880f2329e2f05ab34dd80b20 100644 |
--- a/tools/v8heapconst.py |
+++ b/tools/v8heapconst.py |
@@ -71,53 +71,54 @@ INSTANCE_TYPES = { |
144: "EXTERNAL_FLOAT_ARRAY_TYPE", |
145: "EXTERNAL_DOUBLE_ARRAY_TYPE", |
146: "EXTERNAL_PIXEL_ARRAY_TYPE", |
- 148: "FILLER_TYPE", |
- 149: "DECLARED_ACCESSOR_DESCRIPTOR_TYPE", |
- 150: "DECLARED_ACCESSOR_INFO_TYPE", |
- 151: "EXECUTABLE_ACCESSOR_INFO_TYPE", |
- 152: "ACCESSOR_PAIR_TYPE", |
- 153: "ACCESS_CHECK_INFO_TYPE", |
- 154: "INTERCEPTOR_INFO_TYPE", |
- 155: "CALL_HANDLER_INFO_TYPE", |
- 156: "FUNCTION_TEMPLATE_INFO_TYPE", |
- 157: "OBJECT_TEMPLATE_INFO_TYPE", |
- 158: "SIGNATURE_INFO_TYPE", |
- 159: "TYPE_SWITCH_INFO_TYPE", |
- 161: "ALLOCATION_MEMENTO_TYPE", |
- 160: "ALLOCATION_SITE_TYPE", |
- 162: "SCRIPT_TYPE", |
- 163: "CODE_CACHE_TYPE", |
- 164: "POLYMORPHIC_CODE_CACHE_TYPE", |
- 165: "TYPE_FEEDBACK_INFO_TYPE", |
- 166: "ALIASED_ARGUMENTS_ENTRY_TYPE", |
- 167: "BOX_TYPE", |
- 170: "FIXED_ARRAY_TYPE", |
+ 149: "FILLER_TYPE", |
+ 150: "DECLARED_ACCESSOR_DESCRIPTOR_TYPE", |
+ 151: "DECLARED_ACCESSOR_INFO_TYPE", |
+ 152: "EXECUTABLE_ACCESSOR_INFO_TYPE", |
+ 153: "ACCESSOR_PAIR_TYPE", |
+ 154: "ACCESS_CHECK_INFO_TYPE", |
+ 155: "INTERCEPTOR_INFO_TYPE", |
+ 156: "CALL_HANDLER_INFO_TYPE", |
+ 157: "FUNCTION_TEMPLATE_INFO_TYPE", |
+ 158: "OBJECT_TEMPLATE_INFO_TYPE", |
+ 159: "SIGNATURE_INFO_TYPE", |
+ 160: "TYPE_SWITCH_INFO_TYPE", |
+ 162: "ALLOCATION_MEMENTO_TYPE", |
+ 161: "ALLOCATION_SITE_TYPE", |
+ 163: "SCRIPT_TYPE", |
+ 164: "CODE_CACHE_TYPE", |
+ 165: "POLYMORPHIC_CODE_CACHE_TYPE", |
+ 166: "TYPE_FEEDBACK_INFO_TYPE", |
+ 167: "ALIASED_ARGUMENTS_ENTRY_TYPE", |
+ 168: "BOX_TYPE", |
+ 171: "FIXED_ARRAY_TYPE", |
147: "FIXED_DOUBLE_ARRAY_TYPE", |
- 171: "SHARED_FUNCTION_INFO_TYPE", |
- 172: "JS_MESSAGE_OBJECT_TYPE", |
- 175: "JS_VALUE_TYPE", |
- 176: "JS_DATE_TYPE", |
- 177: "JS_OBJECT_TYPE", |
- 178: "JS_CONTEXT_EXTENSION_OBJECT_TYPE", |
- 179: "JS_GENERATOR_OBJECT_TYPE", |
- 180: "JS_MODULE_TYPE", |
- 181: "JS_GLOBAL_OBJECT_TYPE", |
- 182: "JS_BUILTINS_OBJECT_TYPE", |
- 183: "JS_GLOBAL_PROXY_TYPE", |
- 184: "JS_ARRAY_TYPE", |
- 185: "JS_ARRAY_BUFFER_TYPE", |
- 186: "JS_TYPED_ARRAY_TYPE", |
- 187: "JS_DATA_VIEW_TYPE", |
- 174: "JS_PROXY_TYPE", |
- 188: "JS_SET_TYPE", |
- 189: "JS_MAP_TYPE", |
- 190: "JS_WEAK_MAP_TYPE", |
- 191: "JS_WEAK_SET_TYPE", |
- 192: "JS_REGEXP_TYPE", |
- 193: "JS_FUNCTION_TYPE", |
- 173: "JS_FUNCTION_PROXY_TYPE", |
- 168: "DEBUG_INFO_TYPE", |
- 169: "BREAK_POINT_INFO_TYPE", |
+ 148: "CONSTANT_POOL_ARRAY_TYPE", |
+ 172: "SHARED_FUNCTION_INFO_TYPE", |
+ 173: "JS_MESSAGE_OBJECT_TYPE", |
+ 176: "JS_VALUE_TYPE", |
+ 177: "JS_DATE_TYPE", |
+ 178: "JS_OBJECT_TYPE", |
+ 179: "JS_CONTEXT_EXTENSION_OBJECT_TYPE", |
+ 180: "JS_GENERATOR_OBJECT_TYPE", |
+ 181: "JS_MODULE_TYPE", |
+ 182: "JS_GLOBAL_OBJECT_TYPE", |
+ 183: "JS_BUILTINS_OBJECT_TYPE", |
+ 184: "JS_GLOBAL_PROXY_TYPE", |
+ 185: "JS_ARRAY_TYPE", |
+ 186: "JS_ARRAY_BUFFER_TYPE", |
+ 187: "JS_TYPED_ARRAY_TYPE", |
+ 188: "JS_DATA_VIEW_TYPE", |
+ 175: "JS_PROXY_TYPE", |
+ 189: "JS_SET_TYPE", |
+ 190: "JS_MAP_TYPE", |
+ 191: "JS_WEAK_MAP_TYPE", |
+ 192: "JS_WEAK_SET_TYPE", |
+ 193: "JS_REGEXP_TYPE", |
+ 194: "JS_FUNCTION_TYPE", |
+ 174: "JS_FUNCTION_PROXY_TYPE", |
+ 169: "DEBUG_INFO_TYPE", |
+ 170: "BREAK_POINT_INFO_TYPE", |
} |
# List of known V8 maps. |
@@ -126,85 +127,86 @@ KNOWN_MAPS = { |
0x080a9: (129, "MetaMap"), |
0x080d1: (131, "OddballMap"), |
0x080f9: (4, "AsciiInternalizedStringMap"), |
- 0x08121: (170, "FixedArrayMap"), |
+ 0x08121: (171, "FixedArrayMap"), |
0x08149: (134, "HeapNumberMap"), |
0x08171: (137, "FreeSpaceMap"), |
- 0x08199: (148, "OnePointerFillerMap"), |
- 0x081c1: (148, "TwoPointerFillerMap"), |
+ 0x08199: (149, "OnePointerFillerMap"), |
+ 0x081c1: (149, "TwoPointerFillerMap"), |
0x081e9: (132, "CellMap"), |
0x08211: (133, "GlobalPropertyCellMap"), |
- 0x08239: (171, "SharedFunctionInfoMap"), |
- 0x08261: (170, "NativeContextMap"), |
+ 0x08239: (172, "SharedFunctionInfoMap"), |
+ 0x08261: (171, "NativeContextMap"), |
0x08289: (130, "CodeMap"), |
- 0x082b1: (170, "ScopeInfoMap"), |
- 0x082d9: (170, "FixedCOWArrayMap"), |
+ 0x082b1: (171, "ScopeInfoMap"), |
+ 0x082d9: (171, "FixedCOWArrayMap"), |
0x08301: (147, "FixedDoubleArrayMap"), |
- 0x08329: (170, "HashTableMap"), |
- 0x08351: (128, "SymbolMap"), |
- 0x08379: (64, "StringMap"), |
- 0x083a1: (68, "AsciiStringMap"), |
- 0x083c9: (65, "ConsStringMap"), |
- 0x083f1: (69, "ConsAsciiStringMap"), |
- 0x08419: (67, "SlicedStringMap"), |
- 0x08441: (71, "SlicedAsciiStringMap"), |
- 0x08469: (66, "ExternalStringMap"), |
- 0x08491: (74, "ExternalStringWithOneByteDataMap"), |
- 0x084b9: (70, "ExternalAsciiStringMap"), |
- 0x084e1: (82, "ShortExternalStringMap"), |
- 0x08509: (90, "ShortExternalStringWithOneByteDataMap"), |
- 0x08531: (0, "InternalizedStringMap"), |
- 0x08559: (1, "ConsInternalizedStringMap"), |
- 0x08581: (5, "ConsAsciiInternalizedStringMap"), |
- 0x085a9: (2, "ExternalInternalizedStringMap"), |
- 0x085d1: (10, "ExternalInternalizedStringWithOneByteDataMap"), |
- 0x085f9: (6, "ExternalAsciiInternalizedStringMap"), |
- 0x08621: (18, "ShortExternalInternalizedStringMap"), |
- 0x08649: (26, "ShortExternalInternalizedStringWithOneByteDataMap"), |
- 0x08671: (22, "ShortExternalAsciiInternalizedStringMap"), |
- 0x08699: (86, "ShortExternalAsciiStringMap"), |
- 0x086c1: (64, "UndetectableStringMap"), |
- 0x086e9: (68, "UndetectableAsciiStringMap"), |
- 0x08711: (138, "ExternalByteArrayMap"), |
- 0x08739: (139, "ExternalUnsignedByteArrayMap"), |
- 0x08761: (140, "ExternalShortArrayMap"), |
- 0x08789: (141, "ExternalUnsignedShortArrayMap"), |
- 0x087b1: (142, "ExternalIntArrayMap"), |
- 0x087d9: (143, "ExternalUnsignedIntArrayMap"), |
- 0x08801: (144, "ExternalFloatArrayMap"), |
- 0x08829: (145, "ExternalDoubleArrayMap"), |
- 0x08851: (146, "ExternalPixelArrayMap"), |
- 0x08879: (170, "NonStrictArgumentsElementsMap"), |
- 0x088a1: (170, "FunctionContextMap"), |
- 0x088c9: (170, "CatchContextMap"), |
- 0x088f1: (170, "WithContextMap"), |
- 0x08919: (170, "BlockContextMap"), |
- 0x08941: (170, "ModuleContextMap"), |
- 0x08969: (170, "GlobalContextMap"), |
- 0x08991: (172, "JSMessageObjectMap"), |
- 0x089b9: (135, "ForeignMap"), |
- 0x089e1: (177, "NeanderMap"), |
- 0x08a09: (161, "AllocationMementoMap"), |
- 0x08a31: (160, "AllocationSiteMap"), |
- 0x08a59: (164, "PolymorphicCodeCacheMap"), |
- 0x08a81: (162, "ScriptMap"), |
- 0x08ad1: (177, "ExternalMap"), |
- 0x08af9: (167, "BoxMap"), |
- 0x08b21: (149, "DeclaredAccessorDescriptorMap"), |
- 0x08b49: (150, "DeclaredAccessorInfoMap"), |
- 0x08b71: (151, "ExecutableAccessorInfoMap"), |
- 0x08b99: (152, "AccessorPairMap"), |
- 0x08bc1: (153, "AccessCheckInfoMap"), |
- 0x08be9: (154, "InterceptorInfoMap"), |
- 0x08c11: (155, "CallHandlerInfoMap"), |
- 0x08c39: (156, "FunctionTemplateInfoMap"), |
- 0x08c61: (157, "ObjectTemplateInfoMap"), |
- 0x08c89: (158, "SignatureInfoMap"), |
- 0x08cb1: (159, "TypeSwitchInfoMap"), |
- 0x08cd9: (163, "CodeCacheMap"), |
- 0x08d01: (165, "TypeFeedbackInfoMap"), |
- 0x08d29: (166, "AliasedArgumentsEntryMap"), |
- 0x08d51: (168, "DebugInfoMap"), |
- 0x08d79: (169, "BreakPointInfoMap"), |
+ 0x08329: (148, "ConstantPoolArrayMap"), |
+ 0x08351: (171, "HashTableMap"), |
+ 0x08379: (128, "SymbolMap"), |
+ 0x083a1: (64, "StringMap"), |
+ 0x083c9: (68, "AsciiStringMap"), |
+ 0x083f1: (65, "ConsStringMap"), |
+ 0x08419: (69, "ConsAsciiStringMap"), |
+ 0x08441: (67, "SlicedStringMap"), |
+ 0x08469: (71, "SlicedAsciiStringMap"), |
+ 0x08491: (66, "ExternalStringMap"), |
+ 0x084b9: (74, "ExternalStringWithOneByteDataMap"), |
+ 0x084e1: (70, "ExternalAsciiStringMap"), |
+ 0x08509: (82, "ShortExternalStringMap"), |
+ 0x08531: (90, "ShortExternalStringWithOneByteDataMap"), |
+ 0x08559: (0, "InternalizedStringMap"), |
+ 0x08581: (1, "ConsInternalizedStringMap"), |
+ 0x085a9: (5, "ConsAsciiInternalizedStringMap"), |
+ 0x085d1: (2, "ExternalInternalizedStringMap"), |
+ 0x085f9: (10, "ExternalInternalizedStringWithOneByteDataMap"), |
+ 0x08621: (6, "ExternalAsciiInternalizedStringMap"), |
+ 0x08649: (18, "ShortExternalInternalizedStringMap"), |
+ 0x08671: (26, "ShortExternalInternalizedStringWithOneByteDataMap"), |
+ 0x08699: (22, "ShortExternalAsciiInternalizedStringMap"), |
+ 0x086c1: (86, "ShortExternalAsciiStringMap"), |
+ 0x086e9: (64, "UndetectableStringMap"), |
+ 0x08711: (68, "UndetectableAsciiStringMap"), |
+ 0x08739: (138, "ExternalByteArrayMap"), |
+ 0x08761: (139, "ExternalUnsignedByteArrayMap"), |
+ 0x08789: (140, "ExternalShortArrayMap"), |
+ 0x087b1: (141, "ExternalUnsignedShortArrayMap"), |
+ 0x087d9: (142, "ExternalIntArrayMap"), |
+ 0x08801: (143, "ExternalUnsignedIntArrayMap"), |
+ 0x08829: (144, "ExternalFloatArrayMap"), |
+ 0x08851: (145, "ExternalDoubleArrayMap"), |
+ 0x08879: (146, "ExternalPixelArrayMap"), |
+ 0x088a1: (171, "NonStrictArgumentsElementsMap"), |
+ 0x088c9: (171, "FunctionContextMap"), |
+ 0x088f1: (171, "CatchContextMap"), |
+ 0x08919: (171, "WithContextMap"), |
+ 0x08941: (171, "BlockContextMap"), |
+ 0x08969: (171, "ModuleContextMap"), |
+ 0x08991: (171, "GlobalContextMap"), |
+ 0x089b9: (173, "JSMessageObjectMap"), |
+ 0x089e1: (135, "ForeignMap"), |
+ 0x08a09: (178, "NeanderMap"), |
+ 0x08a31: (162, "AllocationMementoMap"), |
+ 0x08a59: (161, "AllocationSiteMap"), |
+ 0x08a81: (165, "PolymorphicCodeCacheMap"), |
+ 0x08aa9: (163, "ScriptMap"), |
+ 0x08af9: (178, "ExternalMap"), |
+ 0x08b21: (168, "BoxMap"), |
+ 0x08b49: (150, "DeclaredAccessorDescriptorMap"), |
+ 0x08b71: (151, "DeclaredAccessorInfoMap"), |
+ 0x08b99: (152, "ExecutableAccessorInfoMap"), |
+ 0x08bc1: (153, "AccessorPairMap"), |
+ 0x08be9: (154, "AccessCheckInfoMap"), |
+ 0x08c11: (155, "InterceptorInfoMap"), |
+ 0x08c39: (156, "CallHandlerInfoMap"), |
+ 0x08c61: (157, "FunctionTemplateInfoMap"), |
+ 0x08c89: (158, "ObjectTemplateInfoMap"), |
+ 0x08cb1: (159, "SignatureInfoMap"), |
+ 0x08cd9: (160, "TypeSwitchInfoMap"), |
+ 0x08d01: (164, "CodeCacheMap"), |
+ 0x08d29: (166, "TypeFeedbackInfoMap"), |
+ 0x08d51: (167, "AliasedArgumentsEntryMap"), |
+ 0x08d79: (169, "DebugInfoMap"), |
+ 0x08da1: (170, "BreakPointInfoMap"), |
} |
# List of known V8 objects. |
@@ -250,6 +252,6 @@ KNOWN_OBJECTS = { |
("OLD_DATA_SPACE", 0x082c9): "EmptyExternalPixelArray", |
("OLD_DATA_SPACE", 0x082d5): "InfinityValue", |
("OLD_DATA_SPACE", 0x082e1): "MinusZeroValue", |
- ("CODE_SPACE", 0x11141): "JsConstructEntryCode", |
- ("CODE_SPACE", 0x18da1): "JsEntryCode", |
+ ("CODE_SPACE", 0x111a1): "JsConstructEntryCode", |
+ ("CODE_SPACE", 0x18bc1): "JsEntryCode", |
} |