Home
last modified time | relevance | path

Searched refs:RegionSpace (Results 1 – 13 of 13) sorted by relevance

/art/runtime/gc/space/
Dregion_space.cc50 MemMap RegionSpace::CreateMemMap(const std::string& name, in CreateMemMap()
97 RegionSpace* RegionSpace::Create( in Create()
99 return new RegionSpace(name, std::move(mem_map), use_generational_cc); in Create()
102 RegionSpace::RegionSpace(const std::string& name, MemMap&& mem_map, bool use_generational_cc) in RegionSpace() function in art::gc::space::RegionSpace
150 size_t RegionSpace::FromSpaceSize() { in FromSpaceSize()
162 size_t RegionSpace::UnevacFromSpaceSize() { in UnevacFromSpaceSize()
174 size_t RegionSpace::ToSpaceSize() { in ToSpaceSize()
186 void RegionSpace::Region::SetAsUnevacFromSpace(bool clear_live_bytes) { in SetAsUnevacFromSpace()
214 bool RegionSpace::Region::GetUseGenerationalCC() { in GetUseGenerationalCC()
221 inline bool RegionSpace::Region::ShouldBeEvacuated(EvacMode evac_mode) { in ShouldBeEvacuated()
[all …]
Dregion_space-inl.h31 inline mirror::Object* RegionSpace::Alloc(Thread* self ATTRIBUTE_UNUSED, in Alloc()
41 inline mirror::Object* RegionSpace::AllocThreadUnsafe(Thread* self, in AllocThreadUnsafe()
51 inline mirror::Object* RegionSpace::AllocNonvirtual(size_t num_bytes, in AllocNonvirtual()
99 inline mirror::Object* RegionSpace::Region::Alloc(size_t num_bytes, in Alloc()
126 template<RegionSpace::RegionType kRegionType>
127 inline uint64_t RegionSpace::GetBytesAllocatedInternal() { in GetBytesAllocatedInternal()
161 template<RegionSpace::RegionType kRegionType>
162 inline uint64_t RegionSpace::GetObjectsAllocatedInternal() { in GetObjectsAllocatedInternal()
197 inline void RegionSpace::ScanUnevacFromSpace(accounting::ContinuousSpaceBitmap* bitmap, in ScanUnevacFromSpace()
231 inline void RegionSpace::WalkInternal(Visitor&& visitor) { in WalkInternal()
[all …]
Dregion_space.h47 class RegionSpace final : public ContinuousMemMapAllocSpace {
65 static RegionSpace* Create(const std::string& name, MemMap&& mem_map, bool use_generational_cc);
208 RegionSpace* AsRegionSpace() override { in AsRegionSpace()
388 RegionSpace(const std::string& name, MemMap&& mem_map, bool use_generational_cc);
449 void Unfree(RegionSpace* region_space, uint32_t alloc_time)
453 void UnfreeLarge(RegionSpace* region_space, uint32_t alloc_time)
457 void UnfreeLargeTail(RegionSpace* region_space, uint32_t alloc_time)
460 void MarkAsAllocated(RegionSpace* region_space, uint32_t alloc_time)
636 friend class RegionSpace; variable
782 DISALLOW_COPY_AND_ASSIGN(RegionSpace);
[all …]
Dspace.cc64 RegionSpace* Space::AsRegionSpace() { in AsRegionSpace()
Dspace.h52 class RegionSpace; variable
139 virtual RegionSpace* AsRegionSpace();
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h156 space::RegionSpace::RegionType rtype = region_space_->GetRegionTypeUnsafe(from_ref); in Mark()
158 case space::RegionSpace::RegionType::kRegionTypeToSpace: in Mark()
161 case space::RegionSpace::RegionType::kRegionTypeFromSpace: { in Mark()
173 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in Mark()
Dconcurrent_copying.cc121 static_assert(space::RegionSpace::kRegionSize == accounting::ReadBarrierTable::kRegionSize, in ConcurrentCopying()
526 space::RegionSpace::EvacMode evac_mode = space::RegionSpace::kEvacModeLivePercentNewlyAllocated; in Run()
529 evac_mode = space::RegionSpace::kEvacModeNewlyAllocated; in Run()
531 evac_mode = space::RegionSpace::kEvacModeForceAll; in Run()
1052 DCHECK_EQ(collector_->RegionSpace()->RegionIdxForRef(obj), obj_region_idx_); in operator ()()
1101 size_t ref_region_idx = collector_->RegionSpace()->RegionIdxForRef(ref); in CheckReference()
1128 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in AddLiveBytesAndScanRef()
1918 space::RegionSpace* region_space = RegionSpace(); in VerifyNoFromSpaceReferences()
2159 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(to_ref); in ProcessMarkStackRef()
2178 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in ProcessMarkStackRef()
[all …]
Dconcurrent_copying.h53 class RegionSpace; variable
108 void SetRegionSpace(space::RegionSpace* region_space) { in SetRegionSpace()
112 space::RegionSpace* RegionSpace() { in RegionSpace() function
333 space::RegionSpace* region_space_; // The underlying region space.
/art/test/1001-app-image-regions/
Dapp_image_regions.cc33 return gc::space::RegionSpace::kRegionSize; in Java_Main_getRegionSize()
/art/runtime/gc/
Dheap-inl.h380 alloc_size = RoundUp(alloc_size, space::RegionSpace::kAlignment); in TryToAllocate()
391 static_assert(space::RegionSpace::kAlignment == space::BumpPointerSpace::kAlignment, in TryToAllocate()
Dheap.h107 class RegionSpace; variable
577 space::RegionSpace* GetRegionSpace() const { in GetRegionSpace()
1482 space::RegionSpace* region_space_;
Dheap.cc557 space::RegionSpace::CreateMemMap(kRegionSpaceName, capacity_ * 2, request_begin); in Heap()
559 region_space_ = space::RegionSpace::Create( in Heap()
2647 DCHECK(active_concurrent_copying_collector_->RegionSpace() == region_space_); in CollectGarbageInternal()
4207 if (space::RegionSpace::kRegionSize >= alloc_size) { in AllocWithNewTLAB()
4210 space::RegionSpace::kRegionSize, in AllocWithNewTLAB()
4214 : gc::space::RegionSpace::kRegionSize; in AllocWithNewTLAB()
/art/dex2oat/linker/
Dimage_writer.cc3653 region_size_ = gc::space::RegionSpace::kRegionSize; in ImageWriter()