Lines Matching refs:RegionSpace

50 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
149 size_t RegionSpace::FromSpaceSize() { in FromSpaceSize()
161 size_t RegionSpace::UnevacFromSpaceSize() { in UnevacFromSpaceSize()
173 size_t RegionSpace::ToSpaceSize() { in ToSpaceSize()
185 void RegionSpace::Region::SetAsUnevacFromSpace(bool clear_live_bytes) { in SetAsUnevacFromSpace()
213 bool RegionSpace::Region::GetUseGenerationalCC() { in GetUseGenerationalCC()
220 inline bool RegionSpace::Region::ShouldBeEvacuated(EvacMode evac_mode) { in ShouldBeEvacuated()
292 void RegionSpace::ZeroLiveBytesForLargeObject(mirror::Object* obj) { in ZeroLiveBytesForLargeObject()
302 DCHECK_GT(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject()
304 size_t obj_alloc_size = RoundUp(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject()
329 void RegionSpace::SetFromSpace(accounting::ReadBarrierTable* rb_table, in SetFromSpace()
421 void RegionSpace::ClearFromSpace(/* out */ uint64_t* cleared_bytes, in ClearFromSpace()
633 void RegionSpace::CheckLiveBytesAgainstRegionBitmap(Region* r) { in CheckLiveBytesAgainstRegionBitmap()
657 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in CheckLiveBytesAgainstRegionBitmap()
673 IsPowerOfTwo(RegionSpace::kAlignment) && in PoisonUnevacuatedRange()
674 (kPoisonDeadObjectSize < RegionSpace::kAlignment), in PoisonUnevacuatedRange()
684 void RegionSpace::PoisonDeadObjectsInUnevacuatedRegion(Region* r) { in PoisonDeadObjectsInUnevacuatedRegion()
719 void RegionSpace::LogFragmentationAllocFailure(std::ostream& os, in LogFragmentationAllocFailure()
759 void RegionSpace::Clear() { in Clear()
774 void RegionSpace::Protect() { in Protect()
780 void RegionSpace::Unprotect() { in Unprotect()
786 void RegionSpace::ClampGrowthLimit(size_t new_capacity) { in ClampGrowthLimit()
806 void RegionSpace::Dump(std::ostream& os) const { in Dump()
811 void RegionSpace::DumpRegionForObject(std::ostream& os, mirror::Object* obj) { in DumpRegionForObject()
817 void RegionSpace::DumpRegions(std::ostream& os) { in DumpRegions()
824 void RegionSpace::DumpNonFreeRegions(std::ostream& os) { in DumpNonFreeRegions()
834 void RegionSpace::RecordAlloc(mirror::Object* ref) { in RecordAlloc()
840 bool RegionSpace::AllocNewTlab(Thread* self, in AllocNewTlab()
879 size_t RegionSpace::RevokeThreadLocalBuffers(Thread* thread) { in RevokeThreadLocalBuffers()
885 size_t RegionSpace::RevokeThreadLocalBuffers(Thread* thread, const bool reuse) { in RevokeThreadLocalBuffers()
891 void RegionSpace::RevokeThreadLocalBuffersLocked(Thread* thread, bool reuse) { in RevokeThreadLocalBuffersLocked()
912 size_t RegionSpace::RevokeAllThreadLocalBuffers() { in RevokeAllThreadLocalBuffers()
923 void RegionSpace::AssertThreadLocalBuffersAreRevoked(Thread* thread) { in AssertThreadLocalBuffersAreRevoked()
929 void RegionSpace::AssertAllThreadLocalBuffersAreRevoked() { in AssertAllThreadLocalBuffersAreRevoked()
941 void RegionSpace::Region::Dump(std::ostream& os) const { in Dump()
965 uint64_t RegionSpace::Region::GetLongestConsecutiveFreeBytes() const { in GetLongestConsecutiveFreeBytes()
983 space::RegionSpace* region_space = art::Runtime::Current()->GetHeap()->GetRegionSpace(); in GetLongestConsecutiveFreeBytes()
989 size_t RegionSpace::AllocationSizeNonvirtual(mirror::Object* obj, size_t* usable_size) { in AllocationSizeNonvirtual()
1003 void RegionSpace::Region::Clear(bool zero_and_release_pages) { in Clear()
1018 void RegionSpace::TraceHeapSize() { in TraceHeapSize()
1023 RegionSpace::Region* RegionSpace::AllocateRegion(bool for_evac) { in AllocateRegion()
1061 void RegionSpace::Region::MarkAsAllocated(RegionSpace* region_space, uint32_t alloc_time) { in MarkAsAllocated()
1071 void RegionSpace::Region::Unfree(RegionSpace* region_space, uint32_t alloc_time) { in Unfree()
1076 void RegionSpace::Region::UnfreeLarge(RegionSpace* region_space, uint32_t alloc_time) { in UnfreeLarge()
1081 void RegionSpace::Region::UnfreeLargeTail(RegionSpace* region_space, uint32_t alloc_time) { in UnfreeLargeTail()