/third_party/node/deps/v8/src/heap/ |
D | factory-base.h | 71 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 73 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 75 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 77 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 79 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 81 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 83 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 85 template <AllocationType allocation = AllocationType::kYoung> in EXPORT_TEMPLATE_DECLARE() 88 template <AllocationType allocation> in EXPORT_TEMPLATE_DECLARE() 92 AllocationType allocation = AllocationType::kYoung); in EXPORT_TEMPLATE_DECLARE() [all …]
|
D | heap-allocator-inl.h | 55 template <AllocationType type> 62 if (FLAG_single_generation && type == AllocationType::kYoung) { in AllocateRaw() 63 return AllocateRaw(size_in_bytes, AllocationType::kOld, origin, alignment); in AllocateRaw() 97 case AllocationType::kYoung: in AllocateRaw() 101 case AllocationType::kOld: in AllocateRaw() 105 case AllocationType::kCode: in AllocateRaw() 110 case AllocationType::kMap: in AllocateRaw() 114 case AllocationType::kReadOnly: in AllocateRaw() 119 case AllocationType::kSharedMap: in AllocateRaw() 123 case AllocationType::kSharedOld: in AllocateRaw() [all …]
|
D | factory.h | 127 int length, AllocationType allocation = AllocationType::kYoung); 135 int length, AllocationType allocation = AllocationType::kYoung); 166 AllocationType allocation = AllocationType::kYoung); 169 AllocationType allocation = AllocationType::kYoung); 172 AllocationType allocation = AllocationType::kYoung); 185 AllocationType allocation); 236 AllocationType allocation = AllocationType::kYoung); 241 AllocationType allocation = AllocationType::kYoung) { 248 const char* str, AllocationType allocation = AllocationType::kYoung) { 257 AllocationType allocation = AllocationType::kYoung); [all …]
|
D | heap-allocator.cc | 41 int size_in_bytes, AllocationType allocation, AllocationOrigin origin, in AllocateRawLargeInternal() 45 case AllocationType::kYoung: in AllocateRawLargeInternal() 47 case AllocationType::kOld: in AllocateRawLargeInternal() 49 case AllocationType::kCode: in AllocateRawLargeInternal() 51 case AllocationType::kMap: in AllocateRawLargeInternal() 52 case AllocationType::kReadOnly: in AllocateRawLargeInternal() 53 case AllocationType::kSharedMap: in AllocateRawLargeInternal() 54 case AllocationType::kSharedOld: in AllocateRawLargeInternal() 61 constexpr AllocationSpace AllocationTypeToGCSpace(AllocationType type) { in AllocationTypeToGCSpace() 63 case AllocationType::kYoung: in AllocationTypeToGCSpace() [all …]
|
D | factory-base.cc | 35 template <AllocationType allocation> 45 FactoryBase<Factory>::NewHeapNumber<AllocationType::kYoung>(); 47 FactoryBase<Factory>::NewHeapNumber<AllocationType::kOld>(); 49 FactoryBase<Factory>::NewHeapNumber<AllocationType::kReadOnly>(); 51 FactoryBase<Factory>::NewHeapNumber<AllocationType::kSharedOld>(); 54 FactoryBase<LocalFactory>::NewHeapNumber<AllocationType::kOld>(); 58 AllocationType allocation) { in NewStruct() 68 NewStructInternal<AccessorPair>(ACCESSOR_PAIR_TYPE, AllocationType::kOld); in NewAccessorPair() 77 int flags, AllocationType allocation) { in NewCodeDataContainer() 100 AllocationType allocation) { in NewFixedArray() [all …]
|
D | setup-heap-internal.cc | 146 AllocateRaw(Map::kSize, is_mutable ? AllocationType::kMap in AllocateMap() 147 : AllocationType::kReadOnly); in AllocateMap() 163 AllocateRaw(Map::kSize, AllocationType::kReadOnly); in AllocatePartialMap() 200 AllocationType allocation_type) { in Allocate() 208 allocation_type == AllocationType::kYoung ? SKIP_WRITE_BARRIER in Allocate() 255 AllocateRaw(FixedArray::SizeFor(0), AllocationType::kReadOnly); in CreateInitialMaps() 264 AllocateRaw(WeakFixedArray::SizeFor(0), AllocationType::kReadOnly); in CreateInitialMaps() 274 AllocationType::kReadOnly); in CreateInitialMaps() 285 Allocate(roots.null_map_handle(), AllocationType::kReadOnly); in CreateInitialMaps() 293 Allocate(roots.undefined_map_handle(), AllocationType::kReadOnly); in CreateInitialMaps() [all …]
|
D | factory-base-inl.h | 25 template <AllocationType allocation> 36 template <AllocationType allocation> 44 template <AllocationType allocation> 54 template <AllocationType allocation> 65 template <AllocationType allocation> 76 template <AllocationType allocation> 84 template <AllocationType allocation> 92 template <AllocationType allocation> 100 AllocationType allocation) { in NewStructInternal() 110 AllocationType allocation) { in NewStructInternal()
|
D | factory.cc | 104 AllocationType::kOld) in BuildInternal() 105 : factory->NewByteArray(code_desc_.reloc_size, AllocationType::kOld); in BuildInternal() 125 0, AllocationType::kOld); in BuildInternal() 128 0, read_only_data_container_ ? AllocationType::kReadOnly in BuildInternal() 129 : AllocationType::kOld); in BuildInternal() 256 AllocationType::kOld); in BuildInternal() 273 AllocationType allocation_type = V8_EXTERNAL_CODE_SPACE_BOOL || is_executable_ in AllocateCode() 274 ? AllocationType::kCode in AllocateCode() 275 : AllocationType::kReadOnly; in AllocateCode() 305 AllocationType allocation_type = V8_EXTERNAL_CODE_SPACE_BOOL || is_executable_ in AllocateConcurrentSparkplugCode() [all …]
|
D | local-heap-inl.h | 19 AllocationResult LocalHeap::AllocateRaw(int size_in_bytes, AllocationType type, in AllocateRaw() 27 DCHECK_IMPLIES(type == AllocationType::kCode || type == AllocationType::kMap, in AllocateRaw() 39 if (type == AllocationType::kCode) { in AllocateRaw() 57 if (type == AllocationType::kOld) { in AllocateRaw() 65 DCHECK_EQ(type, AllocationType::kSharedOld); in AllocateRaw() 70 Address LocalHeap::AllocateRawOrFail(int object_size, AllocationType type, in AllocateRawOrFail()
|
D | heap-allocator.h | 39 AllocateRaw(int size_in_bytes, AllocationType allocation, 46 template <AllocationType type> 55 AllocateRawData(int size_in_bytes, AllocationType allocation, 64 AllocateRawWith(int size, AllocationType allocation, 86 int size_in_bytes, AllocationType allocation, AllocationOrigin origin, 90 int size, AllocationType allocation, AllocationOrigin origin, 94 int size, AllocationType allocation, AllocationOrigin origin,
|
D | local-factory.cc | 46 HeapObject LocalFactory::AllocateRaw(int size, AllocationType allocation, in AllocateRaw() 48 DCHECK(allocation == AllocationType::kOld || in AllocateRaw() 49 allocation == AllocationType::kSharedOld); in AllocateRaw()
|
D | local-factory.h | 56 HeapObject AllocateRaw(int size, AllocationType allocation, 79 inline AllocationType AllocationTypeForInPlaceInternalizableString();
|
/third_party/node/deps/v8/src/compiler/ |
D | allocation-builder.h | 29 AllocationType allocation = AllocationType::kYoung, 50 AllocationType allocation = AllocationType::kYoung); 52 AllocationType allocation = AllocationType::kYoung); 57 AllocationType allocation = AllocationType::kYoung); 60 AllocationType allocation = AllocationType::kYoung);
|
D | allocation-builder-inl.h | 18 void AllocationBuilder::Allocate(int size, AllocationType allocation, in Allocate() 34 Allocate(size, AllocationType::kYoung, Type::OtherInternal()); in AllocateContext() 43 AllocationType allocation) { in CanAllocateArray() 54 AllocationType allocation) { in AllocateArray() 65 int length, MapRef map, AllocationType allocation) { in CanAllocateSloppyArgumentElements() 71 int length, MapRef map, AllocationType allocation) { in AllocateSloppyArgumentElements()
|
D | memory-lowering.cc | 30 AllocationGroup(Node* node, AllocationType allocation, Zone* zone); 31 AllocationGroup(Node* node, AllocationType allocation, Node* size, 38 return allocation() == AllocationType::kYoung; in IsYoungGenerationAllocation() 41 AllocationType allocation() const { return allocation_; } in allocation() 46 AllocationType const allocation_; 49 static inline AllocationType CheckAllocationType(AllocationType allocation) { in CheckAllocationType() 52 if (FLAG_single_generation && allocation == AllocationType::kYoung) { in CheckAllocationType() 53 return AllocationType::kOld; in CheckAllocationType() 136 Node* node, AllocationType allocation_type, in ReduceAllocateRaw() 141 if (FLAG_single_generation && allocation_type == AllocationType::kYoung) { in ReduceAllocateRaw() [all …]
|
D | js-create-lowering.h | 74 AllocationType allocation, in NON_EXPORTED_BASE() 78 ElementsKind elements_kind, AllocationType allocation, in NON_EXPORTED_BASE() 82 ElementsKind elements_kind, AllocationType allocation, in NON_EXPORTED_BASE() 102 AllocationType allocation, in NON_EXPORTED_BASE() 107 AllocationType allocation, int max_depth, int* max_properties); in NON_EXPORTED_BASE() 111 AllocationType allocation); in NON_EXPORTED_BASE() 117 AllocationType allocation); in NON_EXPORTED_BASE()
|
D | memory-optimizer.cc | 251 AllocationTypeOf(parent->op()) == AllocationType::kOld) { in AllocationTypeNeedsUpdateToOld() 272 AllocationType allocation_type = allocation.allocation_type(); in VisitAllocateRaw() 278 if (allocation_type == AllocationType::kOld) { in VisitAllocateRaw() 284 AllocationTypeOf(child->op()) == AllocationType::kYoung) { in VisitAllocateRaw() 291 DCHECK_EQ(AllocationType::kYoung, allocation_type); in VisitAllocateRaw() 295 allocation_type = AllocationType::kOld; in VisitAllocateRaw()
|
/third_party/node/deps/v8/src/objects/ |
D | ordered-hash-table.h | 207 AllocationType allocation = AllocationType::kYoung); 210 AllocationType allocation, 293 AllocationType allocation = AllocationType::kYoung); 296 Isolate* isolate, AllocationType allocation = AllocationType::kReadOnly); 324 AllocationType allocation = AllocationType::kYoung); 327 Isolate* isolate, AllocationType allocation = AllocationType::kReadOnly); 414 AllocationType allocation = AllocationType::kYoung); 795 AllocationType allocation = AllocationType::kYoung); 798 Isolate* isolate, AllocationType allocation = AllocationType::kReadOnly);
|
D | hash-table.h | 135 AllocationType allocation = AllocationType::kYoung, in EXPORT_TEMPLATE_DECLARE() 207 AllocationType allocation = AllocationType::kYoung); in EXPORT_TEMPLATE_DECLARE() 224 IsolateT* isolate, int capacity, AllocationType allocation); in EXPORT_TEMPLATE_DECLARE() 278 HashTable<DERIVED, SHAPE>::New(Isolate*, int, AllocationType, \ 281 HashTable<DERIVED, SHAPE>::New(LocalIsolate*, int, AllocationType, \ 286 AllocationType); \ 289 int, AllocationType);
|
D | value-serializer.h | 278 AllocationType allocation = AllocationType::kYoung) V8_WARN_UNUSED_RESULT; 280 AllocationType allocation = AllocationType::kYoung) V8_WARN_UNUSED_RESULT; 282 AllocationType allocation = AllocationType::kYoung) V8_WARN_UNUSED_RESULT;
|
D | ordered-hash-table.cc | 21 IsolateT* isolate, int capacity, AllocationType allocation) { in Allocate() 49 Isolate* isolate, AllocationType allocation, RootIndex root_index) { in AllocateEmpty() 108 AllocationType allocation_type = Heap::InYoungGeneration(*table) in Clear() 109 ? AllocationType::kYoung in Clear() 110 : AllocationType::kOld; in Clear() 256 Heap::InYoungGeneration(*table) ? AllocationType::kYoung in Rehash() 257 : AllocationType::kOld); in Rehash() 515 IsolateT* isolate, int capacity, AllocationType allocation) { in Allocate() 521 IsolateT* isolate, int capacity, AllocationType allocation) { in Allocate() 527 IsolateT* isolate, int capacity, AllocationType allocation) { in Allocate() [all …]
|
D | template-objects.cc | 49 AllocationType::kOld); in GetTemplateObject() 55 AllocationType::kOld); in GetTemplateObject() 93 CACHED_TEMPLATE_OBJECT_TYPE, AllocationType::kOld)); in New()
|
D | prototype-info.h | 67 AllocationType allocation = AllocationType::kYoung);
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-struct.cc | 45 num_properties, 0, AllocationType::kSharedOld); in BUILTIN() 86 in_object_properties, AllocationType::kSharedMap); in BUILTIN() 107 factory->NewJSObject(args.target(), AllocationType::kSharedOld); in BUILTIN() 115 factory->NewPropertyArray(num_oob_fields, AllocationType::kSharedOld); in BUILTIN()
|
/third_party/node/deps/v8/src/common/ |
D | globals.h | 841 enum class AllocationType : uint8_t { enum 851 inline size_t hash_value(AllocationType kind) { in hash_value() 855 inline std::ostream& operator<<(std::ostream& os, AllocationType kind) { 857 case AllocationType::kYoung: 859 case AllocationType::kOld: 861 case AllocationType::kCode: 863 case AllocationType::kMap: 865 case AllocationType::kReadOnly: 867 case AllocationType::kSharedOld: 869 case AllocationType::kSharedMap: [all …]
|