Commit 90a66422 authored by Seth Brenith's avatar Seth Brenith Committed by Commit Bot

Remove 'length' field from ScopeInfo

This change relands the last part of https://crrev.com/c/2601880 .

ScopeInfo has a vestigial 'length' field from when it used to be a
FixedArray. This change removes that field, which saves some memory.

More specifically:

- Make ScopeInfo inherit from HeapObject, not FixedArrayBase which
  supplied the 'length' field.
- Change FactoryBase::NewScopeInfo to allocate the updated object shape.
  It maintains the existing behavior of filling the newly-allocated
  object with undefined, even though that's not a valid ScopeInfo and
  further initialization is required.
- Change a few length computations to use HeapObject::kHeaderSize rather
  than FixedArray::kHeaderSize.
- Remove an unnecessary heap verifier function.

Change-Id: I9b3980157568fdb0402fa31660949966b401fd31
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2733037Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#73278}
parent e0f40862
......@@ -583,20 +583,6 @@ void Context::ContextVerify(Isolate* isolate) {
}
}
void ScopeInfo::ScopeInfoVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::ScopeInfoVerify(*this, isolate);
// Make sure that the FixedArray-style length matches the length that we would
// compute based on the Torque indexed fields.
CHECK_EQ(FixedArray::SizeFor(length()), AllocatedSize());
// Code that treats ScopeInfo like a FixedArray expects all values to be
// tagged.
for (int i = 0; i < length(); ++i) {
Object::VerifyPointer(isolate, get(isolate, i));
}
}
void NativeContext::NativeContextVerify(Isolate* isolate) {
ContextVerify(isolate);
CHECK_EQ(length(), NativeContext::NATIVE_CONTEXT_SLOTS);
......
......@@ -703,11 +703,13 @@ template <typename Impl>
Handle<ScopeInfo> FactoryBase<Impl>::NewScopeInfo(int length,
AllocationType type) {
DCHECK(type == AllocationType::kOld || type == AllocationType::kReadOnly);
Handle<HeapObject> result =
Handle<HeapObject>::cast(NewFixedArray(length, type));
result->set_map_after_allocation(*read_only_roots().scope_info_map_handle(),
SKIP_WRITE_BARRIER);
return Handle<ScopeInfo>::cast(result);
int size = ScopeInfo::SizeFor(length);
HeapObject obj = AllocateRawWithImmortalMap(
size, type, read_only_roots().scope_info_map());
ScopeInfo scope_info = ScopeInfo::cast(obj);
MemsetTagged(scope_info.data_start(), read_only_roots().undefined_value(),
length);
return handle(scope_info, isolate());
}
template <typename Impl>
......
......@@ -510,11 +510,10 @@ bool Heap::CreateInitialMaps() {
{
AllocationResult alloc =
AllocateRaw(FixedArray::SizeFor(ScopeInfo::kVariablePartIndex),
AllocateRaw(ScopeInfo::SizeFor(ScopeInfo::kVariablePartIndex),
AllocationType::kReadOnly);
if (!alloc.To(&obj)) return false;
obj.set_map_after_allocation(roots.scope_info_map(), SKIP_WRITE_BARRIER);
ScopeInfo::cast(obj).set_length(ScopeInfo::kVariablePartIndex);
int flags = ScopeInfo::IsEmptyBit::encode(true);
DCHECK_EQ(ScopeInfo::LanguageModeBit::decode(flags), LanguageMode::kSloppy);
DCHECK_EQ(ScopeInfo::ReceiverVariableBits::decode(flags),
......
......@@ -616,7 +616,7 @@ int ScopeInfo::length() const {
// AllocatedSize() is generated by Torque and represents the size in bytes of
// the object, as computed from flags, context_local_count, and possibly
// module_variable_count. Convert that size into a number of slots.
return (AllocatedSize() - FixedArray::kHeaderSize) / kTaggedSize;
return (AllocatedSize() - HeapObject::kHeaderSize) / kTaggedSize;
}
// static
......
......@@ -38,13 +38,11 @@ class Zone;
// This object provides quick access to scope info details for runtime
// routines.
class ScopeInfo : public TorqueGeneratedScopeInfo<ScopeInfo, FixedArrayBase> {
class ScopeInfo : public TorqueGeneratedScopeInfo<ScopeInfo, HeapObject> {
public:
DEFINE_TORQUE_GENERATED_SCOPE_FLAGS()
DECL_PRINTER(ScopeInfo)
DECL_VERIFIER(ScopeInfo)
class BodyDescriptor;
// Return the type of this scope.
......@@ -310,10 +308,10 @@ class ScopeInfo : public TorqueGeneratedScopeInfo<ScopeInfo, FixedArrayBase> {
// index (number of tagged-pointer-sized slots starting after the standard
// HeapObject header).
static constexpr int OffsetOfElementAt(int index) {
return FixedArray::kHeaderSize + index * kTaggedSize;
return HeapObject::kHeaderSize + index * kTaggedSize;
}
static constexpr int ConvertOffsetToIndex(int offset) {
int index = (offset - FixedArray::kHeaderSize) / kTaggedSize;
int index = (offset - HeapObject::kHeaderSize) / kTaggedSize;
CONSTEXPR_DCHECK(OffsetOfElementAt(index) == offset);
return index;
}
......
......@@ -99,7 +99,7 @@ struct ModuleVariable {
@generateCppClass
@generateBodyDescriptor
extern class ScopeInfo extends FixedArrayBase {
extern class ScopeInfo extends HeapObject {
const flags: SmiTagged<ScopeFlags>;
// The number of parameters. For non-function scopes this is 0.
......
......@@ -95,48 +95,48 @@ INSTANCE_TYPES = {
131: "BYTECODE_ARRAY_TYPE",
132: "FIXED_DOUBLE_ARRAY_TYPE",
133: "INTERNAL_CLASS_WITH_SMI_ELEMENTS_TYPE",
134: "SCOPE_INFO_TYPE",
135: "SLOPPY_ARGUMENTS_ELEMENTS_TYPE",
136: "AWAIT_CONTEXT_TYPE",
137: "BLOCK_CONTEXT_TYPE",
138: "CATCH_CONTEXT_TYPE",
139: "DEBUG_EVALUATE_CONTEXT_TYPE",
140: "EVAL_CONTEXT_TYPE",
141: "FUNCTION_CONTEXT_TYPE",
142: "MODULE_CONTEXT_TYPE",
143: "NATIVE_CONTEXT_TYPE",
144: "SCRIPT_CONTEXT_TYPE",
145: "WITH_CONTEXT_TYPE",
146: "EXPORTED_SUB_CLASS_BASE_TYPE",
147: "EXPORTED_SUB_CLASS_TYPE",
148: "EXPORTED_SUB_CLASS2_TYPE",
149: "SMALL_ORDERED_HASH_MAP_TYPE",
150: "SMALL_ORDERED_HASH_SET_TYPE",
151: "SMALL_ORDERED_NAME_DICTIONARY_TYPE",
152: "DESCRIPTOR_ARRAY_TYPE",
153: "STRONG_DESCRIPTOR_ARRAY_TYPE",
154: "SOURCE_TEXT_MODULE_TYPE",
155: "SYNTHETIC_MODULE_TYPE",
156: "UNCOMPILED_DATA_WITH_PREPARSE_DATA_TYPE",
157: "UNCOMPILED_DATA_WITHOUT_PREPARSE_DATA_TYPE",
158: "WEAK_FIXED_ARRAY_TYPE",
159: "TRANSITION_ARRAY_TYPE",
160: "CELL_TYPE",
161: "CODE_TYPE",
162: "CODE_DATA_CONTAINER_TYPE",
163: "COVERAGE_INFO_TYPE",
164: "EMBEDDER_DATA_ARRAY_TYPE",
165: "FEEDBACK_METADATA_TYPE",
166: "FEEDBACK_VECTOR_TYPE",
167: "FILLER_TYPE",
168: "FREE_SPACE_TYPE",
169: "INTERNAL_CLASS_TYPE",
170: "INTERNAL_CLASS_WITH_STRUCT_ELEMENTS_TYPE",
171: "MAP_TYPE",
172: "ON_HEAP_BASIC_BLOCK_PROFILER_DATA_TYPE",
173: "PREPARSE_DATA_TYPE",
174: "PROPERTY_ARRAY_TYPE",
175: "PROPERTY_CELL_TYPE",
134: "SLOPPY_ARGUMENTS_ELEMENTS_TYPE",
135: "AWAIT_CONTEXT_TYPE",
136: "BLOCK_CONTEXT_TYPE",
137: "CATCH_CONTEXT_TYPE",
138: "DEBUG_EVALUATE_CONTEXT_TYPE",
139: "EVAL_CONTEXT_TYPE",
140: "FUNCTION_CONTEXT_TYPE",
141: "MODULE_CONTEXT_TYPE",
142: "NATIVE_CONTEXT_TYPE",
143: "SCRIPT_CONTEXT_TYPE",
144: "WITH_CONTEXT_TYPE",
145: "EXPORTED_SUB_CLASS_BASE_TYPE",
146: "EXPORTED_SUB_CLASS_TYPE",
147: "EXPORTED_SUB_CLASS2_TYPE",
148: "SMALL_ORDERED_HASH_MAP_TYPE",
149: "SMALL_ORDERED_HASH_SET_TYPE",
150: "SMALL_ORDERED_NAME_DICTIONARY_TYPE",
151: "DESCRIPTOR_ARRAY_TYPE",
152: "STRONG_DESCRIPTOR_ARRAY_TYPE",
153: "SOURCE_TEXT_MODULE_TYPE",
154: "SYNTHETIC_MODULE_TYPE",
155: "UNCOMPILED_DATA_WITH_PREPARSE_DATA_TYPE",
156: "UNCOMPILED_DATA_WITHOUT_PREPARSE_DATA_TYPE",
157: "WEAK_FIXED_ARRAY_TYPE",
158: "TRANSITION_ARRAY_TYPE",
159: "CELL_TYPE",
160: "CODE_TYPE",
161: "CODE_DATA_CONTAINER_TYPE",
162: "COVERAGE_INFO_TYPE",
163: "EMBEDDER_DATA_ARRAY_TYPE",
164: "FEEDBACK_METADATA_TYPE",
165: "FEEDBACK_VECTOR_TYPE",
166: "FILLER_TYPE",
167: "FREE_SPACE_TYPE",
168: "INTERNAL_CLASS_TYPE",
169: "INTERNAL_CLASS_WITH_STRUCT_ELEMENTS_TYPE",
170: "MAP_TYPE",
171: "ON_HEAP_BASIC_BLOCK_PROFILER_DATA_TYPE",
172: "PREPARSE_DATA_TYPE",
173: "PROPERTY_ARRAY_TYPE",
174: "PROPERTY_CELL_TYPE",
175: "SCOPE_INFO_TYPE",
176: "SHARED_FUNCTION_INFO_TYPE",
177: "SMI_BOX_TYPE",
178: "SMI_PAIR_TYPE",
......@@ -233,16 +233,16 @@ INSTANCE_TYPES = {
# List of known V8 maps.
KNOWN_MAPS = {
("read_only_space", 0x02119): (171, "MetaMap"),
("read_only_space", 0x02119): (170, "MetaMap"),
("read_only_space", 0x02141): (67, "NullMap"),
("read_only_space", 0x02169): (153, "StrongDescriptorArrayMap"),
("read_only_space", 0x02191): (158, "WeakFixedArrayMap"),
("read_only_space", 0x02169): (152, "StrongDescriptorArrayMap"),
("read_only_space", 0x02191): (157, "WeakFixedArrayMap"),
("read_only_space", 0x021d1): (97, "EnumCacheMap"),
("read_only_space", 0x02205): (117, "FixedArrayMap"),
("read_only_space", 0x02251): (8, "OneByteInternalizedStringMap"),
("read_only_space", 0x0229d): (168, "FreeSpaceMap"),
("read_only_space", 0x022c5): (167, "OnePointerFillerMap"),
("read_only_space", 0x022ed): (167, "TwoPointerFillerMap"),
("read_only_space", 0x0229d): (167, "FreeSpaceMap"),
("read_only_space", 0x022c5): (166, "OnePointerFillerMap"),
("read_only_space", 0x022ed): (166, "TwoPointerFillerMap"),
("read_only_space", 0x02315): (67, "UninitializedMap"),
("read_only_space", 0x0238d): (67, "UndefinedMap"),
("read_only_space", 0x023d1): (66, "HeapNumberMap"),
......@@ -253,139 +253,139 @@ KNOWN_MAPS = {
("read_only_space", 0x02559): (118, "HashTableMap"),
("read_only_space", 0x02581): (64, "SymbolMap"),
("read_only_space", 0x025a9): (40, "OneByteStringMap"),
("read_only_space", 0x025d1): (134, "ScopeInfoMap"),
("read_only_space", 0x025d1): (175, "ScopeInfoMap"),
("read_only_space", 0x025f9): (176, "SharedFunctionInfoMap"),
("read_only_space", 0x02621): (161, "CodeMap"),
("read_only_space", 0x02649): (160, "CellMap"),
("read_only_space", 0x02671): (175, "GlobalPropertyCellMap"),
("read_only_space", 0x02621): (160, "CodeMap"),
("read_only_space", 0x02649): (159, "CellMap"),
("read_only_space", 0x02671): (174, "GlobalPropertyCellMap"),
("read_only_space", 0x02699): (70, "ForeignMap"),
("read_only_space", 0x026c1): (159, "TransitionArrayMap"),
("read_only_space", 0x026c1): (158, "TransitionArrayMap"),
("read_only_space", 0x026e9): (45, "ThinOneByteStringMap"),
("read_only_space", 0x02711): (166, "FeedbackVectorMap"),
("read_only_space", 0x0274d): (67, "ArgumentsMarkerMap"),
("read_only_space", 0x027ad): (67, "ExceptionMap"),
("read_only_space", 0x02809): (67, "TerminationExceptionMap"),
("read_only_space", 0x02871): (67, "OptimizedOutMap"),
("read_only_space", 0x028d1): (67, "StaleRegisterMap"),
("read_only_space", 0x02931): (129, "ScriptContextTableMap"),
("read_only_space", 0x02959): (127, "ClosureFeedbackCellArrayMap"),
("read_only_space", 0x02981): (165, "FeedbackMetadataArrayMap"),
("read_only_space", 0x029a9): (117, "ArrayListMap"),
("read_only_space", 0x029d1): (65, "BigIntMap"),
("read_only_space", 0x029f9): (128, "ObjectBoilerplateDescriptionMap"),
("read_only_space", 0x02a21): (131, "BytecodeArrayMap"),
("read_only_space", 0x02a49): (162, "CodeDataContainerMap"),
("read_only_space", 0x02a71): (163, "CoverageInfoMap"),
("read_only_space", 0x02a99): (132, "FixedDoubleArrayMap"),
("read_only_space", 0x02ac1): (120, "GlobalDictionaryMap"),
("read_only_space", 0x02ae9): (98, "ManyClosuresCellMap"),
("read_only_space", 0x02b11): (117, "ModuleInfoMap"),
("read_only_space", 0x02b39): (121, "NameDictionaryMap"),
("read_only_space", 0x02b61): (98, "NoClosuresCellMap"),
("read_only_space", 0x02b89): (122, "NumberDictionaryMap"),
("read_only_space", 0x02bb1): (98, "OneClosureCellMap"),
("read_only_space", 0x02bd9): (123, "OrderedHashMapMap"),
("read_only_space", 0x02c01): (124, "OrderedHashSetMap"),
("read_only_space", 0x02c29): (125, "OrderedNameDictionaryMap"),
("read_only_space", 0x02c51): (173, "PreparseDataMap"),
("read_only_space", 0x02c79): (174, "PropertyArrayMap"),
("read_only_space", 0x02ca1): (94, "SideEffectCallHandlerInfoMap"),
("read_only_space", 0x02cc9): (94, "SideEffectFreeCallHandlerInfoMap"),
("read_only_space", 0x02cf1): (94, "NextCallSideEffectFreeCallHandlerInfoMap"),
("read_only_space", 0x02d19): (126, "SimpleNumberDictionaryMap"),
("read_only_space", 0x02d41): (149, "SmallOrderedHashMapMap"),
("read_only_space", 0x02d69): (150, "SmallOrderedHashSetMap"),
("read_only_space", 0x02d91): (151, "SmallOrderedNameDictionaryMap"),
("read_only_space", 0x02db9): (154, "SourceTextModuleMap"),
("read_only_space", 0x02de1): (180, "SwissNameDictionaryMap"),
("read_only_space", 0x02e09): (155, "SyntheticModuleMap"),
("read_only_space", 0x02e31): (71, "WasmTypeInfoMap"),
("read_only_space", 0x02e59): (184, "WeakArrayListMap"),
("read_only_space", 0x02e81): (119, "EphemeronHashTableMap"),
("read_only_space", 0x02ea9): (164, "EmbedderDataArrayMap"),
("read_only_space", 0x02ed1): (185, "WeakCellMap"),
("read_only_space", 0x02ef9): (32, "StringMap"),
("read_only_space", 0x02f21): (41, "ConsOneByteStringMap"),
("read_only_space", 0x02f49): (33, "ConsStringMap"),
("read_only_space", 0x02f71): (37, "ThinStringMap"),
("read_only_space", 0x02f99): (35, "SlicedStringMap"),
("read_only_space", 0x02fc1): (43, "SlicedOneByteStringMap"),
("read_only_space", 0x02fe9): (34, "ExternalStringMap"),
("read_only_space", 0x03011): (42, "ExternalOneByteStringMap"),
("read_only_space", 0x03039): (50, "UncachedExternalStringMap"),
("read_only_space", 0x03061): (0, "InternalizedStringMap"),
("read_only_space", 0x03089): (2, "ExternalInternalizedStringMap"),
("read_only_space", 0x030b1): (10, "ExternalOneByteInternalizedStringMap"),
("read_only_space", 0x030d9): (18, "UncachedExternalInternalizedStringMap"),
("read_only_space", 0x03101): (26, "UncachedExternalOneByteInternalizedStringMap"),
("read_only_space", 0x03129): (58, "UncachedExternalOneByteStringMap"),
("read_only_space", 0x03151): (67, "SelfReferenceMarkerMap"),
("read_only_space", 0x03179): (67, "BasicBlockCountersMarkerMap"),
("read_only_space", 0x031bd): (87, "ArrayBoilerplateDescriptionMap"),
("read_only_space", 0x032bd): (100, "InterceptorInfoMap"),
("read_only_space", 0x05411): (72, "PromiseFulfillReactionJobTaskMap"),
("read_only_space", 0x05439): (73, "PromiseRejectReactionJobTaskMap"),
("read_only_space", 0x05461): (74, "CallableTaskMap"),
("read_only_space", 0x05489): (75, "CallbackTaskMap"),
("read_only_space", 0x054b1): (76, "PromiseResolveThenableJobTaskMap"),
("read_only_space", 0x054d9): (79, "FunctionTemplateInfoMap"),
("read_only_space", 0x05501): (80, "ObjectTemplateInfoMap"),
("read_only_space", 0x05529): (81, "AccessCheckInfoMap"),
("read_only_space", 0x05551): (82, "AccessorInfoMap"),
("read_only_space", 0x05579): (83, "AccessorPairMap"),
("read_only_space", 0x055a1): (84, "AliasedArgumentsEntryMap"),
("read_only_space", 0x055c9): (85, "AllocationMementoMap"),
("read_only_space", 0x055f1): (88, "AsmWasmDataMap"),
("read_only_space", 0x05619): (89, "AsyncGeneratorRequestMap"),
("read_only_space", 0x05641): (90, "BaselineDataMap"),
("read_only_space", 0x05669): (91, "BreakPointMap"),
("read_only_space", 0x05691): (92, "BreakPointInfoMap"),
("read_only_space", 0x056b9): (93, "CachedTemplateObjectMap"),
("read_only_space", 0x056e1): (95, "ClassPositionsMap"),
("read_only_space", 0x05709): (96, "DebugInfoMap"),
("read_only_space", 0x05731): (99, "FunctionTemplateRareDataMap"),
("read_only_space", 0x05759): (101, "InterpreterDataMap"),
("read_only_space", 0x05781): (102, "ModuleRequestMap"),
("read_only_space", 0x057a9): (103, "PromiseCapabilityMap"),
("read_only_space", 0x057d1): (104, "PromiseReactionMap"),
("read_only_space", 0x057f9): (105, "PropertyDescriptorObjectMap"),
("read_only_space", 0x05821): (106, "PrototypeInfoMap"),
("read_only_space", 0x05849): (107, "RegExpBoilerplateDescriptionMap"),
("read_only_space", 0x05871): (108, "ScriptMap"),
("read_only_space", 0x05899): (109, "SourceTextModuleInfoEntryMap"),
("read_only_space", 0x058c1): (110, "StackFrameInfoMap"),
("read_only_space", 0x058e9): (111, "TemplateObjectDescriptionMap"),
("read_only_space", 0x05911): (112, "Tuple2Map"),
("read_only_space", 0x05939): (113, "WasmExceptionTagMap"),
("read_only_space", 0x05961): (114, "WasmExportedFunctionDataMap"),
("read_only_space", 0x05989): (115, "WasmIndirectFunctionTableMap"),
("read_only_space", 0x059b1): (116, "WasmJSFunctionDataMap"),
("read_only_space", 0x059d9): (135, "SloppyArgumentsElementsMap"),
("read_only_space", 0x05a01): (152, "DescriptorArrayMap"),
("read_only_space", 0x05a29): (157, "UncompiledDataWithoutPreparseDataMap"),
("read_only_space", 0x05a51): (156, "UncompiledDataWithPreparseDataMap"),
("read_only_space", 0x05a79): (172, "OnHeapBasicBlockProfilerDataMap"),
("read_only_space", 0x05aa1): (182, "WasmCapiFunctionDataMap"),
("read_only_space", 0x05ac9): (169, "InternalClassMap"),
("read_only_space", 0x05af1): (178, "SmiPairMap"),
("read_only_space", 0x05b19): (177, "SmiBoxMap"),
("read_only_space", 0x05b41): (146, "ExportedSubClassBaseMap"),
("read_only_space", 0x05b69): (147, "ExportedSubClassMap"),
("read_only_space", 0x05b91): (68, "AbstractInternalClassSubclass1Map"),
("read_only_space", 0x05bb9): (69, "AbstractInternalClassSubclass2Map"),
("read_only_space", 0x05be1): (133, "InternalClassWithSmiElementsMap"),
("read_only_space", 0x05c09): (170, "InternalClassWithStructElementsMap"),
("read_only_space", 0x05c31): (148, "ExportedSubClass2Map"),
("read_only_space", 0x05c59): (179, "SortStateMap"),
("read_only_space", 0x05c81): (86, "AllocationSiteWithWeakNextMap"),
("read_only_space", 0x05ca9): (86, "AllocationSiteWithoutWeakNextMap"),
("read_only_space", 0x05cd1): (77, "LoadHandler1Map"),
("read_only_space", 0x05cf9): (77, "LoadHandler2Map"),
("read_only_space", 0x05d21): (77, "LoadHandler3Map"),
("read_only_space", 0x05d49): (78, "StoreHandler0Map"),
("read_only_space", 0x05d71): (78, "StoreHandler1Map"),
("read_only_space", 0x05d99): (78, "StoreHandler2Map"),
("read_only_space", 0x05dc1): (78, "StoreHandler3Map"),
("read_only_space", 0x02711): (165, "FeedbackVectorMap"),
("read_only_space", 0x02749): (67, "ArgumentsMarkerMap"),
("read_only_space", 0x027a9): (67, "ExceptionMap"),
("read_only_space", 0x02805): (67, "TerminationExceptionMap"),
("read_only_space", 0x0286d): (67, "OptimizedOutMap"),
("read_only_space", 0x028cd): (67, "StaleRegisterMap"),
("read_only_space", 0x0292d): (129, "ScriptContextTableMap"),
("read_only_space", 0x02955): (127, "ClosureFeedbackCellArrayMap"),
("read_only_space", 0x0297d): (164, "FeedbackMetadataArrayMap"),
("read_only_space", 0x029a5): (117, "ArrayListMap"),
("read_only_space", 0x029cd): (65, "BigIntMap"),
("read_only_space", 0x029f5): (128, "ObjectBoilerplateDescriptionMap"),
("read_only_space", 0x02a1d): (131, "BytecodeArrayMap"),
("read_only_space", 0x02a45): (161, "CodeDataContainerMap"),
("read_only_space", 0x02a6d): (162, "CoverageInfoMap"),
("read_only_space", 0x02a95): (132, "FixedDoubleArrayMap"),
("read_only_space", 0x02abd): (120, "GlobalDictionaryMap"),
("read_only_space", 0x02ae5): (98, "ManyClosuresCellMap"),
("read_only_space", 0x02b0d): (117, "ModuleInfoMap"),
("read_only_space", 0x02b35): (121, "NameDictionaryMap"),
("read_only_space", 0x02b5d): (98, "NoClosuresCellMap"),
("read_only_space", 0x02b85): (122, "NumberDictionaryMap"),
("read_only_space", 0x02bad): (98, "OneClosureCellMap"),
("read_only_space", 0x02bd5): (123, "OrderedHashMapMap"),
("read_only_space", 0x02bfd): (124, "OrderedHashSetMap"),
("read_only_space", 0x02c25): (125, "OrderedNameDictionaryMap"),
("read_only_space", 0x02c4d): (172, "PreparseDataMap"),
("read_only_space", 0x02c75): (173, "PropertyArrayMap"),
("read_only_space", 0x02c9d): (94, "SideEffectCallHandlerInfoMap"),
("read_only_space", 0x02cc5): (94, "SideEffectFreeCallHandlerInfoMap"),
("read_only_space", 0x02ced): (94, "NextCallSideEffectFreeCallHandlerInfoMap"),
("read_only_space", 0x02d15): (126, "SimpleNumberDictionaryMap"),
("read_only_space", 0x02d3d): (148, "SmallOrderedHashMapMap"),
("read_only_space", 0x02d65): (149, "SmallOrderedHashSetMap"),
("read_only_space", 0x02d8d): (150, "SmallOrderedNameDictionaryMap"),
("read_only_space", 0x02db5): (153, "SourceTextModuleMap"),
("read_only_space", 0x02ddd): (180, "SwissNameDictionaryMap"),
("read_only_space", 0x02e05): (154, "SyntheticModuleMap"),
("read_only_space", 0x02e2d): (71, "WasmTypeInfoMap"),
("read_only_space", 0x02e55): (184, "WeakArrayListMap"),
("read_only_space", 0x02e7d): (119, "EphemeronHashTableMap"),
("read_only_space", 0x02ea5): (163, "EmbedderDataArrayMap"),
("read_only_space", 0x02ecd): (185, "WeakCellMap"),
("read_only_space", 0x02ef5): (32, "StringMap"),
("read_only_space", 0x02f1d): (41, "ConsOneByteStringMap"),
("read_only_space", 0x02f45): (33, "ConsStringMap"),
("read_only_space", 0x02f6d): (37, "ThinStringMap"),
("read_only_space", 0x02f95): (35, "SlicedStringMap"),
("read_only_space", 0x02fbd): (43, "SlicedOneByteStringMap"),
("read_only_space", 0x02fe5): (34, "ExternalStringMap"),
("read_only_space", 0x0300d): (42, "ExternalOneByteStringMap"),
("read_only_space", 0x03035): (50, "UncachedExternalStringMap"),
("read_only_space", 0x0305d): (0, "InternalizedStringMap"),
("read_only_space", 0x03085): (2, "ExternalInternalizedStringMap"),
("read_only_space", 0x030ad): (10, "ExternalOneByteInternalizedStringMap"),
("read_only_space", 0x030d5): (18, "UncachedExternalInternalizedStringMap"),
("read_only_space", 0x030fd): (26, "UncachedExternalOneByteInternalizedStringMap"),
("read_only_space", 0x03125): (58, "UncachedExternalOneByteStringMap"),
("read_only_space", 0x0314d): (67, "SelfReferenceMarkerMap"),
("read_only_space", 0x03175): (67, "BasicBlockCountersMarkerMap"),
("read_only_space", 0x031b9): (87, "ArrayBoilerplateDescriptionMap"),
("read_only_space", 0x032b9): (100, "InterceptorInfoMap"),
("read_only_space", 0x05401): (72, "PromiseFulfillReactionJobTaskMap"),
("read_only_space", 0x05429): (73, "PromiseRejectReactionJobTaskMap"),
("read_only_space", 0x05451): (74, "CallableTaskMap"),
("read_only_space", 0x05479): (75, "CallbackTaskMap"),
("read_only_space", 0x054a1): (76, "PromiseResolveThenableJobTaskMap"),
("read_only_space", 0x054c9): (79, "FunctionTemplateInfoMap"),
("read_only_space", 0x054f1): (80, "ObjectTemplateInfoMap"),
("read_only_space", 0x05519): (81, "AccessCheckInfoMap"),
("read_only_space", 0x05541): (82, "AccessorInfoMap"),
("read_only_space", 0x05569): (83, "AccessorPairMap"),
("read_only_space", 0x05591): (84, "AliasedArgumentsEntryMap"),
("read_only_space", 0x055b9): (85, "AllocationMementoMap"),
("read_only_space", 0x055e1): (88, "AsmWasmDataMap"),
("read_only_space", 0x05609): (89, "AsyncGeneratorRequestMap"),
("read_only_space", 0x05631): (90, "BaselineDataMap"),
("read_only_space", 0x05659): (91, "BreakPointMap"),
("read_only_space", 0x05681): (92, "BreakPointInfoMap"),
("read_only_space", 0x056a9): (93, "CachedTemplateObjectMap"),
("read_only_space", 0x056d1): (95, "ClassPositionsMap"),
("read_only_space", 0x056f9): (96, "DebugInfoMap"),
("read_only_space", 0x05721): (99, "FunctionTemplateRareDataMap"),
("read_only_space", 0x05749): (101, "InterpreterDataMap"),
("read_only_space", 0x05771): (102, "ModuleRequestMap"),
("read_only_space", 0x05799): (103, "PromiseCapabilityMap"),
("read_only_space", 0x057c1): (104, "PromiseReactionMap"),
("read_only_space", 0x057e9): (105, "PropertyDescriptorObjectMap"),
("read_only_space", 0x05811): (106, "PrototypeInfoMap"),
("read_only_space", 0x05839): (107, "RegExpBoilerplateDescriptionMap"),
("read_only_space", 0x05861): (108, "ScriptMap"),
("read_only_space", 0x05889): (109, "SourceTextModuleInfoEntryMap"),
("read_only_space", 0x058b1): (110, "StackFrameInfoMap"),
("read_only_space", 0x058d9): (111, "TemplateObjectDescriptionMap"),
("read_only_space", 0x05901): (112, "Tuple2Map"),
("read_only_space", 0x05929): (113, "WasmExceptionTagMap"),
("read_only_space", 0x05951): (114, "WasmExportedFunctionDataMap"),
("read_only_space", 0x05979): (115, "WasmIndirectFunctionTableMap"),
("read_only_space", 0x059a1): (116, "WasmJSFunctionDataMap"),
("read_only_space", 0x059c9): (134, "SloppyArgumentsElementsMap"),
("read_only_space", 0x059f1): (151, "DescriptorArrayMap"),
("read_only_space", 0x05a19): (156, "UncompiledDataWithoutPreparseDataMap"),
("read_only_space", 0x05a41): (155, "UncompiledDataWithPreparseDataMap"),
("read_only_space", 0x05a69): (171, "OnHeapBasicBlockProfilerDataMap"),
("read_only_space", 0x05a91): (182, "WasmCapiFunctionDataMap"),
("read_only_space", 0x05ab9): (168, "InternalClassMap"),
("read_only_space", 0x05ae1): (178, "SmiPairMap"),
("read_only_space", 0x05b09): (177, "SmiBoxMap"),
("read_only_space", 0x05b31): (145, "ExportedSubClassBaseMap"),
("read_only_space", 0x05b59): (146, "ExportedSubClassMap"),
("read_only_space", 0x05b81): (68, "AbstractInternalClassSubclass1Map"),
("read_only_space", 0x05ba9): (69, "AbstractInternalClassSubclass2Map"),
("read_only_space", 0x05bd1): (133, "InternalClassWithSmiElementsMap"),
("read_only_space", 0x05bf9): (169, "InternalClassWithStructElementsMap"),
("read_only_space", 0x05c21): (147, "ExportedSubClass2Map"),
("read_only_space", 0x05c49): (179, "SortStateMap"),
("read_only_space", 0x05c71): (86, "AllocationSiteWithWeakNextMap"),
("read_only_space", 0x05c99): (86, "AllocationSiteWithoutWeakNextMap"),
("read_only_space", 0x05cc1): (77, "LoadHandler1Map"),
("read_only_space", 0x05ce9): (77, "LoadHandler2Map"),
("read_only_space", 0x05d11): (77, "LoadHandler3Map"),
("read_only_space", 0x05d39): (78, "StoreHandler0Map"),
("read_only_space", 0x05d61): (78, "StoreHandler1Map"),
("read_only_space", 0x05d89): (78, "StoreHandler2Map"),
("read_only_space", 0x05db1): (78, "StoreHandler3Map"),
("map_space", 0x02119): (1057, "ExternalMap"),
("map_space", 0x02141): (1098, "JSMessageObjectMap"),
}
......@@ -406,37 +406,37 @@ KNOWN_OBJECTS = {
("read_only_space", 0x024cd): "FalseValue",
("read_only_space", 0x024fd): "empty_string",
("read_only_space", 0x02739): "EmptyScopeInfo",
("read_only_space", 0x02775): "ArgumentsMarker",
("read_only_space", 0x027d5): "Exception",
("read_only_space", 0x02831): "TerminationException",
("read_only_space", 0x02899): "OptimizedOut",
("read_only_space", 0x028f9): "StaleRegister",
("read_only_space", 0x031a1): "EmptyPropertyArray",
("read_only_space", 0x031a9): "EmptyByteArray",
("read_only_space", 0x031b1): "EmptyObjectBoilerplateDescription",
("read_only_space", 0x031e5): "EmptyArrayBoilerplateDescription",
("read_only_space", 0x031f1): "EmptyClosureFeedbackCellArray",
("read_only_space", 0x031f9): "EmptySlowElementDictionary",
("read_only_space", 0x0321d): "EmptyOrderedHashMap",
("read_only_space", 0x03231): "EmptyOrderedHashSet",
("read_only_space", 0x03245): "EmptyFeedbackMetadata",
("read_only_space", 0x03251): "EmptyPropertyDictionary",
("read_only_space", 0x03279): "EmptyOrderedPropertyDictionary",
("read_only_space", 0x03291): "EmptySwissPropertyDictionary",
("read_only_space", 0x032e5): "NoOpInterceptorInfo",
("read_only_space", 0x0330d): "EmptyWeakArrayList",
("read_only_space", 0x03319): "InfinityValue",
("read_only_space", 0x03325): "MinusZeroValue",
("read_only_space", 0x03331): "MinusInfinityValue",
("read_only_space", 0x0333d): "SelfReferenceMarker",
("read_only_space", 0x0337d): "BasicBlockCountersMarker",
("read_only_space", 0x033c1): "OffHeapTrampolineRelocationInfo",
("read_only_space", 0x033cd): "TrampolineTrivialCodeDataContainer",
("read_only_space", 0x033d9): "TrampolinePromiseRejectionCodeDataContainer",
("read_only_space", 0x033e5): "GlobalThisBindingScopeInfo",
("read_only_space", 0x0341d): "EmptyFunctionScopeInfo",
("read_only_space", 0x03445): "NativeScopeInfo",
("read_only_space", 0x03461): "HashSeed",
("read_only_space", 0x02771): "ArgumentsMarker",
("read_only_space", 0x027d1): "Exception",
("read_only_space", 0x0282d): "TerminationException",
("read_only_space", 0x02895): "OptimizedOut",
("read_only_space", 0x028f5): "StaleRegister",
("read_only_space", 0x0319d): "EmptyPropertyArray",
("read_only_space", 0x031a5): "EmptyByteArray",
("read_only_space", 0x031ad): "EmptyObjectBoilerplateDescription",
("read_only_space", 0x031e1): "EmptyArrayBoilerplateDescription",
("read_only_space", 0x031ed): "EmptyClosureFeedbackCellArray",
("read_only_space", 0x031f5): "EmptySlowElementDictionary",
("read_only_space", 0x03219): "EmptyOrderedHashMap",
("read_only_space", 0x0322d): "EmptyOrderedHashSet",
("read_only_space", 0x03241): "EmptyFeedbackMetadata",
("read_only_space", 0x0324d): "EmptyPropertyDictionary",
("read_only_space", 0x03275): "EmptyOrderedPropertyDictionary",
("read_only_space", 0x0328d): "EmptySwissPropertyDictionary",
("read_only_space", 0x032e1): "NoOpInterceptorInfo",
("read_only_space", 0x03309): "EmptyWeakArrayList",
("read_only_space", 0x03315): "InfinityValue",
("read_only_space", 0x03321): "MinusZeroValue",
("read_only_space", 0x0332d): "MinusInfinityValue",
("read_only_space", 0x03339): "SelfReferenceMarker",
("read_only_space", 0x03379): "BasicBlockCountersMarker",
("read_only_space", 0x033bd): "OffHeapTrampolineRelocationInfo",
("read_only_space", 0x033c9): "TrampolineTrivialCodeDataContainer",
("read_only_space", 0x033d5): "TrampolinePromiseRejectionCodeDataContainer",
("read_only_space", 0x033e1): "GlobalThisBindingScopeInfo",
("read_only_space", 0x03415): "EmptyFunctionScopeInfo",
("read_only_space", 0x03439): "NativeScopeInfo",
("read_only_space", 0x03451): "HashSeed",
("old_space", 0x02119): "ArgumentsIteratorAccessor",
("old_space", 0x0215d): "ArrayLengthAccessor",
("old_space", 0x021a1): "BoundFunctionLengthAccessor",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment