/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 | 42 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets]; 43 size_t RosAlloc::numOfPages[kNumOfSizeBrackets]; 44 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets]; 45 size_t RosAlloc::headerSizes[kNumOfSizeBrackets]; 46 bool RosAlloc::initialized_ = false; 47 size_t RosAlloc::dedicated_full_run_storage_[kPageSize / sizeof(size_t)] = { 0 }; 48 RosAlloc::Run* RosAlloc::dedicated_full_run_ = 49 reinterpret_cast<RosAlloc::Run*>(dedicated_full_run_storage_); 51 RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, in RosAlloc() function in art::gc::allocator::RosAlloc 114 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 | 49 GENERATE_ALLOC_ENTRYPOINTS _rosalloc, RosAlloc 118 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(_rosalloc, RosAlloc) 119 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_INITIALIZED(_rosalloc, RosAlloc) 120 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) 121 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY(_rosalloc, RosAlloc) 122 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc, RosAlloc) 123 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) 124 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY(_rosalloc, RosAlloc) 125 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) 126 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_STRING_FROM_BYTES(_rosalloc, RosAlloc) [all …]
|
/art/runtime/gc/space/ |
D | rosalloc_space.cc | 46 art::gc::allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, in RosAllocSpace() 63 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, in CreateFromMemMap() 131 allocator::RosAlloc* RosAllocSpace::CreateRosAlloc(void* begin, size_t morecore_start, in CreateRosAlloc() 140 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc() 143 art::gc::allocator::RosAlloc::kPageReleaseModeAll : in CreateRosAlloc() 144 art::gc::allocator::RosAlloc::kPageReleaseModeSizeAndEnd, in CreateRosAlloc() 182 mem_map, initial_size_, name, reinterpret_cast<allocator::RosAlloc*>(allocator), begin, end, in CreateInstance() 186 reinterpret_cast<allocator::RosAlloc*>(allocator), begin, end, limit, in CreateInstance() 291 InspectAllRosAlloc(art::gc::allocator::RosAlloc::BytesAllocatedCallback, &bytes_allocated, false); in GetBytesAllocated() 297 …InspectAllRosAlloc(art::gc::allocator::RosAlloc::ObjectsAllocatedCallback, &objects_allocated, fal… in GetObjectsAllocated() [all …]
|
D | rosalloc_space.h | 102 allocator::RosAlloc* GetRosAlloc() const { in GetRosAlloc() 151 allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, uint8_t* limit, 165 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size, 178 allocator::RosAlloc* rosalloc_;
|
/art/runtime/ |
D | asm_support.h | 355 static_cast<int32_t>(art::gc::allocator::RosAlloc::kMaxThreadLocalBracketSize)) in CheckAsmSupportOffsetsAndSizes() 359 static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSizeShift)) in CheckAsmSupportOffsetsAndSizes() 363 static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) in CheckAsmSupportOffsetsAndSizes() 368 art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) in CheckAsmSupportOffsetsAndSizes() 373 art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) in CheckAsmSupportOffsetsAndSizes() 377 static_cast<int32_t>(art::gc::allocator::RosAlloc::RunFreeListOffset())) in CheckAsmSupportOffsetsAndSizes() 381 static_cast<int32_t>(art::gc::allocator::RosAlloc::RunFreeListHeadOffset())) in CheckAsmSupportOffsetsAndSizes() 385 static_cast<int32_t>(art::gc::allocator::RosAlloc::RunFreeListSizeOffset())) in CheckAsmSupportOffsetsAndSizes() 389 static_cast<int32_t>(art::gc::allocator::RosAlloc::RunSlotNextOffset())) in CheckAsmSupportOffsetsAndSizes()
|
D | thread.cc | 1619 gc::allocator::RosAlloc::GetDedicatedFullRun()); in Thread()
|
/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 187 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(RosAlloc, gc::kAllocatorTypeRosAlloc)
|
/art/runtime/gc/ |
D | heap.h | 78 class RosAlloc; variable 621 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
|
D | heap.cc | 1664 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
|