/ark/runtime_core/libpandabase/tests/ |
D | bit_memory_region_test.cpp | 96 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/ |
D | region_space.cpp | 101 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()
|
D | region_space-inl.h | 25 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
|
D | rem_set-inl.h | 25 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
|
D | region_allocator-inl.h | 101 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
|
D | region_space.h | 470 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/ |
D | sparse_space.cpp | 35 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 …]
|
D | parallel_evacuation.h | 78 …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()
|
D | space.cpp | 50 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()
|
D | space-inl.h | 22 void Space::AddRegion(Region *region) in AddRegion() 30 void Space::RemoveRegion(Region *region) in RemoveRegion()
|
D | allocator-inl.h | 60 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()
|
D | parallel_evacuation-inl.h | 29 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()
|
D | linear_space.cpp | 73 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()
|
D | parallel_evacuation.cpp | 81 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
|
D | heap_region_allocator.cpp | 56 void HeapRegionAllocator::FreeRegion(Region *region) in FreeRegion()
|
D | tagged_object-inl.h | 61 … Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(ToUintPtr(this))); in GetJSThread() local
|
D | free_object_list.cpp | 124 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local 136 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
|
D | parallel_marker-inl.h | 72 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
|
D | tlab_allocator-inl.h | 131 auto region = heap_->GetOldSpace()->TryToGetExclusiveRegion(size); in ExpandCompressFromOld() local
|
D | concurrent_marker.cpp | 102 auto callback = [](Region *region) { in Reset()
|
D | heap-inl.h | 33 void Heap::EnumerateOldSpaceRegions(const Callback &cb, Region *region) const in EnumerateOldSpaceRegions() 131 bool Heap::MoveYoungRegionSync(Region *region) in MoveYoungRegionSync()
|
D | stw_young_gc_for_testing.cpp | 71 auto region = heap_->GetOldSpace()->GetCurrentRegion(); in ParallelMarkingPhase() local
|
D | parallel_work_helper.cpp | 60 bool WorkerHelper::Push(uint32_t threadId, TaggedObject *object, Region *region) in Push()
|
D | parallel_marker.cpp | 38 void Marker::ProcessOldToNew(uint32_t threadId, Region *region) in ProcessOldToNew()
|
/ark/js_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 148 Region *region = const_cast<HeapRegionAllocator *>(vm_->GetHeap()->GetHeapRegionAllocator()) in DeserializeGlobalEnvAndProgram() local
|