Home
last modified time | relevance | path

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

/art/runtime/
Dhandle_scope.h48 return capacity_ == kNumReferencesVariableSized; in IsVariableSized()
79 capacity_(capacity) {} in BaseHandleScope()
84 capacity_(kNumReferencesVariableSized) {} in BaseHandleScope()
92 const int32_t capacity_; variable
144 return CapacityOffset(pointer_size) + sizeof(capacity_) + sizeof(size_); in ReferencesOffset()
154 DCHECK_GT(capacity_, 0); in Capacity()
155 return static_cast<uint32_t>(capacity_); in Capacity()
/art/runtime/gc/accounting/
Datomic_stack.h87 return AtomicPushBackInternal(value, capacity_); in AtomicPushBackIgnoreGrowthLimit()
127 for (size_t i = 0; i < capacity_; ++i) { in AssertAllZero()
225 return capacity_; in Capacity()
230 capacity_ = new_capacity; in Resize()
267 capacity_(capacity), in AtomicStack()
293 capacity_ * sizeof(begin_[0]), in Init()
318 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()
108 free_pages->SetByteSize(this, capacity_); in RosAlloc()
109 DCHECK_EQ(ModuloPageSize(capacity_), static_cast<size_t>(0)); in RosAlloc()
126 MEMORY_TOOL_MAKE_DEFINED(base_, capacity_); in ~RosAlloc()
176 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
190 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
193 capacity_ - footprint_); in AllocPages()
[all …]
Drosalloc.h609 DCHECK_LT(addr, base_ + capacity_); in ToPageMapIndex()
616 DCHECK(base_ <= addr && addr < reinterpret_cast<uint8_t*>(base_) + capacity_); in RoundDownToPageMapIndex()
703 size_t capacity_; variable
775 uint8_t* End() { return base_ + capacity_; } in End()
916 DCHECK_LT(idx, DivideByPageSize(capacity_)); in IsFreePage()
/art/runtime/gc/
Dheap.cc347 capacity_(capacity), in Heap()
503 heap_reservation_size = capacity_; in Heap()
600 kMemMapSpaceName[0], request_begin, capacity_, &error_str); in Heap()
609 capacity_, in Heap()
624 kMemMapSpaceName[1], main_mem_map_1.End(), capacity_, &error_str); in Heap()
652 space::RegionSpace::CreateMemMap(kRegionSpaceName, capacity_ * 2, request_begin); in Heap()
675 CreateMainMallocSpace(std::move(main_mem_map_1), initial_size, growth_limit_, capacity_); in Heap()
687 capacity_, in Heap()
699 large_object_space_ = space::FreeListSpace::Create("free list large object space", capacity_); in Heap()
3880 capacity_ = growth_limit_; in ClampGrowthLimit()
[all …]
Dheap.h1469 size_t capacity_; variable