Searched refs:RosAlloc (Results 1 – 11 of 11) sorted by relevance
/art/tools/cpp-define-generator/ |
D | rosalloc.def | 22 art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1) 24 ~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 26 ~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 28 art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSizeShift) 30 art::gc::allocator::RosAlloc::kMaxThreadLocalBracketSize) 32 art::gc::allocator::RosAlloc::RunFreeListHeadOffset()) 34 art::gc::allocator::RosAlloc::RunFreeListOffset()) 36 art::gc::allocator::RosAlloc::RunFreeListSizeOffset()) 38 art::gc::allocator::RosAlloc::RunSlotNextOffset())
|
/art/runtime/gc/allocator/ |
D | rosalloc-inl.h | 26 inline ALWAYS_INLINE bool RosAlloc::ShouldCheckZeroMemory() { in ShouldCheckZeroMemory() 31 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated, in Alloc() 55 inline bool RosAlloc::Run::IsFull() { in IsFull() 59 inline bool RosAlloc::CanAllocFromThreadLocalRun(Thread* self, size_t size) { in CanAllocFromThreadLocalRun() 78 inline void* RosAlloc::AllocFromThreadLocalRun(Thread* self, size_t size, in AllocFromThreadLocalRun() 102 inline size_t RosAlloc::MaxBytesBulkAllocatedFor(size_t size) { in MaxBytesBulkAllocatedFor() 111 inline void* RosAlloc::Run::AllocSlot() { in AllocSlot()
|
D | rosalloc.cc | 47 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets]; 48 size_t RosAlloc::numOfPages[kNumOfSizeBrackets]; 49 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets]; 50 size_t RosAlloc::headerSizes[kNumOfSizeBrackets]; 51 bool RosAlloc::initialized_ = false; 52 size_t RosAlloc::dedicated_full_run_storage_[kPageSize / sizeof(size_t)] = { 0 }; 53 RosAlloc::Run* RosAlloc::dedicated_full_run_ = 54 reinterpret_cast<RosAlloc::Run*>(dedicated_full_run_storage_); 56 RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, in RosAlloc() function in art::gc::allocator::RosAlloc 121 RosAlloc::~RosAlloc() { in ~RosAlloc() [all …]
|
D | rosalloc.h | 44 class RosAlloc { 54 size_t ByteSize(RosAlloc* rosalloc) const REQUIRES(rosalloc->lock_) { in ByteSize() 62 void SetByteSize(RosAlloc* rosalloc, size_t byte_size) in SetByteSize() 72 void* End(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in End() 77 bool IsLargerThanPageReleaseThreshold(RosAlloc* rosalloc) in IsLargerThanPageReleaseThreshold() 81 bool IsAtEndOfSpace(RosAlloc* rosalloc) in IsAtEndOfSpace() 85 bool ShouldReleasePages(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in ShouldReleasePages() 102 void ReleasePages(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in ReleasePages() 134 friend class RosAlloc; variable 307 friend class RosAlloc; variable [all …]
|
/art/runtime/arch/ |
D | quick_alloc_entrypoints.S | 45 GENERATE_ALLOC_ENTRYPOINTS _rosalloc, RosAlloc 152 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) 153 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_STRING_OBJECT(_rosalloc, RosAlloc) 154 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc, RosAlloc) 155 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED8(_rosalloc, RosAlloc) 156 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED16(_rosalloc, RosAlloc) 157 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED32(_rosalloc, RosAlloc) 158 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED64(_rosalloc, RosAlloc) 159 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_STRING_FROM_BYTES(_rosalloc, RosAlloc) 160 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_STRING_FROM_CHARS(_rosalloc, RosAlloc) [all …]
|
/art/runtime/gc/space/ |
D | rosalloc_space.cc | 50 art::gc::allocator::RosAlloc* rosalloc, in RosAllocSpace() 83 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map.Begin(), in CreateFromMemMap() 179 allocator::RosAlloc* RosAllocSpace::CreateRosAlloc(void* begin, size_t morecore_start, in CreateRosAlloc() 188 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc() 191 art::gc::allocator::RosAlloc::kPageReleaseModeAll : in CreateRosAlloc() 192 art::gc::allocator::RosAlloc::kPageReleaseModeSizeAndEnd, in CreateRosAlloc() 237 reinterpret_cast<allocator::RosAlloc*>(allocator), in CreateInstance() 249 reinterpret_cast<allocator::RosAlloc*>(allocator), in CreateInstance() 360 InspectAllRosAlloc(art::gc::allocator::RosAlloc::BytesAllocatedCallback, &bytes_allocated, false); in GetBytesAllocated() 366 …InspectAllRosAlloc(art::gc::allocator::RosAlloc::ObjectsAllocatedCallback, &objects_allocated, fal… in GetObjectsAllocated() [all …]
|
D | rosalloc_space.h | 109 allocator::RosAlloc* GetRosAlloc() const { in GetRosAlloc() 165 allocator::RosAlloc* rosalloc, 184 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size, 197 allocator::RosAlloc* rosalloc_;
|
/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 132 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(RosAlloc, gc::kAllocatorTypeRosAlloc)
|
/art/runtime/gc/ |
D | heap.h | 95 class RosAlloc; variable 727 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
|
D | heap.cc | 1712 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
|
/art/runtime/ |
D | thread.cc | 2316 gc::allocator::RosAlloc::GetDedicatedFullRun()); in Thread()
|