Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 12 of 12) sorted by relevance

/art/runtime/base/
Dbit_vector.cc87 uint32_t new_size = BitsToWords(num + 1); in SetBit() local
88 DCHECK_GT(new_size, storage_size_); in SetBit()
90 static_cast<uint32_t*>(allocator_->Alloc(new_size * kWordBytes)); in SetBit()
93 memset(&new_storage[storage_size_], 0, (new_size - storage_size_) * kWordBytes); in SetBit()
96 storage_size_ = new_size; in SetBit()
/art/compiler/utils/
Dgrowable_array.h195 void SetSize(size_t new_size) { in SetSize() argument
196 Resize(new_size); in SetSize()
197 num_used_ = new_size; in SetSize()
/art/runtime/gc/space/
Ddlmalloc_space.cc264 void DlMallocSpace::SetFootprintLimit(size_t new_size) { in SetFootprintLimit() argument
266 VLOG(heap) << "DlMallocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()
270 if (new_size < current_space_size) { in SetFootprintLimit()
272 new_size = current_space_size; in SetFootprintLimit()
274 mspace_set_footprint_limit(mspace_, new_size); in SetFootprintLimit()
Drosalloc_space.cc265 void RosAllocSpace::SetFootprintLimit(size_t new_size) { in SetFootprintLimit() argument
267 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()
271 if (new_size < current_space_size) { in SetFootprintLimit()
273 new_size = current_space_size; in SetFootprintLimit()
275 rosalloc_->SetFootprintLimit(new_size); in SetFootprintLimit()
/art/runtime/gc/accounting/
Dspace_bitmap.cc76 size_t new_size = OffsetToIndex(new_end - heap_begin_) * kWordSize; in SetHeapLimit() local
77 if (new_size < bitmap_size_) { in SetHeapLimit()
78 bitmap_size_ = new_size; in SetHeapLimit()
/art/runtime/gc/collector/
Dmark_compact.cc276 void MarkCompact::ResizeMarkStack(size_t new_size) { in ResizeMarkStack() argument
278 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
279 mark_stack_->Resize(new_size); in ResizeMarkStack()
Dsemi_space.cc413 void SemiSpace::ResizeMarkStack(size_t new_size) { in ResizeMarkStack() argument
415 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
416 mark_stack_->Resize(new_size); in ResizeMarkStack()
Dsemi_space.h181 void ResizeMarkStack(size_t new_size);
Dmark_compact.h159 void ResizeMarkStack(size_t new_size);
Dmark_sweep.h244 void ResizeMarkStack(size_t new_size) EXCLUSIVE_LOCKS_REQUIRED(mark_stack_lock_);
Dmark_sweep.cc324 void MarkSweep::ResizeMarkStack(size_t new_size) { in ResizeMarkStack() argument
331 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
332 mark_stack_->Resize(new_size); in ResizeMarkStack()
/art/compiler/sea_ir/ir/
Dsea.cc559 int new_size = 0; in UpdateReachingDefs() local
562 new_size += (*reaching_it).second->size(); in UpdateReachingDefs()
564 if (old_size != new_size) { in UpdateReachingDefs()
569 reaching_defs_size_ = new_size; in UpdateReachingDefs()