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() 122 DCHECK_GT(num_regions_, 0U); in RegionSpace() 123 regions_.reset(new Region[num_regions_]); in RegionSpace() 125 for (size_t i = 0; i < num_regions_; ++i, region_addr += kRegionSize) { in RegionSpace() 132 for (size_t i = 0; i < num_regions_; ++i) { in RegionSpace() 135 if (i + 1 < num_regions_) { in RegionSpace() 139 CHECK_EQ(regions_[num_regions_ - 1].End(), Limit()); in RegionSpace() 152 for (size_t i = 0; i < num_regions_; ++i) { in FromSpaceSize() 164 for (size_t i = 0; i < num_regions_; ++i) { in UnevacFromSpaceSize() 176 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() 336 num_regions_, in AllocLarge() 344 DCHECK_LE(next_region1, num_regions_); in AllocLarge() 347 cyclic_alloc_region_index_ = next_region1 % num_regions_; in AllocLarge() 356 std::min(cyclic_alloc_region_index_ + num_regs_in_large_region - 1, num_regions_), in AllocLarge() 364 DCHECK_LE(next_region2, num_regions_); in AllocLarge() [all …]
|
D | region_space.h | 190 return num_regions_; in GetNumRegions() 241 DCHECK_LT(idx, num_regions_); in IsRegionNewlyAllocated() 321 for (size_t i = 0; i < num_regions_; ++i) { in AssertAllRegionLiveBytesZeroOrCleared() 332 ? num_regions_ in SetAllRegionLiveBytesZero() 333 : std::min(num_regions_, non_free_region_index_limit_); in SetAllRegionLiveBytesZero() 348 DCHECK_LT(reg_idx, num_regions_); in RegionIdxForRefUnchecked() 653 DCHECK_LT(reg_idx, num_regions_); in RefToRegionLocked() 671 DCHECK_LT(new_non_free_region_index, num_regions_); in AdjustNonFreeRegionLimit() 678 DCHECK_LE(new_non_free_region_index_limit, num_regions_); in SetNonFreeRegionLimit() 686 if (kIsDebugBuild && non_free_region_index_limit_ < num_regions_) { in VerifyNonFreeRegionLimit() [all …]
|