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.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/tools/cpp-define-generator/
Dconstant_rosalloc.def20 #include "gc/allocator/rosalloc.h" // art::gc::allocator::RosAlloc
/art/runtime/
DAndroid.bp66 "gc/allocator/rosalloc.cc",
438 "gc/allocator/rosalloc.h",
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S1541 # Fast path rosalloc allocation
1546 # t2: rosalloc run
1562 # Compute the rosalloc bracket index from the size. Since the size is already aligned we can
1567 ld $t2, (THREAD_ROSALLOC_RUNS_OFFSET - __SIZEOF_POINTER__)($t2) # Load rosalloc run (t2).
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1584 # Fast path rosalloc allocation
1589 # t2: rosalloc run
1605 # Compute the rosalloc bracket index from the size. Since the size is already aligned we can
1610 lw $t2, (THREAD_ROSALLOC_RUNS_OFFSET - __SIZEOF_POINTER__)($t2) # Load rosalloc run (t2).
/art/runtime/gc/
Dheap.h651 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
Dheap.cc1636 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
1637 if (rosalloc_space_ != nullptr && rosalloc_space_->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()
1642 if (space->AsContinuousSpace()->AsRosAllocSpace()->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()