Lines Matching refs:bytes_allocated
69 size_t bytes_allocated; in AllocObjectWithAllocator() local
87 bytes_allocated = byte_count; in AllocObjectWithAllocator()
88 usable_size = bytes_allocated; in AllocObjectWithAllocator()
92 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) && in AllocObjectWithAllocator()
102 usable_size = bytes_allocated; in AllocObjectWithAllocator()
108 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, in AllocObjectWithAllocator()
112 obj = AllocateInternalWithGc(self, allocator, byte_count, &bytes_allocated, &usable_size, in AllocObjectWithAllocator()
125 DCHECK_GT(bytes_allocated, 0u); in AllocObjectWithAllocator()
159 thread_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
162 global_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
172 Dbg::RecordAllocation(self, klass, bytes_allocated); in AllocObjectWithAllocator()
223 size_t alloc_size, size_t* bytes_allocated, in TryToAllocate() argument
238 *bytes_allocated = alloc_size; in TryToAllocate()
252 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
265 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
273 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
277 ret = dlmalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
283 ret = non_moving_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
288 ret = large_object_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
315 *bytes_allocated = alloc_size; in TryToAllocate()
322 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
336 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
345 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
356 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
369 *bytes_allocated = alloc_size; in TryToAllocate()