Lines Matching refs:bytes_allocated
66 size_t bytes_allocated;
83 bytes_allocated = byte_count;
84 usable_size = bytes_allocated;
88 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated,
92 obj = AllocateInternalWithGc(self, allocator, byte_count, &bytes_allocated, &usable_size,
105 DCHECK_GT(bytes_allocated, 0u);
128 static_cast<size_t>(num_bytes_allocated_.FetchAndAddSequentiallyConsistent(bytes_allocated))
129 + bytes_allocated;
139 thread_stats->allocated_bytes += bytes_allocated;
142 global_stats->allocated_bytes += bytes_allocated;
152 Dbg::RecordAllocation(klass, bytes_allocated);
196 size_t alloc_size, size_t* bytes_allocated,
209 *bytes_allocated = alloc_size;
217 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size);
220 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size);
227 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size);
230 ret = dlmalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size);
235 ret = non_moving_space_->Alloc(self, alloc_size, bytes_allocated, usable_size);
239 ret = large_object_space_->Alloc(self, alloc_size, bytes_allocated, usable_size);
258 *bytes_allocated = new_tlab_size;
260 *bytes_allocated = 0;