Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.h51 size_t ByteSize(RosAlloc* rosalloc) const EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) { in ByteSize() argument
53 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); in ByteSize()
54 size_t byte_size = rosalloc->free_page_run_size_map_[pm_idx]; in ByteSize()
59 void SetByteSize(RosAlloc* rosalloc, size_t byte_size) in SetByteSize() argument
60 EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) { in SetByteSize()
63 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); in SetByteSize()
64 rosalloc->free_page_run_size_map_[pm_idx] = byte_size; in SetByteSize()
69 void* End(RosAlloc* rosalloc) EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) { in End() argument
71 byte* end = fpr_base + ByteSize(rosalloc); in End()
74 bool IsLargerThanPageReleaseThreshold(RosAlloc* rosalloc) in IsLargerThanPageReleaseThreshold() argument
[all …]
Drosalloc.cc33 extern "C" void* art_heap_rosalloc_morecore(RosAlloc* rosalloc, intptr_t increment);
1995 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc) { in Verify() argument
2022 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify()
2042 MutexLock mu(self, *rosalloc->size_bracket_locks_[i]); in Verify()
2043 Run* current_run = rosalloc->current_runs_[i]; in Verify()
2058 MutexLock mu(self, rosalloc->lock_); in Verify()
2059 std::set<Run*>& non_full_runs = rosalloc->non_full_runs_[idx]; in Verify()
2069 std::unordered_set<Run*, hash_run, eq_run>& full_runs = rosalloc->full_runs_[idx]; in Verify()
/art/runtime/gc/space/
Drosalloc_space.cc45 art::gc::allocator::RosAlloc* rosalloc, byte* begin, byte* end, in RosAllocSpace() argument
50 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { in RosAllocSpace()
51 CHECK(rosalloc != nullptr); in RosAllocSpace()
59 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, in CreateFromMemMap() local
61 if (rosalloc == NULL) { in CreateFromMemMap()
79 return new RosAllocSpace(name, mem_map, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap()
133 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc() local
138 if (rosalloc != NULL) { in CreateRosAlloc()
139 rosalloc->SetFootprintLimit(initial_size); in CreateRosAlloc()
143 return rosalloc; in CreateRosAlloc()
[all …]
Drosalloc_space.h128 RosAllocSpace(const std::string& name, MemMap* mem_map, allocator::RosAlloc* rosalloc,
/art/runtime/
DAndroid.mk48 gc/allocator/rosalloc.cc \
/art/runtime/gc/
Dheap.h530 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const;
Dheap.cc1269 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
1272 if (space->AsContinuousSpace()->AsRosAllocSpace()->GetRosAlloc() == rosalloc) { in GetRosAllocSpace()