Searched refs:num_regions_ (Results 1 – 3 of 3) sorted by relevance
/art/runtime/gc/space/ |
D | region_space.cc | 112 num_regions_(mem_map_.Size() / kRegionSize), in RegionSpace() 123 DCHECK_GT(num_regions_, 0U); in RegionSpace() 124 regions_.reset(new Region[num_regions_]); in RegionSpace() 126 for (size_t i = 0; i < num_regions_; ++i, region_addr += kRegionSize) { in RegionSpace() 133 for (size_t i = 0; i < num_regions_; ++i) { in RegionSpace() 136 if (i + 1 < num_regions_) { in RegionSpace() 140 CHECK_EQ(regions_[num_regions_ - 1].End(), Limit()); in RegionSpace() 153 for (size_t i = 0; i < num_regions_; ++i) { in FromSpaceSize() 165 for (size_t i = 0; i < num_regions_; ++i) { in UnevacFromSpaceSize() 177 for (size_t i = 0; i < num_regions_; ++i) { in ToSpaceSize() [all …]
|
D | region_space-inl.h | 128 for (size_t i = 0; i < num_regions_; ++i) { in GetBytesAllocatedInternal() 163 for (size_t i = 0; i < num_regions_; ++i) { in GetObjectsAllocatedInternal() 198 ? num_regions_ : std::min(num_regions_, non_free_region_index_limit_); in ScanUnevacFromSpace() 234 for (size_t i = 0; i < num_regions_; ++i) { in WalkInternal() 324 if ((num_non_free_regions_ + num_regs_in_large_region) * 2 > num_regions_) { in AllocLarge() 335 num_regions_, in AllocLarge() 348 std::min(cyclic_alloc_region_index_ + num_regs_in_large_region - 1, num_regions_), in AllocLarge() 358 DCHECK_LE(next_region, num_regions_); in AllocLarge() 361 cyclic_alloc_region_index_ = next_region % num_regions_; in AllocLarge() 366 num_regions_, in AllocLarge() [all …]
|
D | region_space.h | 193 return num_regions_; in GetNumRegions() 247 DCHECK_LT(idx, num_regions_); in IsRegionNewlyAllocated() 328 for (size_t i = 0; i < num_regions_; ++i) { in AssertAllRegionLiveBytesZeroOrCleared() 339 ? num_regions_ in SetAllRegionLiveBytesZero() 340 : std::min(num_regions_, non_free_region_index_limit_); in SetAllRegionLiveBytesZero() 355 DCHECK_LT(reg_idx, num_regions_); in RegionIdxForRefUnchecked() 678 DCHECK_LT(reg_idx, num_regions_); in RefToRegionLocked() 696 DCHECK_LT(new_non_free_region_index, num_regions_); in AdjustNonFreeRegionLimit() 703 DCHECK_LE(new_non_free_region_index_limit, num_regions_); in SetNonFreeRegionLimit() 711 if (kIsDebugBuild && non_free_region_index_limit_ < num_regions_) { in VerifyNonFreeRegionLimit() [all …]
|