Lines Matching refs:byte_count
557 mirror::Object* Heap::AllocObject(Thread* self, mirror::Class* c, size_t byte_count) {
558 DCHECK(c == NULL || (c->IsClassClass() && byte_count >= sizeof(mirror::Class)) ||
559 (c->IsVariableSize() || c->GetObjectSize() == byte_count) ||
561 DCHECK_GE(byte_count, sizeof(mirror::Object));
575 byte_count >= large_object_threshold_ && have_zygote_space_ && c->IsPrimitiveArray();
577 obj = Allocate(self, large_object_space_, byte_count, &bytes_allocated);
584 obj = Allocate(self, alloc_space_, byte_count, &bytes_allocated);
597 Dbg::RecordAllocation(c, byte_count);
616 oss << "Failed to allocate a " << byte_count << " byte allocation with " << total_bytes_free
619 if (!large_object_allocation && total_bytes_free >= byte_count) {