Update tools/v8heapconst.py.
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/1674023003 Cr-Commit-Position: refs/heads/master@{#33803}
This commit is contained in:
parent
9257db7781
commit
a13e0af506
@ -55,8 +55,8 @@ INSTANCE_TYPES = {
|
|||||||
132: "MAP_TYPE",
|
132: "MAP_TYPE",
|
||||||
133: "CODE_TYPE",
|
133: "CODE_TYPE",
|
||||||
131: "ODDBALL_TYPE",
|
131: "ODDBALL_TYPE",
|
||||||
173: "CELL_TYPE",
|
171: "CELL_TYPE",
|
||||||
176: "PROPERTY_CELL_TYPE",
|
174: "PROPERTY_CELL_TYPE",
|
||||||
129: "HEAP_NUMBER_TYPE",
|
129: "HEAP_NUMBER_TYPE",
|
||||||
134: "MUTABLE_HEAP_NUMBER_TYPE",
|
134: "MUTABLE_HEAP_NUMBER_TYPE",
|
||||||
135: "FOREIGN_TYPE",
|
135: "FOREIGN_TYPE",
|
||||||
@ -73,59 +73,57 @@ INSTANCE_TYPES = {
|
|||||||
146: "FIXED_FLOAT64_ARRAY_TYPE",
|
146: "FIXED_FLOAT64_ARRAY_TYPE",
|
||||||
147: "FIXED_UINT8_CLAMPED_ARRAY_TYPE",
|
147: "FIXED_UINT8_CLAMPED_ARRAY_TYPE",
|
||||||
149: "FILLER_TYPE",
|
149: "FILLER_TYPE",
|
||||||
150: "DECLARED_ACCESSOR_DESCRIPTOR_TYPE",
|
150: "ACCESSOR_INFO_TYPE",
|
||||||
151: "DECLARED_ACCESSOR_INFO_TYPE",
|
151: "ACCESSOR_PAIR_TYPE",
|
||||||
152: "EXECUTABLE_ACCESSOR_INFO_TYPE",
|
152: "ACCESS_CHECK_INFO_TYPE",
|
||||||
153: "ACCESSOR_PAIR_TYPE",
|
153: "INTERCEPTOR_INFO_TYPE",
|
||||||
154: "ACCESS_CHECK_INFO_TYPE",
|
154: "CALL_HANDLER_INFO_TYPE",
|
||||||
155: "INTERCEPTOR_INFO_TYPE",
|
155: "FUNCTION_TEMPLATE_INFO_TYPE",
|
||||||
156: "CALL_HANDLER_INFO_TYPE",
|
156: "OBJECT_TEMPLATE_INFO_TYPE",
|
||||||
157: "FUNCTION_TEMPLATE_INFO_TYPE",
|
157: "SIGNATURE_INFO_TYPE",
|
||||||
158: "OBJECT_TEMPLATE_INFO_TYPE",
|
158: "TYPE_SWITCH_INFO_TYPE",
|
||||||
159: "SIGNATURE_INFO_TYPE",
|
160: "ALLOCATION_MEMENTO_TYPE",
|
||||||
160: "TYPE_SWITCH_INFO_TYPE",
|
159: "ALLOCATION_SITE_TYPE",
|
||||||
162: "ALLOCATION_MEMENTO_TYPE",
|
161: "SCRIPT_TYPE",
|
||||||
161: "ALLOCATION_SITE_TYPE",
|
162: "CODE_CACHE_TYPE",
|
||||||
163: "SCRIPT_TYPE",
|
163: "POLYMORPHIC_CODE_CACHE_TYPE",
|
||||||
164: "CODE_CACHE_TYPE",
|
164: "TYPE_FEEDBACK_INFO_TYPE",
|
||||||
165: "POLYMORPHIC_CODE_CACHE_TYPE",
|
165: "ALIASED_ARGUMENTS_ENTRY_TYPE",
|
||||||
166: "TYPE_FEEDBACK_INFO_TYPE",
|
166: "BOX_TYPE",
|
||||||
167: "ALIASED_ARGUMENTS_ENTRY_TYPE",
|
175: "PROTOTYPE_INFO_TYPE",
|
||||||
168: "BOX_TYPE",
|
176: "SLOPPY_BLOCK_WITH_EVAL_CONTEXT_EXTENSION_TYPE",
|
||||||
177: "PROTOTYPE_INFO_TYPE",
|
169: "FIXED_ARRAY_TYPE",
|
||||||
178: "SLOPPY_BLOCK_WITH_EVAL_CONTEXT_EXTENSION_TYPE",
|
|
||||||
171: "FIXED_ARRAY_TYPE",
|
|
||||||
148: "FIXED_DOUBLE_ARRAY_TYPE",
|
148: "FIXED_DOUBLE_ARRAY_TYPE",
|
||||||
172: "SHARED_FUNCTION_INFO_TYPE",
|
170: "SHARED_FUNCTION_INFO_TYPE",
|
||||||
174: "WEAK_CELL_TYPE",
|
172: "WEAK_CELL_TYPE",
|
||||||
175: "TRANSITION_ARRAY_TYPE",
|
173: "TRANSITION_ARRAY_TYPE",
|
||||||
181: "JS_MESSAGE_OBJECT_TYPE",
|
179: "JS_MESSAGE_OBJECT_TYPE",
|
||||||
180: "JS_VALUE_TYPE",
|
178: "JS_VALUE_TYPE",
|
||||||
182: "JS_DATE_TYPE",
|
180: "JS_DATE_TYPE",
|
||||||
183: "JS_OBJECT_TYPE",
|
181: "JS_OBJECT_TYPE",
|
||||||
184: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
|
182: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
|
||||||
185: "JS_GENERATOR_OBJECT_TYPE",
|
183: "JS_GENERATOR_OBJECT_TYPE",
|
||||||
186: "JS_MODULE_TYPE",
|
184: "JS_MODULE_TYPE",
|
||||||
187: "JS_GLOBAL_OBJECT_TYPE",
|
185: "JS_GLOBAL_OBJECT_TYPE",
|
||||||
188: "JS_GLOBAL_PROXY_TYPE",
|
186: "JS_GLOBAL_PROXY_TYPE",
|
||||||
189: "JS_ARRAY_TYPE",
|
187: "JS_ARRAY_TYPE",
|
||||||
190: "JS_ARRAY_BUFFER_TYPE",
|
188: "JS_ARRAY_BUFFER_TYPE",
|
||||||
191: "JS_TYPED_ARRAY_TYPE",
|
189: "JS_TYPED_ARRAY_TYPE",
|
||||||
192: "JS_DATA_VIEW_TYPE",
|
190: "JS_DATA_VIEW_TYPE",
|
||||||
179: "JS_PROXY_TYPE",
|
177: "JS_PROXY_TYPE",
|
||||||
193: "JS_SET_TYPE",
|
191: "JS_SET_TYPE",
|
||||||
194: "JS_MAP_TYPE",
|
192: "JS_MAP_TYPE",
|
||||||
195: "JS_SET_ITERATOR_TYPE",
|
193: "JS_SET_ITERATOR_TYPE",
|
||||||
196: "JS_MAP_ITERATOR_TYPE",
|
194: "JS_MAP_ITERATOR_TYPE",
|
||||||
197: "JS_ITERATOR_RESULT_TYPE",
|
195: "JS_ITERATOR_RESULT_TYPE",
|
||||||
198: "JS_WEAK_MAP_TYPE",
|
196: "JS_WEAK_MAP_TYPE",
|
||||||
199: "JS_WEAK_SET_TYPE",
|
197: "JS_WEAK_SET_TYPE",
|
||||||
200: "JS_PROMISE_TYPE",
|
198: "JS_PROMISE_TYPE",
|
||||||
201: "JS_REGEXP_TYPE",
|
199: "JS_REGEXP_TYPE",
|
||||||
202: "JS_BOUND_FUNCTION_TYPE",
|
200: "JS_BOUND_FUNCTION_TYPE",
|
||||||
203: "JS_FUNCTION_TYPE",
|
201: "JS_FUNCTION_TYPE",
|
||||||
169: "DEBUG_INFO_TYPE",
|
167: "DEBUG_INFO_TYPE",
|
||||||
170: "BREAK_POINT_INFO_TYPE",
|
168: "BREAK_POINT_INFO_TYPE",
|
||||||
}
|
}
|
||||||
|
|
||||||
# List of known V8 maps.
|
# List of known V8 maps.
|
||||||
@ -133,7 +131,7 @@ KNOWN_MAPS = {
|
|||||||
0x08081: (136, "ByteArrayMap"),
|
0x08081: (136, "ByteArrayMap"),
|
||||||
0x080ad: (132, "MetaMap"),
|
0x080ad: (132, "MetaMap"),
|
||||||
0x080d9: (131, "NullMap"),
|
0x080d9: (131, "NullMap"),
|
||||||
0x08105: (171, "FixedArrayMap"),
|
0x08105: (169, "FixedArrayMap"),
|
||||||
0x08131: (4, "OneByteInternalizedStringMap"),
|
0x08131: (4, "OneByteInternalizedStringMap"),
|
||||||
0x0815d: (138, "FreeSpaceMap"),
|
0x0815d: (138, "FreeSpaceMap"),
|
||||||
0x08189: (149, "OnePointerFillerMap"),
|
0x08189: (149, "OnePointerFillerMap"),
|
||||||
@ -143,9 +141,9 @@ KNOWN_MAPS = {
|
|||||||
0x08239: (131, "TheHoleMap"),
|
0x08239: (131, "TheHoleMap"),
|
||||||
0x08265: (131, "BooleanMap"),
|
0x08265: (131, "BooleanMap"),
|
||||||
0x08291: (131, "UninitializedMap"),
|
0x08291: (131, "UninitializedMap"),
|
||||||
0x082bd: (173, "CellMap"),
|
0x082bd: (171, "CellMap"),
|
||||||
0x082e9: (176, "GlobalPropertyCellMap"),
|
0x082e9: (174, "GlobalPropertyCellMap"),
|
||||||
0x08315: (172, "SharedFunctionInfoMap"),
|
0x08315: (170, "SharedFunctionInfoMap"),
|
||||||
0x08341: (134, "MutableHeapNumberMap"),
|
0x08341: (134, "MutableHeapNumberMap"),
|
||||||
0x0836d: (130, "Float32x4Map"),
|
0x0836d: (130, "Float32x4Map"),
|
||||||
0x08399: (130, "Int32x4Map"),
|
0x08399: (130, "Int32x4Map"),
|
||||||
@ -157,21 +155,21 @@ KNOWN_MAPS = {
|
|||||||
0x084a1: (130, "Int8x16Map"),
|
0x084a1: (130, "Int8x16Map"),
|
||||||
0x084cd: (130, "Uint8x16Map"),
|
0x084cd: (130, "Uint8x16Map"),
|
||||||
0x084f9: (130, "Bool8x16Map"),
|
0x084f9: (130, "Bool8x16Map"),
|
||||||
0x08525: (171, "NativeContextMap"),
|
0x08525: (169, "NativeContextMap"),
|
||||||
0x08551: (133, "CodeMap"),
|
0x08551: (133, "CodeMap"),
|
||||||
0x0857d: (171, "ScopeInfoMap"),
|
0x0857d: (169, "ScopeInfoMap"),
|
||||||
0x085a9: (171, "FixedCOWArrayMap"),
|
0x085a9: (169, "FixedCOWArrayMap"),
|
||||||
0x085d5: (148, "FixedDoubleArrayMap"),
|
0x085d5: (148, "FixedDoubleArrayMap"),
|
||||||
0x08601: (174, "WeakCellMap"),
|
0x08601: (172, "WeakCellMap"),
|
||||||
0x0862d: (175, "TransitionArrayMap"),
|
0x0862d: (173, "TransitionArrayMap"),
|
||||||
0x08659: (68, "OneByteStringMap"),
|
0x08659: (68, "OneByteStringMap"),
|
||||||
0x08685: (171, "FunctionContextMap"),
|
0x08685: (169, "FunctionContextMap"),
|
||||||
0x086b1: (131, "NoInterceptorResultSentinelMap"),
|
0x086b1: (131, "NoInterceptorResultSentinelMap"),
|
||||||
0x086dd: (131, "ArgumentsMarkerMap"),
|
0x086dd: (131, "ArgumentsMarkerMap"),
|
||||||
0x08709: (131, "ExceptionMap"),
|
0x08709: (131, "ExceptionMap"),
|
||||||
0x08735: (131, "TerminationExceptionMap"),
|
0x08735: (131, "TerminationExceptionMap"),
|
||||||
0x08761: (171, "HashTableMap"),
|
0x08761: (169, "HashTableMap"),
|
||||||
0x0878d: (171, "OrderedHashTableMap"),
|
0x0878d: (169, "OrderedHashTableMap"),
|
||||||
0x087b9: (128, "SymbolMap"),
|
0x087b9: (128, "SymbolMap"),
|
||||||
0x087e5: (64, "StringMap"),
|
0x087e5: (64, "StringMap"),
|
||||||
0x08811: (69, "ConsOneByteStringMap"),
|
0x08811: (69, "ConsOneByteStringMap"),
|
||||||
@ -201,37 +199,37 @@ KNOWN_MAPS = {
|
|||||||
0x08c31: (145, "FixedFloat32ArrayMap"),
|
0x08c31: (145, "FixedFloat32ArrayMap"),
|
||||||
0x08c5d: (146, "FixedFloat64ArrayMap"),
|
0x08c5d: (146, "FixedFloat64ArrayMap"),
|
||||||
0x08c89: (147, "FixedUint8ClampedArrayMap"),
|
0x08c89: (147, "FixedUint8ClampedArrayMap"),
|
||||||
0x08cb5: (171, "SloppyArgumentsElementsMap"),
|
0x08cb5: (169, "SloppyArgumentsElementsMap"),
|
||||||
0x08ce1: (171, "CatchContextMap"),
|
0x08ce1: (169, "CatchContextMap"),
|
||||||
0x08d0d: (171, "WithContextMap"),
|
0x08d0d: (169, "WithContextMap"),
|
||||||
0x08d39: (171, "BlockContextMap"),
|
0x08d39: (169, "BlockContextMap"),
|
||||||
0x08d65: (171, "ModuleContextMap"),
|
0x08d65: (169, "ModuleContextMap"),
|
||||||
0x08d91: (171, "ScriptContextMap"),
|
0x08d91: (169, "ScriptContextMap"),
|
||||||
0x08dbd: (171, "ScriptContextTableMap"),
|
0x08dbd: (169, "ScriptContextTableMap"),
|
||||||
0x08de9: (181, "JSMessageObjectMap"),
|
0x08de9: (179, "JSMessageObjectMap"),
|
||||||
0x08e15: (135, "ForeignMap"),
|
0x08e15: (135, "ForeignMap"),
|
||||||
0x08e41: (183, "NeanderMap"),
|
0x08e41: (181, "NeanderMap"),
|
||||||
0x08e6d: (183, "ExternalMap"),
|
0x08e6d: (181, "ExternalMap"),
|
||||||
0x08e99: (162, "AllocationMementoMap"),
|
0x08e99: (160, "AllocationMementoMap"),
|
||||||
0x08ec5: (161, "AllocationSiteMap"),
|
0x08ec5: (159, "AllocationSiteMap"),
|
||||||
0x08ef1: (165, "PolymorphicCodeCacheMap"),
|
0x08ef1: (163, "PolymorphicCodeCacheMap"),
|
||||||
0x08f1d: (163, "ScriptMap"),
|
0x08f1d: (161, "ScriptMap"),
|
||||||
0x08f75: (137, "BytecodeArrayMap"),
|
0x08f75: (137, "BytecodeArrayMap"),
|
||||||
0x08fa1: (168, "BoxMap"),
|
0x08fa1: (166, "BoxMap"),
|
||||||
0x08fcd: (152, "ExecutableAccessorInfoMap"),
|
0x08fcd: (150, "AccessorInfoMap"),
|
||||||
0x08ff9: (153, "AccessorPairMap"),
|
0x08ff9: (151, "AccessorPairMap"),
|
||||||
0x09025: (154, "AccessCheckInfoMap"),
|
0x09025: (152, "AccessCheckInfoMap"),
|
||||||
0x09051: (155, "InterceptorInfoMap"),
|
0x09051: (153, "InterceptorInfoMap"),
|
||||||
0x0907d: (156, "CallHandlerInfoMap"),
|
0x0907d: (154, "CallHandlerInfoMap"),
|
||||||
0x090a9: (157, "FunctionTemplateInfoMap"),
|
0x090a9: (155, "FunctionTemplateInfoMap"),
|
||||||
0x090d5: (158, "ObjectTemplateInfoMap"),
|
0x090d5: (156, "ObjectTemplateInfoMap"),
|
||||||
0x09101: (164, "CodeCacheMap"),
|
0x09101: (162, "CodeCacheMap"),
|
||||||
0x0912d: (166, "TypeFeedbackInfoMap"),
|
0x0912d: (164, "TypeFeedbackInfoMap"),
|
||||||
0x09159: (167, "AliasedArgumentsEntryMap"),
|
0x09159: (165, "AliasedArgumentsEntryMap"),
|
||||||
0x09185: (169, "DebugInfoMap"),
|
0x09185: (167, "DebugInfoMap"),
|
||||||
0x091b1: (170, "BreakPointInfoMap"),
|
0x091b1: (168, "BreakPointInfoMap"),
|
||||||
0x091dd: (177, "PrototypeInfoMap"),
|
0x091dd: (175, "PrototypeInfoMap"),
|
||||||
0x09209: (178, "SloppyBlockWithEvalContextExtensionMap"),
|
0x09209: (176, "SloppyBlockWithEvalContextExtensionMap"),
|
||||||
}
|
}
|
||||||
|
|
||||||
# List of known V8 objects.
|
# List of known V8 objects.
|
||||||
@ -270,28 +268,27 @@ KNOWN_OBJECTS = {
|
|||||||
("OLD_SPACE", 0x0980d): "MinusInfinityValue",
|
("OLD_SPACE", 0x0980d): "MinusInfinityValue",
|
||||||
("OLD_SPACE", 0x0981d): "MessageListeners",
|
("OLD_SPACE", 0x0981d): "MessageListeners",
|
||||||
("OLD_SPACE", 0x09839): "CodeStubs",
|
("OLD_SPACE", 0x09839): "CodeStubs",
|
||||||
("OLD_SPACE", 0x10201): "DummyVector",
|
("OLD_SPACE", 0x0feb9): "DummyVector",
|
||||||
("OLD_SPACE", 0x1403d): "NonMonomorphicCache",
|
("OLD_SPACE", 0x13fed): "NonMonomorphicCache",
|
||||||
("OLD_SPACE", 0x14651): "PolymorphicCodeCache",
|
("OLD_SPACE", 0x14601): "PolymorphicCodeCache",
|
||||||
("OLD_SPACE", 0x14659): "NativesSourceCache",
|
("OLD_SPACE", 0x14609): "NativesSourceCache",
|
||||||
("OLD_SPACE", 0x148f5): "ExperimentalNativesSourceCache",
|
("OLD_SPACE", 0x1488d): "ExperimentalNativesSourceCache",
|
||||||
("OLD_SPACE", 0x14929): "ExtraNativesSourceCache",
|
("OLD_SPACE", 0x148c1): "ExtraNativesSourceCache",
|
||||||
("OLD_SPACE", 0x14949): "ExperimentalExtraNativesSourceCache",
|
("OLD_SPACE", 0x148e1): "ExperimentalExtraNativesSourceCache",
|
||||||
("OLD_SPACE", 0x14955): "EmptyScript",
|
("OLD_SPACE", 0x148ed): "EmptyScript",
|
||||||
("OLD_SPACE", 0x14995): "IntrinsicFunctionNames",
|
("OLD_SPACE", 0x1492d): "IntrinsicFunctionNames",
|
||||||
("OLD_SPACE", 0x2e73d): "UndefinedCell",
|
("OLD_SPACE", 0x2e919): "EmptyPropertiesDictionary",
|
||||||
("OLD_SPACE", 0x2e745): "ObservationState",
|
("OLD_SPACE", 0x2e965): "UndefinedCell",
|
||||||
("OLD_SPACE", 0x2e751): "ScriptList",
|
("OLD_SPACE", 0x2e96d): "ObservationState",
|
||||||
("OLD_SPACE", 0x2e8d9): "ClearedOptimizedCodeMap",
|
("OLD_SPACE", 0x2e979): "ScriptList",
|
||||||
("OLD_SPACE", 0x2e8e5): "EmptyWeakCell",
|
("OLD_SPACE", 0x2eb01): "ClearedOptimizedCodeMap",
|
||||||
("OLD_SPACE", 0x54715): "EmptySlowElementDictionary",
|
("OLD_SPACE", 0x2eb0d): "EmptyWeakCell",
|
||||||
("OLD_SPACE", 0x54761): "WeakObjectToCodeTable",
|
("OLD_SPACE", 0x534d1): "EmptySlowElementDictionary",
|
||||||
("OLD_SPACE", 0x54875): "ArrayProtector",
|
("OLD_SPACE", 0x5351d): "WeakObjectToCodeTable",
|
||||||
("OLD_SPACE", 0x54885): "EmptyPropertyCell",
|
("OLD_SPACE", 0x53631): "ArrayProtector",
|
||||||
("OLD_SPACE", 0x54895): "NoScriptSharedFunctionInfos",
|
("OLD_SPACE", 0x53641): "EmptyPropertyCell",
|
||||||
("OLD_SPACE", 0x5711d): "InterpreterTable",
|
("OLD_SPACE", 0x53651): "NoScriptSharedFunctionInfos",
|
||||||
("OLD_SPACE", 0x57325): "EmptyBytecodeArray",
|
("OLD_SPACE", 0x59cf1): "StringTable",
|
||||||
("OLD_SPACE", 0x5a2d1): "StringTable",
|
("CODE_SPACE", 0x1a001): "JsEntryCode",
|
||||||
("CODE_SPACE", 0x1a2a1): "JsEntryCode",
|
("CODE_SPACE", 0x1e721): "JsConstructEntryCode",
|
||||||
("CODE_SPACE", 0x1f081): "JsConstructEntryCode",
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user