Home
last modified time | relevance | path

Searched refs:rosalloc (Results 1 – 10 of 10) 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.cc1868 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) { in Verify() argument
1888 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify()
1908 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify()
1909 Run* current_run = rosalloc->current_runs_[i]; in Verify()
1924 MutexLock mu(self, rosalloc->lock_); in Verify()
1925 auto& non_full_runs = rosalloc->non_full_runs_[idx]; in Verify()
1935 auto& full_runs = rosalloc->full_runs_[idx]; in Verify()
/art/runtime/gc/space/
Drosalloc_space.cc47 art::gc::allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, in RosAllocSpace() argument
52 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { in RosAllocSpace()
53 CHECK(rosalloc != nullptr); in RosAllocSpace()
64 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, in CreateFromMemMap() local
66 if (rosalloc == nullptr) { in CreateFromMemMap()
83 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap()
86 return new RosAllocSpace(mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, in CreateFromMemMap()
141 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc() local
147 if (rosalloc != nullptr) { in CreateRosAlloc()
148 rosalloc->SetFootprintLimit(initial_size); in CreateRosAlloc()
[all …]
Drosalloc_space.h151 allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, uint8_t* limit,
/art/tools/cpp-define-generator/
Dconstant_rosalloc.def20 #include "gc/allocator/rosalloc.h" // art::gc::allocator::RosAlloc
/art/runtime/
DAndroid.bp70 "gc/allocator/rosalloc.cc",
449 "gc/allocator/rosalloc.h",
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S1645 # Fast path rosalloc allocation
1650 # t2: rosalloc run
1671 # Compute the rosalloc bracket index from the size. Since the size is already aligned we can
1676 ld $t2, (THREAD_ROSALLOC_RUNS_OFFSET - __SIZEOF_POINTER__)($t2) # Load rosalloc run (t2).
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1696 # Fast path rosalloc allocation
1701 # t2: rosalloc run
1722 # Compute the rosalloc bracket index from the size. Since the size is already aligned we can
1727 lw $t2, (THREAD_ROSALLOC_RUNS_OFFSET - __SIZEOF_POINTER__)($t2) # Load rosalloc run (t2).
/art/runtime/gc/
Dheap.h650 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
Dheap.cc1554 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
1555 if (rosalloc_space_ != nullptr && rosalloc_space_->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()
1560 if (space->AsContinuousSpace()->AsRosAllocSpace()->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()