Searched refs:capacity_ (Results 1 – 6 of 6) sorted by relevance
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 77 return AtomicPushBackInternal(value, capacity_); in AtomicPushBackIgnoreGrowthLimit() 117 for (size_t i = 0; i < capacity_; ++i) { in AssertAllZero() 175 return capacity_; in Capacity() 180 capacity_ = new_capacity; in Resize() 217 capacity_(capacity), in AtomicStack() 242 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), nullptr, capacity_ * sizeof(begin_[0]), in Init() 265 size_t capacity_; variable
|
/art/runtime/ |
D | indirect_reference_table.h | 231 : table_(table), i_(i), capacity_(capacity) { in IrtIterator() 251 const size_t capacity_; variable
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 55 capacity_(capacity), max_capacity_(max_capacity), in RosAlloc() 76 << std::hex << (intptr_t)(base_ + capacity_) in RosAlloc() 77 << ", capacity=" << std::dec << capacity_ in RosAlloc() 85 DCHECK_EQ(footprint_, capacity_); in RosAlloc() 101 free_pages->SetByteSize(this, capacity_); in RosAlloc() 102 DCHECK_EQ(capacity_ % kPageSize, static_cast<size_t>(0)); in RosAlloc() 119 MEMORY_TOOL_MAKE_DEFINED(base_, capacity_); in ~RosAlloc() 168 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages() 182 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages() 185 capacity_ - footprint_); in AllocPages() [all …]
|
D | rosalloc.h | 610 DCHECK_LT(addr, base_ + capacity_); in ToPageMapIndex() 617 DCHECK(base_ <= addr && addr < reinterpret_cast<uint8_t*>(base_) + capacity_); in RoundDownToPageMapIndex() 704 size_t capacity_; variable 773 uint8_t* End() { return base_ + capacity_; } in End() 910 DCHECK_LT(idx, capacity_ / kPageSize); in IsFreePage()
|
/art/runtime/gc/ |
D | heap.cc | 181 capacity_(capacity), in Heap() 408 capacity_, in Heap() 414 main_mem_map_1.reset(MemMap::MapAnonymous(kMemMapSpaceName[0], request_begin, capacity_, in Heap() 425 capacity_, &error_str)); in Heap() 445 region_space_ = space::RegionSpace::Create("Region space", capacity_ * 2, request_begin); in Heap() 462 CreateMainMallocSpace(main_mem_map_1.release(), initial_size, growth_limit_, capacity_); in Heap() 484 growth_limit_, capacity_, name, true)); in Heap() 495 capacity_); in Heap() 3633 capacity_ = growth_limit_; in ClampGrowthLimit() 3647 growth_limit_ = capacity_; in ClearGrowthLimit()
|
D | heap.h | 1128 size_t capacity_; variable
|