Home
last modified time | relevance | path

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

12

/arkcompiler/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
/arkcompiler/ets_runtime/ecmascript/mem/
Dsparse_space.cpp37 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, in Initialize() local
88 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand() local
160 Region *region = nullptr; in TryFillSweptRegion() local
176 void SparseSpace::AddSweepingRegion(Region *region) in AddSweepingRegion()
192 Region *region = nullptr; in GetSweepingRegionSafe() local
200 void SparseSpace::AddSweptRegionSafe(Region *region) in AddSweptRegionSafe()
209 Region *region = nullptr; in GetSweptRegionSafe() local
228 Region *region = *iter; in TryToGetSuitableSweptRegion() local
270 EnumerateRegions([&](Region *region) { in IterateOverObjects()
305 EnumerateRegions([cb] (Region *region) { in IterateOldToNewOverObjects()
[all …]
Dparallel_evacuator.h78 …Workload(ParallelEvacuator *evacuator, Region *region) : evacuator_(evacuator), region_(region) {}; in Workload()
97 … EvacuateWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region) {} in EvacuateWorkload()
104 … UpdateRSetWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region) {} in UpdateRSetWorkload()
111 …UpdateNewRegionWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region… in UpdateNewRegionWorkload()
118 UpdateAndSweepNewRegionWorkload(ParallelEvacuator *evacuator, Region *region) in UpdateAndSweepNewRegionWorkload()
Dallocator-inl.h70 void FreeListAllocator::Initialize(Region *region) in Initialize()
82 void FreeListAllocator::AddFree(Region *region) in AddFree()
172 inline void FreeListAllocator::CollectFreeObjectSet(Region *region) in CollectFreeObjectSet()
183 inline bool FreeListAllocator::MatchFreeObjectSet(Region *region, size_t size) in MatchFreeObjectSet()
196 inline void FreeListAllocator::DetachFreeObjectSet(Region *region) in DetachFreeObjectSet()
Dspace-inl.h22 void Space::AddRegion(Region *region) in AddRegion()
30 void Space::RemoveRegion(Region *region) in RemoveRegion()
Dspace.cpp48 void Space::ClearAndFreeRegion(Region *region) in ClearAndFreeRegion()
80 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, alignedSize, thread); in Allocate() local
109 EnumerateRegions([&](Region *region) { in IterateOverObjects()
Dparallel_evacuator-inl.h28 bool ParallelEvacuator::IsWholeRegionEvacuate(Region *region) in IsWholeRegionEvacuate()
122 Region *region = Region::ObjectAddressToRange(object); in SetObjectFieldRSet() local
153 void ParallelEvacuator::AddWorkload(std::unique_ptr<Workload> region) in AddWorkload()
Dlinear_space.cpp74 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand() local
99 EnumerateRegions([&](Region *region) { in IterateOverObjects()
136 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Initialize() local
155 bool SemiSpace::SwapRegion(Region *region, SemiSpace *fromSpace) in SwapRegion()
Dparallel_evacuator.cpp83 std::unique_ptr<Workload> region = GetWorkloadSafe(); in EvacuateSpace() local
98 void ParallelEvacuator::EvacuateRegion(TlabAllocator *allocator, Region *region) in EvacuateRegion()
296 void ParallelEvacuator::UpdateRSet(Region *region) in UpdateRSet()
318 void ParallelEvacuator::UpdateNewRegionReference(Region *region) in UpdateNewRegionReference()
351 void ParallelEvacuator::UpdateAndSweepNewRegionReference(Region *region) in UpdateAndSweepNewRegionReference()
400 std::unique_ptr<Workload> region = GetWorkloadSafe(); in ProcessWorkloads() local
Dtagged_object-inl.h63 Region *region = Region::ObjectAddressToRange(const_cast<TaggedObject *>(this)); in GetJSThread() local
Dparallel_marker-inl.h72 inline void NonMovableMarker::HandleOldToNewRSet(uint32_t threadId, Region *region) in HandleOldToNewRSet()
139 inline void MovableMarker::HandleOldToNewRSet(uint32_t threadId, Region *region) in HandleOldToNewRSet()
249 Region *region = Region::ObjectAddressToRange(object); in ShouldBePromoted() local
332 inline bool CompressGCMarker::NeedEvacuate(Region *region) in NeedEvacuate()
Dheap_region_allocator.cpp61 void HeapRegionAllocator::FreeRegion(Region *region) in FreeRegion()
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
Dtlab_allocator-inl.h131 auto region = heap_->GetOldSpace()->TryToGetExclusiveRegion(size); in ExpandCompressFromOld() local
Dheap.cpp285 auto cb = [] (Region *region) { in ResumeForAppSpawn()
755 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(object)); in IncreaseNativeBindingSize() local
1002 Region *region = Region::ObjectAddressToRange(object); in IsAlive() local
1021 Region *region = Region::ObjectAddressToRange(object); in ContainObject() local
/arkcompiler/runtime_core/runtime/mem/
Drem_set-inl.h26 RemSet<LockConfigT>::RemSet(Region *region, CardTable *card_table) in RemSet()
71 CardList *RemSet<LockConfigT>::GetCardList(Region *region) in GetCardList()
150 auto *region = region_iter.first; in VisitMarkedCards() local
172 auto *region = region_iter.first; in ProceedMarkedCards() local
196 void RemSet<LockConfigT>::AddRefRegion(Region *region) in AddRefRegion()
204 void RemSet<LockConfigT>::RemoveFromRegion(Region *region) in RemoveFromRegion()
217 void RemSet<LockConfigT>::RemoveRefRegion(Region *region) in RemoveRefRegion()
Dregion_space.cpp174 auto *region = RegionAt(i); in AllocRegion() local
201 auto *region = RegionAt(left); in AllocLargeRegion() local
214 void RegionBlock::FreeRegion(Region *region, bool release_pages) in FreeRegion()
252 void *region = nullptr; in NewRegion() local
286 void RegionPool::FreeRegion(Region *region, bool release_pages) in FreeRegion()
298 void RegionPool::PromoteYoungRegion(Region *region) in PromoteYoungRegion()
329 auto *region = in NewRegion() local
339 void RegionSpace::FreeRegion(Region *region) in FreeRegion()
347 void RegionSpace::PromoteYoungRegion(Region *region) in PromoteYoungRegion()
357 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()
118 auto *region = Region::AsRegion(&(*it)); in IterateRegions() local
133 auto *region = GetRegion<cross_region>(object); in IsLive() local
Dregion_allocator-inl.h79 Region *region = AllocRegion(region_size, region_type, properties); in CreateAndSetUpNewRegion() local
151 … Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>(REGION_SIZE, region_type); in AllocRegular() local
198 Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>( in Alloc() local
224 Region *region = nullptr; in CreateNewTLAB() local
293 auto *region = queue.top().second; in GetTopGarbageRegions() local
352 void RegionAllocator<AllocConfigT, LockConfigT>::CompactSpecificRegion(Region *region, in CompactSpecificRegion()
416 void RegionAllocator<AllocConfigT, LockConfigT>::PromoteYoungRegion(Region *region, in PromoteYoungRegion()
561 …Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>(REGION_SIZE, RegionFlag::IS_… in NewRegionAndRetryAlloc() local
595 Region *region = nullptr; in Alloc() local
646 void RegionHumongousAllocator<AllocConfigT, LockConfigT>::Collect(Region *region, const GCObjectVis… in Collect()
[all …]
Dregion_allocator.h43 auto *region = reinterpret_cast<Region *>(((ToUintPtr(object)) & ~DEFAULT_REGION_MASK)); in ObjectToRegion() local
339 void SetCurrentRegion(Region *region) in SetCurrentRegion()
387 bool IsInCurrentRegion(Region *region) in IsInCurrentRegion()
420 Region *region = nullptr; in PopFromRegionQueue() local
439 void PushToRegionQueue(Region *region) in PushToRegionQueue()
/arkcompiler/ets_runtime/ecmascript/tests/
Dread_only_space_test.cpp116 auto *region = Region::ObjectAddressToRange(object); in HWTEST_F_L0() local
145 auto *region = Region::ObjectAddressToRange(object); in HWTEST_F_L0() local
164 auto *region = Region::ObjectAddressToRange(string.GetObject<TaggedObject>()); in HWTEST_F_L0() local
/arkcompiler/runtime_core/runtime/mem/gc/g1/
Dg1-gc.cpp144 Region *region = ObjectToRegion(obj); in G1GC() local
210 void G1GC<LanguageConfig>::DoRegionCompacting(Region *region, bool use_gc_workers, in DoRegionCompacting()
231 …GC<LanguageConfig>::RegionPromotionImpl(PandaVector<ObjectHeader *> *moved_objects, Region *region) in RegionPromotionImpl()
257 void G1GC<LanguageConfig>::CollectRefsFromCard(CardTable::CardPtr card, Region *region, RefVector *… in CollectRefsFromCard()
284 Region *region = ObjectToRegion(object_header); in CollectNonRegularObjects() local
327 …C<LanguageConfig>::RegionCompactingImpl(PandaVector<ObjectHeader *> *moved_objects, Region *region) in RegionCompactingImpl()
455 Region *region = data->second; in WorkerTaskProcessing() local
469 Region *region = AddrToRegion(ToVoidPtr(mem_range.GetStartAddress())); in WorkerTaskProcessing() local
528 for (auto region : collectible_regions) { in RunFullMarkAndProcessRefs() local
934 … [&mem_ranges](const Region *region) { mem_ranges.emplace_back(region->Begin(), region->End()); }); in CollectVerificationInfo()
[all …]
Dcollection_set.h44 void AddRegion(Region *region) in AddRegion()
Dg1-allocator.cpp121 auto region = AddrToRegion(ToVoidPtr(mem_range.GetStartAddress())); in IterateOverObjectsInRange() local
308 static inline void IterateOverObjectsInRegion(Region *region, const ObjectVisitor &object_visitor) in IterateOverObjectsInRegion()
407 void ObjectAllocatorG1<MTMode>::PromoteYoungRegion(Region *region, const GCObjectVisitor &death_che… in PromoteYoungRegion()
/arkcompiler/runtime_core/compiler/code_info/
Dcode_info.cpp48 auto region = GetRootsStackMask(stack_map); in Dump() local

12