Lines Matching defs:byte_count
43 size_t byte_count,
47 CheckPreconditionsForAllocObject(klass, byte_count);
56 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) {
57 obj = AllocLargeObject<kInstrumented, PreFenceVisitor>(self, &klass, byte_count,
74 byte_count = RoundUp(byte_count, space::BumpPointerSpace::kAlignment);
78 byte_count <= self->TlabSize()) {
79 obj = self->AllocTlab(byte_count);
88 bytes_allocated = byte_count;
93 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) &&
109 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated,
117 byte_count,
129 byte_count,
225 size_t byte_count,
230 return AllocObjectWithAllocator<kInstrumented, false, PreFenceVisitor>(self, *klass, byte_count,
398 inline bool Heap::ShouldAllocLargeObject(mirror::Class* c, size_t byte_count) const {
403 return byte_count >= large_object_threshold_ && (c->IsPrimitiveArray() || c->IsStringClass());