Searched refs:new_capacity (Results 1 – 7 of 7) sorted by relevance
/art/compiler/utils/ |
D | assembler.cc | 79 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity() local 80 new_capacity = std::max(new_capacity, min_capacity); in ExtendCapacity() 84 allocator_->Realloc(contents_, old_capacity, new_capacity, kArenaAllocAssembler)); in ExtendCapacity() 88 limit_ = ComputeLimit(contents_, new_capacity); in ExtendCapacity() 91 CHECK_EQ(Capacity(), new_capacity); in ExtendCapacity()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 257 size_t new_capacity = Capacity(); in ClampGrowthLimit() local 258 CHECK_LE(new_capacity, NonGrowthLimitCapacity()); in ClampGrowthLimit() 259 GetLiveBitmap()->SetHeapSize(new_capacity); in ClampGrowthLimit() 260 GetMarkBitmap()->SetHeapSize(new_capacity); in ClampGrowthLimit() 263 temp_bitmap_->SetHeapSize(new_capacity); in ClampGrowthLimit() 265 GetMemMap()->SetSize(new_capacity); in ClampGrowthLimit() 266 limit_ = Begin() + new_capacity; in ClampGrowthLimit()
|
D | region_space.cc | 444 void RegionSpace::ClampGrowthLimit(size_t new_capacity) { in ClampGrowthLimit() argument 446 CHECK_LE(new_capacity, NonGrowthLimitCapacity()); in ClampGrowthLimit() 447 size_t new_num_regions = new_capacity / kRegionSize; in ClampGrowthLimit() 453 SetLimit(Begin() + new_capacity); in ClampGrowthLimit() 454 if (Size() > new_capacity) { in ClampGrowthLimit() 457 GetMarkBitmap()->SetHeapSize(new_capacity); in ClampGrowthLimit() 458 GetMemMap()->SetSize(new_capacity); in ClampGrowthLimit()
|
D | region_space.h | 109 void ClampGrowthLimit(size_t new_capacity) REQUIRES(!region_lock_);
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 277 void Resize(size_t new_capacity) { 278 CHECK_GT(new_capacity, capacity); 280 Storage* tmp = allocator.allocate(new_capacity); 288 capacity = new_capacity; 293 size_t new_capacity = 2 * capacity + 1; 294 Resize(new_capacity);
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 189 void Resize(size_t new_capacity) { in Resize() argument 190 capacity_ = new_capacity; in Resize() 191 growth_limit_ = new_capacity; in Resize()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 1495 void RosAlloc::SetFootprintLimit(size_t new_capacity) { in SetFootprintLimit() argument 1497 DCHECK_EQ(RoundUp(new_capacity, kPageSize), new_capacity); in SetFootprintLimit() 1499 if (capacity_ < new_capacity) { in SetFootprintLimit() 1500 CHECK_LE(new_capacity, max_capacity_); in SetFootprintLimit() 1501 capacity_ = new_capacity; in SetFootprintLimit()
|