Home
last modified time | relevance | path

Searched refs:capacity_ (Results 1 – 6 of 6) sorted by relevance

/art/runtime/gc/accounting/
Datomic_stack.h87 return AtomicPushBackInternal(value, capacity_); in AtomicPushBackIgnoreGrowthLimit()
127 for (size_t i = 0; i < capacity_; ++i) { in AssertAllZero()
185 return capacity_; in Capacity()
190 capacity_ = new_capacity; in Resize()
227 capacity_(capacity), in AtomicStack()
252 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), nullptr, capacity_ * sizeof(begin_[0]), in Init()
275 size_t capacity_; variable
/art/runtime/
Dindirect_reference_table.h189 : table_(table), i_(i), capacity_(capacity) { in IrtIterator()
191 UNUSED(capacity_); in IrtIterator()
211 const size_t capacity_; variable
/art/runtime/gc/allocator/
Drosalloc.cc60 capacity_(capacity), max_capacity_(max_capacity), in RosAlloc()
81 << std::hex << (intptr_t)(base_ + capacity_) in RosAlloc()
82 << ", capacity=" << std::dec << capacity_ in RosAlloc()
90 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
106 free_pages->SetByteSize(this, capacity_); in RosAlloc()
107 DCHECK_EQ(capacity_ % kPageSize, static_cast<size_t>(0)); in RosAlloc()
124 MEMORY_TOOL_MAKE_DEFINED(base_, capacity_); in ~RosAlloc()
174 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
188 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
191 capacity_ - footprint_); in AllocPages()
[all …]
Drosalloc.h611 DCHECK_LT(addr, base_ + capacity_); in ToPageMapIndex()
618 DCHECK(base_ <= addr && addr < reinterpret_cast<uint8_t*>(base_) + capacity_); in RoundDownToPageMapIndex()
705 size_t capacity_; variable
777 uint8_t* End() { return base_ + capacity_; } in End()
914 DCHECK_LT(idx, capacity_ / kPageSize); in IsFreePage()
/art/runtime/gc/
Dheap.cc220 capacity_(capacity), in Heap()
399 capacity_, in Heap()
405 main_mem_map_1.reset(MemMap::MapAnonymous(kMemMapSpaceName[0], request_begin, capacity_, in Heap()
416 capacity_, &error_str)); in Heap()
439 capacity_ * 2, in Heap()
459 CreateMainMallocSpace(main_mem_map_1.release(), initial_size, growth_limit_, capacity_); in Heap()
481 growth_limit_, capacity_, name, true)); in Heap()
492 capacity_); in Heap()
3523 capacity_ = growth_limit_; in ClampGrowthLimit()
3533 region_space_->ClampGrowthLimit(2 * capacity_); in ClampGrowthLimit()
[all …]
Dheap.h1210 size_t capacity_; variable