Searched refs:rosalloc (Results 1 – 9 of 9) sorted by relevance
/art/runtime/gc/allocator/ |
D | rosalloc.h | 54 size_t ByteSize(RosAlloc* rosalloc) const REQUIRES(rosalloc->lock_) { in ByteSize() argument 56 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); in ByteSize() 57 size_t byte_size = rosalloc->free_page_run_size_map_[pm_idx]; in ByteSize() 62 void SetByteSize(RosAlloc* rosalloc, size_t byte_size) in SetByteSize() argument 63 REQUIRES(rosalloc->lock_) { in SetByteSize() 66 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); in SetByteSize() 67 rosalloc->free_page_run_size_map_[pm_idx] = byte_size; in SetByteSize() 72 void* End(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in End() argument 74 uint8_t* end = fpr_base + ByteSize(rosalloc); in End() 77 bool IsLargerThanPageReleaseThreshold(RosAlloc* rosalloc) in IsLargerThanPageReleaseThreshold() argument [all …]
|
D | rosalloc.cc | 1870 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) { in Verify() argument 1890 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify() 1910 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify() 1911 Run* current_run = rosalloc->current_runs_[i]; in Verify() 1926 MutexLock mu(self, rosalloc->lock_); in Verify() 1927 auto& non_full_runs = rosalloc->non_full_runs_[idx]; in Verify() 1937 auto& full_runs = rosalloc->full_runs_[idx]; in Verify()
|
/art/runtime/gc/space/ |
D | rosalloc_space.cc | 50 art::gc::allocator::RosAlloc* rosalloc, in RosAllocSpace() argument 67 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { in RosAllocSpace() 68 CHECK(rosalloc != nullptr); in RosAllocSpace() 83 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map.Begin(), in CreateFromMemMap() local 89 if (rosalloc == nullptr) { in CreateFromMemMap() 109 rosalloc, in CreateFromMemMap() 121 rosalloc, in CreateFromMemMap() 188 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc() local 194 if (rosalloc != nullptr) { in CreateRosAlloc() 195 rosalloc->SetFootprintLimit(initial_size); in CreateRosAlloc() [all …]
|
D | rosalloc_space.h | 165 allocator::RosAlloc* rosalloc,
|
/art/tools/cpp-define-generator/ |
D | asm_defines.def | 32 #include "rosalloc.def"
|
D | rosalloc.def | 18 #include "gc/allocator/rosalloc.h"
|
/art/runtime/ |
D | Android.bp | 102 "gc/allocator/rosalloc.cc", 542 "gc/allocator/rosalloc.h",
|
/art/runtime/gc/ |
D | heap.h | 721 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
|
D | heap.cc | 1776 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace() 1777 if (rosalloc_space_ != nullptr && rosalloc_space_->GetRosAlloc() == rosalloc) { in GetRosAllocSpace() 1782 if (space->AsContinuousSpace()->AsRosAllocSpace()->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()
|