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 | 130 for (size_t i = 0; i < num_regions_; ++i) { in GetBytesAllocatedInternal() 165 for (size_t i = 0; i < num_regions_; ++i) { in GetObjectsAllocatedInternal() 200 ? num_regions_ : std::min(num_regions_, non_free_region_index_limit_); in ScanUnevacFromSpace() 236 for (size_t i = 0; i < num_regions_; ++i) { in WalkInternal() 326 if ((num_non_free_regions_ + num_regs_in_large_region) * 2 > num_regions_) { in AllocLarge() 337 num_regions_, in AllocLarge() 350 std::min(cyclic_alloc_region_index_ + num_regs_in_large_region - 1, num_regions_), in AllocLarge() 360 DCHECK_LE(next_region, num_regions_); in AllocLarge() 363 cyclic_alloc_region_index_ = next_region % num_regions_; in AllocLarge() 368 num_regions_, in AllocLarge() [all …]
|
D | region_space.h | 193 return num_regions_; in GetNumRegions() 247 DCHECK_LT(idx, num_regions_); in IsRegionNewlyAllocated() 327 for (size_t i = 0; i < num_regions_; ++i) { in AssertAllRegionLiveBytesZeroOrCleared() 338 ? num_regions_ in SetAllRegionLiveBytesZero() 339 : std::min(num_regions_, non_free_region_index_limit_); in SetAllRegionLiveBytesZero() 354 DCHECK_LT(reg_idx, num_regions_); in RegionIdxForRefUnchecked() 675 DCHECK_LT(reg_idx, num_regions_); in RefToRegionLocked() 693 DCHECK_LT(new_non_free_region_index, num_regions_); in AdjustNonFreeRegionLimit() 700 DCHECK_LE(new_non_free_region_index_limit, num_regions_); in SetNonFreeRegionLimit() 708 if (kIsDebugBuild && non_free_region_index_limit_ < num_regions_) { in VerifyNonFreeRegionLimit() [all …]
|