Home
last modified time | relevance | path

Searched defs:region (Results 1 – 25 of 35) sorted by relevance

12

/ark/runtime_core/libpandabase/tests/
Dbit_memory_region_test.cpp96 BitMemoryRegion region(data.data(), 0, data.size() * BITS_PER_UINT64); in TEST() local
104 BitMemoryRegion region(data.data(), 0, 130); in TEST() local
113 BitMemoryRegion region(data.data(), 1, 65); in TEST() local
122 BitMemoryRegion region(data.data(), 0, 129); in TEST() local
131 BitMemoryRegion region(data.data(), 40, 40); in TEST() local
139 BitMemoryRegion region(data.data(), 2, 20); in TEST() local
148 BitMemoryRegion region(data.data(), 16, 96); in TEST() local
158 BitMemoryRegion region(data.data(), 31, 120); in TEST() local
/ark/runtime_core/runtime/mem/
Dregion_space.cpp101 auto *region = RegionAt(i); in AllocRegion() local
128 auto *region = RegionAt(left); in AllocLargeRegion() local
141 void RegionBlock::FreeRegion(Region *region, bool release_pages) in FreeRegion()
166 void *region = nullptr; in NewRegion() local
186 void RegionPool::FreeRegion(Region *region, bool release_pages) in FreeRegion()
197 auto *region = region_pool_->NewRegion(this, space_type_, allocator_type_, region_size); in NewRegion() local
205 void RegionSpace::FreeRegion(Region *region) in FreeRegion()
215 IterateRegions([this](Region *region) { FreeRegion(region); }); in FreeAllRegions()
Dregion_space-inl.h25 explicit RegionAllocCheck(Region *region) : region_(region) in RegionAllocCheck()
42 explicit RegionIterateCheck(Region *region) : region_(region) in RegionIterateCheck()
107 auto *region = Region::AsRegion(&(*it)); in IterateRegions() local
Drem_set-inl.h25 RemSet<LockConfigT>::RemSet(Region *region) : region_(region) in RemSet()
65 CardList *RemSet<LockConfigT>::GetCardList(Region *region) in GetCardList()
117 auto *region = region_iter.first; in VisitMarkedCards() local
Dregion_allocator-inl.h101 Region *region = this->AllocRegion(REGION_SIZE); in AllocRegular() local
129 Region *region = this->AllocRegion(Region::RegionSize(align_size, REGION_SIZE)); in Alloc() local
153 Region *region = nullptr; in CreateNewTLAB() local
224 auto *region = queue.top().second; in GetTopGarbageRegions() local
376 Region *region = this->AllocRegion(REGION_SIZE); in NewRegionAndRetryAlloc() local
Dregion_space.h470 auto *region = region_pool_->GetRegion(object); in GetRegion() local
483 auto *region = GetRegion(object); in IsLive() local
490 void DestroyRegion(Region *region) in DestroyRegion()
/ark/js_runtime/ecmascript/mem/
Dsparse_space.cpp35 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE); in Initialize() local
89 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE); in Expand() local
164 Region *region = nullptr; in FillSweptRegion() local
172 void SparseSpace::AddSweepingRegion(Region *region) in AddSweepingRegion()
188 Region *region = nullptr; in GetSweepingRegionSafe() local
196 void SparseSpace::AddSweptRegionSafe(Region *region) in AddSweptRegionSafe()
205 Region *region = nullptr; in GetSweptRegionSafe() local
245 EnumerateRegions([&](Region *region) { in IterateOverObjects()
278 void SparseSpace::DetachFreeObjectSet(Region *region) in DetachFreeObjectSet()
292 Region *region = Region::ObjectAddressToRange(result); in TryToGetExclusiveRegion() local
[all …]
Dparallel_evacuation.h78 …Fragment(ParallelEvacuation *evacuation, Region *region) : evacuation_(evacuation), region_(region… in Fragment()
97 …EvacuationFragment(ParallelEvacuation *evacuation, Region *region) : Fragment(evacuation, region) … in EvacuationFragment()
103 …UpdateRSetFragment(ParallelEvacuation *evacuation, Region *region) : Fragment(evacuation, region) … in UpdateRSetFragment()
109 …UpdateNewRegionFragment(ParallelEvacuation *evacuation, Region *region) : Fragment(evacuation, reg… in UpdateNewRegionFragment()
115 UpdateAndSweepNewRegionFragment(ParallelEvacuation *evacuation, Region *region) in UpdateAndSweepNewRegionFragment()
Dspace.cpp50 void Space::ClearAndFreeRegion(Region *region) in ClearAndFreeRegion()
68 Region *region = Region::ObjectAddressToRange(object); in ContainObject() local
92 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, alignedSize); in Allocate() local
122 EnumerateRegions([&](Region *region) { in IterateOverObjects()
Dspace-inl.h22 void Space::AddRegion(Region *region) in AddRegion()
30 void Space::RemoveRegion(Region *region) in RemoveRegion()
Dallocator-inl.h60 void FreeListAllocator::Initialize(Region *region) in Initialize()
72 void FreeListAllocator::AddFree(Region *region) in AddFree()
159 inline void FreeListAllocator::CollectFreeObjectSet(Region *region) in CollectFreeObjectSet()
170 inline void FreeListAllocator::DetachFreeObjectSet(Region *region) in DetachFreeObjectSet()
Dparallel_evacuation-inl.h29 bool ParallelEvacuation::IsWholeRegionEvacuate(Region *region) in IsWholeRegionEvacuate()
86 Region *region = Region::ObjectAddressToRange(object); in SetObjectFieldRSet() local
115 void ParallelEvacuation::AddFragment(std::unique_ptr<Fragment> region) in AddFragment()
Dlinear_space.cpp73 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE); in Expand() local
96 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE); in Initialize() local
116 bool SemiSpace::SwapRegion(Region *region, SemiSpace *fromSpace) in SwapRegion()
197 EnumerateRegions([&](Region *region) { in IterateOverObjects()
Dparallel_evacuation.cpp81 std::unique_ptr<Fragment> region = GetFragmentSafe(); in EvacuateSpace() local
96 void ParallelEvacuation::EvacuateRegion(TlabAllocator *allocator, Region *region) in EvacuateRegion()
288 void ParallelEvacuation::UpdateRSet(Region *region) in UpdateRSet()
314 void ParallelEvacuation::UpdateNewRegionReference(Region *region) in UpdateNewRegionReference()
343 void ParallelEvacuation::UpdateAndSweepNewRegionReference(Region *region) in UpdateAndSweepNewRegionReference()
395 std::unique_ptr<Fragment> region = GetFragmentSafe(); in ProcessFragments() local
Dheap_region_allocator.cpp56 void HeapRegionAllocator::FreeRegion(Region *region) in FreeRegion()
Dtagged_object-inl.h61 … Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(ToUintPtr(this))); in GetJSThread() local
Dfree_object_list.cpp124 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
136 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
Dparallel_marker-inl.h72 inline void NonMovableMarker::HandleOldToNewRSet(uint32_t threadId, Region *region) in HandleOldToNewRSet()
124 inline void MovableMarker::HandleOldToNewRSet(uint32_t threadId, Region *region) in HandleOldToNewRSet()
231 Region *region = Region::ObjectAddressToRange(object); in ShouldBePromoted() local
Dtlab_allocator-inl.h131 auto region = heap_->GetOldSpace()->TryToGetExclusiveRegion(size); in ExpandCompressFromOld() local
Dconcurrent_marker.cpp102 auto callback = [](Region *region) { in Reset()
Dheap-inl.h33 void Heap::EnumerateOldSpaceRegions(const Callback &cb, Region *region) const in EnumerateOldSpaceRegions()
131 bool Heap::MoveYoungRegionSync(Region *region) in MoveYoungRegionSync()
Dstw_young_gc_for_testing.cpp71 auto region = heap_->GetOldSpace()->GetCurrentRegion(); in ParallelMarkingPhase() local
Dparallel_work_helper.cpp60 bool WorkerHelper::Push(uint32_t threadId, TaggedObject *object, Region *region) in Push()
Dparallel_marker.cpp38 void Marker::ProcessOldToNew(uint32_t threadId, Region *region) in ProcessOldToNew()
/ark/js_runtime/ecmascript/snapshot/mem/
Dsnapshot.cpp148 Region *region = const_cast<HeapRegionAllocator *>(vm_->GetHeap()->GetHeapRegionAllocator()) in DeserializeGlobalEnvAndProgram() local

12