/art/runtime/gc/allocator/ |
rosalloc-inl.h | 20 #include "rosalloc.h" 27 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated) {
|
rosalloc.h | 41 class RosAlloc { 51 size_t ByteSize(RosAlloc* rosalloc) const EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) { 53 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base); 54 size_t byte_size = rosalloc->free_page_run_size_map_[pm_idx]; 59 void SetByteSize(RosAlloc* rosalloc, size_t byte_size) 60 EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) { 63 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base) [all...] |
rosalloc.cc | 23 #include "rosalloc.h" 33 extern "C" void* art_heap_rosalloc_morecore(RosAlloc* rosalloc, intptr_t increment); 39 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets]; 40 size_t RosAlloc::numOfPages[kNumOfSizeBrackets]; 41 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets]; 42 size_t RosAlloc::headerSizes[kNumOfSizeBrackets]; 43 size_t RosAlloc::bulkFreeBitMapOffsets[kNumOfSizeBrackets]; 44 size_t RosAlloc::threadLocalFreeBitMapOffsets[kNumOfSizeBrackets]; 45 bool RosAlloc::initialized_ = false [all...] |
/art/runtime/gc/space/ |
rosalloc_space.cc | 42 // template class ValgrindMallocSpace<RosAllocSpace, allocator::RosAlloc*>; 45 art::gc::allocator::RosAlloc* rosalloc, byte* begin, byte* end, 50 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { 51 CHECK(rosalloc != nullptr); 59 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, local 61 if (rosalloc == NULL) { 62 LOG(ERROR) << "Failed to initialize rosalloc for alloc space (" << name << ")"; 79 return new RosAllocSpace(name, mem_map, rosalloc, begin, end, begin + capacity, growth_limit 133 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( local [all...] |
rosalloc_space.h | 20 #include "gc/allocator/rosalloc.h" 70 // RosAlloc zeroes memory internally. 75 // RosAlloc zeroes memory internally. Pass in false for thread unsafe. 83 allocator::RosAlloc* GetRosAlloc() const { 128 RosAllocSpace(const std::string& name, MemMap* mem_map, allocator::RosAlloc* rosalloc, 141 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size, 152 // Underlying rosalloc. 153 allocator::RosAlloc* rosalloc_;
|
/art/runtime/arch/ |
quick_alloc_entrypoints.S | 43 GENERATE_ALLOC_ENTRYPOINTS _rosalloc, RosAlloc
|
/art/runtime/arch/x86/ |
quick_entrypoints_x86.S | 465 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT(_rosalloc, RosAlloc) 466 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(_rosalloc, RosAlloc) 467 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_INITIALIZED(_rosalloc, RosAlloc) 468 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) 469 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY(_rosalloc, RosAlloc) 470 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc, RosAlloc) 471 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) 472 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY(_rosalloc, RosAlloc) 473 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc) [all...] |
/art/runtime/arch/x86_64/ |
quick_entrypoints_x86_64.S | [all...] |
/art/runtime/entrypoints/quick/ |
quick_alloc_entrypoints.cc | 109 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(RosAlloc, gc::kAllocatorTypeRosAlloc)
|
/art/runtime/gc/ |
heap.h | 76 class RosAlloc; 113 // If true, use rosalloc/RosAllocSpace instead of dlmalloc/DlMallocSpace 529 // Return the corresponding rosalloc space. 530 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const; 733 // Create the main free list malloc space, either a RosAlloc space or DlMalloc space. [all...] |
heap.cc | 101 static const char* kRosAllocSpaceName[2] = {"main rosalloc space", "main rosalloc space 1"}; 305 // active rosalloc spaces. 472 // Create rosalloc space. [all...] |
/art/runtime/ |
thread.cc | 43 #include "gc/allocator/rosalloc.h" [all...] |