Lines Matching defs:SharedSparseSpace
24 SharedSparseSpace::SharedSparseSpace(SharedHeap *heap,
37 void SharedSparseSpace::Reset()
44 void SharedSparseSpace::ResetTopPointer(uintptr_t top)
50 uintptr_t SharedSparseSpace::AllocateWithoutGC(JSThread *thread, size_t size)
58 uintptr_t SharedSparseSpace::Allocate(JSThread *thread, size_t size, bool allowGC)
94 uintptr_t SharedSparseSpace::TryAllocateAndExpand(JSThread *thread, size_t size, bool expand)
108 uintptr_t SharedSparseSpace::AllocateNoGCAndExpand(JSThread *thread, size_t size)
124 uintptr_t SharedSparseSpace::TryAllocate([[maybe_unused]] JSThread *thread, size_t size)
132 uintptr_t SharedSparseSpace::AllocateWithExpand(JSThread *thread, size_t size)
145 bool SharedSparseSpace::Expand(JSThread *thread)
153 LOG_ECMA(FATAL) << "SharedSparseSpace::Expand:region is nullptr";
160 Region *SharedSparseSpace::AllocateDeserializeRegion(JSThread *thread)
164 LOG_ECMA(FATAL) << "SharedSparseSpace::AllocateDeserializeRegion:region is nullptr";
169 void SharedSparseSpace::MergeDeserializeAllocateRegions(const std::vector<Region *> &allocateRegions)
180 uintptr_t SharedSparseSpace::AllocateAfterSweepingCompleted([[maybe_unused]] JSThread *thread, size_t size)
203 void SharedSparseSpace::PrepareSweeping()
216 void SharedSparseSpace::AsyncSweep(bool isMain)
229 void SharedSparseSpace::Sweep()
240 bool SharedSparseSpace::TryFillSweptRegion()
253 bool SharedSparseSpace::FinishFillSweptRegion()
260 void SharedSparseSpace::AddSweepingRegion(Region *region)
265 void SharedSparseSpace::SortSweepingRegion()
273 Region *SharedSparseSpace::GetSweepingRegionSafe()
284 void SharedSparseSpace::AddSweptRegionSafe(Region *region)
290 Region *SharedSparseSpace::GetSweptRegionSafe()
301 void SharedSparseSpace::FreeRegion(Region *current, bool isMain)
321 void SharedSparseSpace::DetachFreeObjectSet(Region *region)
326 void SharedSparseSpace::FreeLiveRange(uintptr_t freeStart, uintptr_t freeEnd, bool isMain)
332 void SharedSparseSpace::IterateOverObjects(const std::function<void(TaggedObject *object)> &visitor) const
359 size_t SharedSparseSpace::GetHeapObjectSize() const
364 void SharedSparseSpace::IncreaseAllocatedSize(size_t size)
369 size_t SharedSparseSpace::GetTotalAllocatedSize() const
374 void SharedSparseSpace::InvokeAllocationInspector(Address object, size_t size, size_t alignedSize)
386 void SharedSparseSpace::CheckAndTriggerLocalFullMark()
393 void SharedSparseSpace::IncAllocSObjectSize(uintptr_t object, size_t size)
407 : SharedSparseSpace(heap, MemSpaceType::SHARED_APPSPAWN_SPACE, initialCapacity, initialCapacity)
422 : SharedSparseSpace(heap, MemSpaceType::SHARED_NON_MOVABLE, initialCapacity, maximumCapacity)
427 : SharedSparseSpace(heap, MemSpaceType::SHARED_OLD_SPACE, initialCapacity, maximumCapacity)
460 : SharedSparseSpace(heap, MemSpaceType::SHARED_LOCAL_SPACE, initialCapacity, maximumCapacity) {}