Home
last modified time | relevance | path

Searched refs:rosalloc (Results 1 – 8 of 8) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.h54 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 …]
Drosalloc.cc1875 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) { in Verify() argument
1895 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify()
1915 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify()
1916 Run* current_run = rosalloc->current_runs_[i]; in Verify()
1931 MutexLock mu(self, rosalloc->lock_); in Verify()
1932 auto& non_full_runs = rosalloc->non_full_runs_[idx]; in Verify()
1942 auto& full_runs = rosalloc->full_runs_[idx]; in Verify()
/art/runtime/gc/space/
Drosalloc_space.cc46 art::gc::allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, in RosAllocSpace() argument
51 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { in RosAllocSpace()
52 CHECK(rosalloc != nullptr); in RosAllocSpace()
63 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, in CreateFromMemMap() local
65 if (rosalloc == nullptr) { in CreateFromMemMap()
82 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap()
85 return new RosAllocSpace(mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, in CreateFromMemMap()
140 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc() local
146 if (rosalloc != nullptr) { in CreateRosAlloc()
147 rosalloc->SetFootprintLimit(initial_size); in CreateRosAlloc()
[all …]
Drosalloc_space.h151 allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, uint8_t* limit,
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S1524 # Fast path rosalloc allocation
1531 # t2: rosalloc run
1568 # Compute the rosalloc bracket index from the size. Allign up the size by the rosalloc bracket
1575 ld $t2, THREAD_ROSALLOC_RUNS_OFFSET($t2) # Load rosalloc run (t2).
/art/runtime/
DAndroid.mk56 gc/allocator/rosalloc.cc \
354 gc/allocator/rosalloc.h \
/art/runtime/gc/
Dheap.h621 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
Dheap.cc1664 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
1665 if (rosalloc_space_ != nullptr && rosalloc_space_->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()
1670 if (space->AsContinuousSpace()->AsRosAllocSpace()->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()