Searched refs:rosalloc_ (Results 1 – 3 of 3) sorted by relevance
50 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { in RosAllocSpace()85 delete rosalloc_; in ~RosAllocSpace()153 rosalloc_->SetFootprintLimit(max_allowed); in AllocWithGrowth()157 size_t footprint = rosalloc_->Footprint(); in AllocWithGrowth()158 rosalloc_->SetFootprintLimit(footprint); in AllocWithGrowth()183 return rosalloc_->Free(self, ptr); in Free()213 size_t size = rosalloc_->UsableSize(ptrs[i]); in FreeList()220 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList()241 rosalloc_->Trim(); in Trim()244 if (!rosalloc_->DoesReleaseAllPages()) { in Trim()[all …]
33 size_t size_by_size = rosalloc_->UsableSize(size); in AllocationSizeNonvirtual()35 size_t size_by_ptr = rosalloc_->UsableSize(obj_ptr); in AllocationSizeNonvirtual()57 rosalloc_->Alloc<kThreadSafe>(self, num_bytes, &rosalloc_size)); in AllocCommon()65 DCHECK_EQ(rosalloc_size, rosalloc_->UsableSize(result)); in AllocCommon()
84 return rosalloc_; in GetRosAlloc()118 rosalloc_->Verify(); in Verify()124 rosalloc_->LogFragmentationAllocFailure(os, failed_alloc_bytes); in LogFragmentationAllocFailure()153 allocator::RosAlloc* rosalloc_; variable