Home
last modified time | relevance | path

Searched refs:rosalloc_ (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/space/
Drosalloc_space.cc67 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) { in RosAllocSpace()
133 delete rosalloc_; in ~RosAllocSpace()
210 rosalloc_->SetFootprintLimit(max_allowed); in AllocWithGrowth()
215 size_t footprint = rosalloc_->Footprint(); in AllocWithGrowth()
216 rosalloc_->SetFootprintLimit(footprint); in AllocWithGrowth()
269 return rosalloc_->Free(self, ptr); in Free()
299 size_t size = rosalloc_->UsableSize(ptrs[i]); in FreeList()
306 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList()
321 rosalloc_->Trim(); in Trim()
324 if (!rosalloc_->DoesReleaseAllPages()) { in Trim()
[all …]
Drosalloc_space-inl.h42 rosalloc_->Alloc<kThreadSafe>(self, num_bytes, &rosalloc_bytes_allocated, in AllocCommon()
52 DCHECK_EQ(rosalloc_usable_size, rosalloc_->UsableSize(result)); in AllocCommon()
63 return rosalloc_->CanAllocFromThreadLocalRun(self, num_bytes); in CanAllocThreadLocal()
70 rosalloc_->AllocFromThreadLocalRun(self, num_bytes, bytes_allocated)); in AllocThreadLocal()
74 return rosalloc_->MaxBytesBulkAllocatedFor(num_bytes); in MaxBytesBulkAllocatedForNonvirtual()
Drosalloc_space.h110 return rosalloc_; in GetRosAlloc()
150 rosalloc_->Verify(); in Verify()
156 rosalloc_->LogFragmentationAllocFailure(os, failed_alloc_bytes); in LogFragmentationAllocFailure()
197 allocator::RosAlloc* rosalloc_; variable