Searched refs:new_capacity (Results 1 – 5 of 5) sorted by relevance
/art/compiler/utils/ |
D | assembler.cc | 97 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity() local 98 new_capacity = std::max(new_capacity, min_capacity); in ExtendCapacity() 102 arena_->Realloc(contents_, old_capacity, new_capacity, kArenaAllocAssembler)); in ExtendCapacity() 106 limit_ = ComputeLimit(contents_, new_capacity); in ExtendCapacity() 109 CHECK_EQ(Capacity(), new_capacity); in ExtendCapacity()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 256 size_t new_capacity = Capacity(); in ClampGrowthLimit() local 257 CHECK_LE(new_capacity, NonGrowthLimitCapacity()); in ClampGrowthLimit() 258 GetLiveBitmap()->SetHeapSize(new_capacity); in ClampGrowthLimit() 259 GetMarkBitmap()->SetHeapSize(new_capacity); in ClampGrowthLimit() 262 temp_bitmap_->SetHeapSize(new_capacity); in ClampGrowthLimit() 264 GetMemMap()->SetSize(new_capacity); in ClampGrowthLimit() 265 limit_ = Begin() + new_capacity; in ClampGrowthLimit()
|
/art/runtime/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 276 void Resize(size_t new_capacity) { 277 CHECK_GT(new_capacity, capacity); 279 Storage* tmp = allocator.allocate(new_capacity); 287 capacity = new_capacity; 292 size_t new_capacity = 2 * capacity + 1; 293 Resize(new_capacity);
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 181 void Resize(size_t new_capacity) { in Resize() argument 182 capacity_ = new_capacity; in Resize() 183 growth_limit_ = new_capacity; in Resize()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 1494 void RosAlloc::SetFootprintLimit(size_t new_capacity) { in SetFootprintLimit() argument 1496 DCHECK_EQ(RoundUp(new_capacity, kPageSize), new_capacity); in SetFootprintLimit() 1498 if (capacity_ < new_capacity) { in SetFootprintLimit() 1499 CHECK_LE(new_capacity, max_capacity_); in SetFootprintLimit() 1500 capacity_ = new_capacity; in SetFootprintLimit()
|