Searched refs:rosalloc (Results 1 – 9 of 9) sorted by relevance
/art/runtime/gc/allocator/ |
D | rosalloc.h | 55 size_t ByteSize(RosAlloc* rosalloc) const REQUIRES(rosalloc->lock_) { in ByteSize() argument 57 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); in ByteSize() 58 size_t byte_size = rosalloc->free_page_run_size_map_[pm_idx]; in ByteSize() 63 void SetByteSize(RosAlloc* rosalloc, size_t byte_size) in SetByteSize() argument 64 REQUIRES(rosalloc->lock_) { in SetByteSize() 67 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); in SetByteSize() 68 rosalloc->free_page_run_size_map_[pm_idx] = byte_size; in SetByteSize() 73 void* End(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in End() argument 75 uint8_t* end = fpr_base + ByteSize(rosalloc); in End() 78 bool IsLargerThanPageReleaseThreshold(RosAlloc* rosalloc) in IsLargerThanPageReleaseThreshold() argument [all …]
|
D | rosalloc.cc | 1866 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) { in Verify() argument 1886 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify() 1906 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify() 1907 Run* current_run = rosalloc->current_runs_[i]; in Verify() 1922 MutexLock mu(self, rosalloc->lock_); in Verify() 1923 auto& non_full_runs = rosalloc->non_full_runs_[idx]; in Verify() 1933 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 | 268 "gc/allocator/rosalloc.cc", 764 "gc/allocator/rosalloc.h",
|
/art/runtime/gc/ |
D | heap.h | 752 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
|
D | heap.cc | 1916 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace() 1917 if (rosalloc_space_ != nullptr && rosalloc_space_->GetRosAlloc() == rosalloc) { in GetRosAllocSpace() 1922 if (space->AsContinuousSpace()->AsRosAllocSpace()->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()
|