Lines Matching refs:num_regions_
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()
347 ? num_regions_ in SetFromSpace()
348 : std::min(num_regions_, non_free_region_index_limit_); in SetFromSpace()
459 for (size_t i = 0; i < std::min(num_regions_, non_free_region_index_limit_); ++i) { in ClearFromSpace()
480 while (i + 1 < num_regions_ && regions_[i + 1].IsLargeTail()) { in ClearFromSpace()
517 for (size_t i = 0; i < std::min(num_regions_, non_free_region_index_limit_); ++i) { in ClearFromSpace()
533 while (i + free_regions < num_regions_ && regions_[i + free_regions].IsLargeTail()) { in ClearFromSpace()
552 while (i + regions_to_clear_bitmap < num_regions_) { in ClearFromSpace()
722 if (num_non_free_regions_ * 2 < num_regions_) { in LogFragmentationAllocFailure()
729 for (size_t i = 0; i < num_regions_; ++i) { in LogFragmentationAllocFailure()
757 for (size_t i = 0; i < num_regions_; ++i) { in Clear()
790 num_regions_ = new_num_regions; in ClampGrowthLimit()
791 if (kCyclicRegionAllocation && cyclic_alloc_region_index_ >= num_regions_) { in ClampGrowthLimit()
815 for (size_t i = 0; i < num_regions_; ++i) { in DumpRegions()
822 for (size_t i = 0; i < num_regions_; ++i) { in DumpNonFreeRegions()
981 if (!for_evac && (num_non_free_regions_ + 1) * 2 > num_regions_) { in AllocateRegion()
984 for (size_t i = 0; i < num_regions_; ++i) { in AllocateRegion()
990 ? ((cyclic_alloc_region_index_ + i) % num_regions_) in AllocateRegion()
1009 cyclic_alloc_region_index_ = (region_index + 1) % num_regions_; in AllocateRegion()