Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.cc36 MemMap* RegionSpace::CreateMemMap(const std::string& name, size_t capacity, in CreateMemMap()
80 RegionSpace* RegionSpace::Create(const std::string& name, MemMap* mem_map) { in Create()
81 return new RegionSpace(name, mem_map); in Create()
84 RegionSpace::RegionSpace(const std::string& name, MemMap* mem_map) in RegionSpace() function in art::gc::space::RegionSpace
123 size_t RegionSpace::FromSpaceSize() { in FromSpaceSize()
135 size_t RegionSpace::UnevacFromSpaceSize() { in UnevacFromSpaceSize()
147 size_t RegionSpace::ToSpaceSize() { in ToSpaceSize()
159 inline bool RegionSpace::Region::ShouldBeEvacuated() { in ShouldBeEvacuated()
194 void RegionSpace::SetFromSpace(accounting::ReadBarrierTable* rb_table, bool force_evacuate_all) { in SetFromSpace()
266 void RegionSpace::ClearFromSpace(/* out */ uint64_t* cleared_bytes, in ClearFromSpace()
[all …]
Dregion_space-inl.h27 inline mirror::Object* RegionSpace::Alloc(Thread* self ATTRIBUTE_UNUSED, in Alloc()
37 inline mirror::Object* RegionSpace::AllocThreadUnsafe(Thread* self, in AllocThreadUnsafe()
47 inline mirror::Object* RegionSpace::AllocNonvirtual(size_t num_bytes, in AllocNonvirtual()
94 inline mirror::Object* RegionSpace::Region::Alloc(size_t num_bytes, in Alloc()
121 template<RegionSpace::RegionType kRegionType>
122 inline uint64_t RegionSpace::GetBytesAllocatedInternal() { in GetBytesAllocatedInternal()
156 template<RegionSpace::RegionType kRegionType>
157 inline uint64_t RegionSpace::GetObjectsAllocatedInternal() { in GetObjectsAllocatedInternal()
192 inline void RegionSpace::WalkInternal(Visitor&& visitor) { in WalkInternal()
238 inline mirror::Object* RegionSpace::GetNextObject(mirror::Object* obj) { in GetNextObject()
[all …]
Dregion_space.h35 class RegionSpace FINAL : public ContinuousMemMapAllocSpace {
47 static RegionSpace* Create(const std::string& name, MemMap* mem_map);
176 RegionSpace* AsRegionSpace() OVERRIDE { in AsRegionSpace()
286 RegionSpace(const std::string& name, MemMap* mem_map);
343 void Unfree(RegionSpace* region_space, uint32_t alloc_time)
347 void UnfreeLarge(RegionSpace* region_space, uint32_t alloc_time)
351 void UnfreeLargeTail(RegionSpace* region_space, uint32_t alloc_time)
354 void MarkAsAllocated(RegionSpace* region_space, uint32_t alloc_time)
509 friend class RegionSpace; variable
606 DISALLOW_COPY_AND_ASSIGN(RegionSpace);
[all …]
Dspace.h52 class RegionSpace; variable
139 virtual RegionSpace* AsRegionSpace();
Dspace.cc64 RegionSpace* Space::AsRegionSpace() { in AsRegionSpace()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h128 space::RegionSpace::RegionType rtype = region_space_->GetRegionTypeUnsafe(from_ref); in Mark()
130 case space::RegionSpace::RegionType::kRegionTypeToSpace: in Mark()
133 case space::RegionSpace::RegionType::kRegionTypeFromSpace: { in Mark()
145 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in Mark()
Dconcurrent_copying.h51 class RegionSpace; variable
96 void SetRegionSpace(space::RegionSpace* region_space) { in SetRegionSpace()
100 space::RegionSpace* RegionSpace() { in RegionSpace() function
281 space::RegionSpace* region_space_; // The underlying region space.
Dconcurrent_copying.cc107 static_assert(space::RegionSpace::kRegionSize == accounting::ReadBarrierTable::kRegionSize, in ConcurrentCopying()
1233 space::RegionSpace* region_space = RegionSpace(); in VerifyNoFromSpaceReferences()
1563 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in ProcessMarkStackRef()
1568 space::RegionSpace* region_space = RegionSpace(); in ProcessMarkStackRef()
1860 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant()
1861 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
1938 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant()
1939 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
2282 CHECK_ALIGNED(alloc_size, space::RegionSpace::kAlignment); in AllocateInSkippedBlock()
2284 size_t min_object_size = RoundUp(sizeof(mirror::Object), space::RegionSpace::kAlignment); in AllocateInSkippedBlock()
[all …]
/art/runtime/gc/
Dheap-inl.h344 alloc_size = RoundUp(alloc_size, space::RegionSpace::kAlignment); in TryToAllocate()
355 static_assert(space::RegionSpace::kAlignment == space::BumpPointerSpace::kAlignment, in TryToAllocate()
Dheap.h105 class RegionSpace; variable
1326 space::RegionSpace* region_space_;
Dheap.cc438 MemMap* region_space_mem_map = space::RegionSpace::CreateMemMap(kRegionSpaceName, in Heap()
442 region_space_ = space::RegionSpace::Create(kRegionSpaceName, region_space_mem_map); in Heap()
4056 if (space::RegionSpace::kRegionSize >= alloc_size) { in AllocWithNewTLAB()
4059 space::RegionSpace::kRegionSize, in AllocWithNewTLAB()
4063 : gc::space::RegionSpace::kRegionSize; in AllocWithNewTLAB()