Home
last modified time | relevance | path

Searched refs:AllocationSpace (Results 1 – 25 of 31) sorted by relevance

12

/external/v8/src/heap/
Dsweeper.h95 void AddPage(AllocationSpace space, Page* page, AddPageMode mode);
97 int ParallelSweepSpace(AllocationSpace identity, int required_freed_bytes,
99 int ParallelSweepPage(Page* page, AllocationSpace identity);
141 ForAllSweepingSpaces([this, &is_done](AllocationSpace space) { in IsDoneSweeping()
147 void SweepSpaceFromTask(AllocationSpace identity);
151 bool SweepSpaceIncrementallyFromTask(AllocationSpace identity);
155 Page* GetSweepingPageSafe(AllocationSpace space);
157 void PrepareToBeSweptPage(AllocationSpace space, Page* page);
163 bool IsValidIterabilitySpace(AllocationSpace space) { in IsValidIterabilitySpace()
167 static bool IsValidSweepingSpace(AllocationSpace space) { in IsValidSweepingSpace()
[all …]
Dsweeper.cc71 AllocationSpace space_to_start) in SweeperTask()
88 const AllocationSpace space_id = static_cast<AllocationSpace>( in RunInternal()
103 AllocationSpace space_to_start_;
141 ForAllSweepingSpaces([this, marking_state](AllocationSpace space) { in StartSweeping()
157 ForAllSweepingSpaces([this](AllocationSpace space) { in StartSweeperTasks()
218 [this](AllocationSpace space) { ParallelSweepSpace(space, 0); }); in EnsureCompleted()
222 ForAllSweepingSpaces([this](AllocationSpace space) { in EnsureCompleted()
374 void Sweeper::SweepSpaceFromTask(AllocationSpace identity) { in SweepSpaceFromTask()
382 bool Sweeper::SweepSpaceIncrementallyFromTask(AllocationSpace identity) { in SweepSpaceIncrementallyFromTask()
389 int Sweeper::ParallelSweepSpace(AllocationSpace identity, in ParallelSweepSpace()
[all …]
Dlocal-allocator.h44 inline AllocationResult Allocate(AllocationSpace space, int object_size,
46 inline void FreeLast(AllocationSpace space, HeapObject* object,
Dheap.h257 static inline AllocationResult Retry(AllocationSpace space = NEW_SPACE) {
273 inline AllocationSpace RetrySpace();
283 explicit AllocationResult(AllocationSpace space) in AllocationResult()
436 static bool IsValidAllocationSpace(AllocationSpace space);
577 bool AllowedToBeMigrated(HeapObject* object, AllocationSpace dest);
935 AllocationSpace space, GarbageCollectionReason gc_reason,
1139 bool InSpace(HeapObject* value, AllocationSpace space);
1144 bool InSpaceSlow(Address addr, AllocationSpace space);
1595 static AllocationSpace SelectSpace(PretenureFlag pretenure) { in SelectSpace()
1640 GarbageCollector SelectGarbageCollector(AllocationSpace space,
[all …]
Dlocal-allocator-inl.h15 AllocationResult LocalAllocator::Allocate(AllocationSpace space, in Allocate()
33 void LocalAllocator::FreeLast(AllocationSpace space, HeapObject* object, in FreeLast()
Dheap-inl.h45 AllocationSpace AllocationResult::RetrySpace() { in RetrySpace()
47 return static_cast<AllocationSpace>(Smi::ToInt(object_)); in RetrySpace()
118 AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, in AllocateRaw()
267 AllocationSpace allocation_space = memory_chunk->owner()->identity(); in UpdateAllocationsHash()
Dspaces.h931 Space(Heap* heap, AllocationSpace id) in Space()
952 AllocationSpace identity() { return id_; } in identity()
1056 AllocationSpace id_;
1369 static size_t PageAreaSize(AllocationSpace space) { in PageAreaSize()
2048 SpaceWithLinearArea(Heap* heap, AllocationSpace id) in SpaceWithLinearArea()
2110 PagedSpace(Heap* heap, AllocationSpace id, Executability executable); in NON_EXPORTED_BASE()
2854 CompactionSpace(Heap* heap, AllocationSpace id, Executability executable) in CompactionSpace()
2878 CompactionSpace* Get(AllocationSpace space) { in Get()
2993 LargeObjectSpace(Heap* heap, AllocationSpace id);
Dscavenger.cc110 AllocationSpace space = page->owner()->identity(); in AddPageToSweeperIfNecessary()
Dmark-compact.cc1137 virtual void Move(AllocationSpace dest, HeapObject* src, HeapObject* dst,
1148 inline void Move(AllocationSpace dest, HeapObject* src, HeapObject* dst, in Move()
1176 AllocationSpace dest);
1181 AllocationSpace dest) { in RawMigrateObject()
1219 inline bool TryEvacuateObject(AllocationSpace target_space, in TryEvacuateObject()
1236 inline void ExecuteMigrationObservers(AllocationSpace dest, HeapObject* src, in ExecuteMigrationObservers()
1244 AllocationSpace dest) { in MigrateObject()
1298 AllocationSpace space = AllocateTargetObject(object, size, &target); in Visit()
1328 inline AllocationSpace AllocateTargetObject(HeapObject* old_object, int size, in AllocateTargetObject()
1332 AllocationSpace space_allocated_in = NEW_SPACE; in AllocateTargetObject()
[all …]
Dheap.cc362 GarbageCollector Heap::SelectGarbageCollector(AllocationSpace space, in SelectGarbageCollector()
1316 bool Heap::CollectGarbage(AllocationSpace space, in CollectGarbage()
1593 static_cast<AllocationSpace>(space))); in ReserveSpace()
3771 bool Heap::InSpace(HeapObject* value, AllocationSpace space) { in InSpace()
3796 bool Heap::InSpaceSlow(Address addr, AllocationSpace space) { in InSpaceSlow()
3821 bool Heap::IsValidAllocationSpace(AllocationSpace space) { in IsValidAllocationSpace()
4607 HeapObject* Heap::AllocateRawWithLightRetry(int size, AllocationSpace space, in AllocateRawWithLightRetry()
4628 HeapObject* Heap::AllocateRawWithRetryOrFail(int size, AllocationSpace space, in AllocateRawWithRetryOrFail()
5681 const char* AllocationSpaceName(AllocationSpace space) { in AllocationSpaceName()
5742 bool Heap::AllowedToBeMigrated(HeapObject* obj, AllocationSpace dst) { in AllowedToBeMigrated()
[all …]
Dfactory.cc130 AllocationSpace space = Heap::SelectSpace(pretenure); in AllocateRawWithAllocationSite()
155 AllocationSpace space = Heap::SelectSpace(pretenure); in AllocateRawArray()
184 AllocationSpace space = Heap::SelectSpace(pretenure); in New()
195 AllocationSpace space) { in NewFillerObject()
373 AllocationSpace space = Heap::SelectSpace(pretenure); in TryNewFixedArray()
/external/v8/src/snapshot/
Ddefault-deserializer-allocator.h29 Address Allocate(AllocationSpace space, int size);
31 void MoveToNextChunk(AllocationSpace space);
55 HeapObject* GetObject(AllocationSpace space, uint32_t chunk_index,
79 Address AllocateRaw(AllocationSpace space, int size);
Ddefault-serializer-allocator.cc29 MemoryAllocator::PageAreaSize(static_cast<AllocationSpace>(space))); in PageSizeOfSpace()
38 SerializerReference DefaultSerializerAllocator::Allocate(AllocationSpace space, in Allocate()
85 AllocationSpace space = reference.space(); in BackReferenceIsAlreadyAllocated()
139 PrintF("%16s", AllocationSpaceName(static_cast<AllocationSpace>(space))); in OutputStatistics()
Dbuiltin-deserializer-allocator.h55 Address Allocate(AllocationSpace space, int size);
57 void MoveToNextChunk(AllocationSpace space) { UNREACHABLE(); } in MoveToNextChunk()
76 HeapObject* GetObject(AllocationSpace space, uint32_t chunk_index, in GetObject()
Dbuiltin-serializer-allocator.cc12 SerializerReference BuiltinSerializerAllocator::Allocate(AllocationSpace space, in Allocate()
49 PrintF("%16s", AllocationSpaceName(static_cast<AllocationSpace>(space))); in OutputStatistics()
Ddefault-deserializer-allocator.cc30 Address DefaultDeserializerAllocator::AllocateRaw(AllocationSpace space, in AllocateRaw()
61 Address DefaultDeserializerAllocator::Allocate(AllocationSpace space, in Allocate()
86 void DefaultDeserializerAllocator::MoveToNextChunk(AllocationSpace space) { in MoveToNextChunk()
108 HeapObject* DefaultDeserializerAllocator::GetObject(AllocationSpace space, in GetObject()
Dreferences.h41 static SerializerReference BackReference(AllocationSpace space, in BackReference()
78 AllocationSpace space() const { in space()
80 return static_cast<AllocationSpace>(SpaceBits::decode(bitfield_)); in space()
Dbuiltin-serializer-allocator.h21 SerializerReference Allocate(AllocationSpace space, uint32_t size);
Ddefault-serializer-allocator.h21 SerializerReference Allocate(AllocationSpace space, uint32_t size);
Dserializer.cc62 AllocationSpace space) { in CountInstanceType()
84 AllocationSpaceName(static_cast<AllocationSpace>(space)), #Name); \ in OutputStatistics()
193 AllocationSpace space = reference.space(); in SerializeBackReference()
364 AllocationSpace space, int size, Map* map) { in SerializePrologue()
551 AllocationSpace space = in SerializeExternalStringAsSequentialString()
652 AllocationSpace space = in SerializeObject()
Dserializer.h229 void CountInstanceType(Map* map, int size, AllocationSpace space);
309 void SerializePrologue(AllocationSpace space, int size, Map* map);
Ddeserializer.cc304 obj = allocator()->GetObject(static_cast<AllocationSpace>(space), in GetBackReferencedObject()
312 obj = allocator()->GetObject(static_cast<AllocationSpace>(space), in GetBackReferencedObject()
338 allocator()->Allocate(static_cast<AllocationSpace>(space_number), size); in ReadObject()
580 allocator()->MoveToNextChunk(static_cast<AllocationSpace>(space)); in ReadData()
Dbuiltin-deserializer-allocator.cc32 Address BuiltinDeserializerAllocator::Allocate(AllocationSpace space, in Allocate()
/external/v8/src/runtime/
Druntime-internal.cc291 AllocationSpace space = AllocateTargetSpace::decode(flags); in RUNTIME_FUNCTION()
Druntime.h762 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};

12