Lines Matching refs:klass
39 inline mirror::Object* Heap::AllocObjectWithAllocator(Thread* self, mirror::Class* klass, in AllocObjectWithAllocator() argument
43 CheckPreconditionsForAllocObject(klass, byte_count); in AllocObjectWithAllocator()
51 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) { in AllocObjectWithAllocator()
52 return AllocLargeObject<kInstrumented, PreFenceVisitor>(self, klass, byte_count, in AllocObjectWithAllocator()
67 obj->SetClass(klass); in AllocObjectWithAllocator()
84 &klass); in AllocObjectWithAllocator()
91 return AllocObject<kInstrumented>(self, klass, byte_count, pre_fence_visitor); in AllocObjectWithAllocator()
98 obj->SetClass(klass); in AllocObjectWithAllocator()
115 WriteBarrierField(obj, mirror::Object::ClassOffset(), klass); in AllocObjectWithAllocator()
143 Dbg::RecordAllocation(klass, bytes_allocated); in AllocObjectWithAllocator()
174 inline mirror::Object* Heap::AllocLargeObject(Thread* self, mirror::Class* klass, in AllocLargeObject() argument
177 return AllocObjectWithAllocator<kInstrumented, false, PreFenceVisitor>(self, klass, byte_count, in AllocLargeObject()