Lines Matching refs:self

56   ObjPtr<mirror::Class> GetByteArrayClass(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) {  in GetByteArrayClass()  argument
59 Runtime::Current()->GetClassLinker()->FindSystemClass(self, "[B"); in GetByteArrayClass()
61 byte_array_class_ = self->GetJniEnv()->NewLocalRef(byte_array_class.Ptr()); in GetByteArrayClass()
64 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
68 Thread* self, in Alloc() argument
74 StackHandleScope<1> hs(self); in Alloc()
75 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self))); in Alloc()
76 mirror::Object* obj = alloc_space->Alloc(self, in Alloc()
88 Thread* self, in AllocWithGrowth() argument
94 StackHandleScope<1> hs(self); in AllocWithGrowth()
95 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self))); in AllocWithGrowth()
96 mirror::Object* obj = alloc_space->AllocWithGrowth(self, bytes, bytes_allocated, usable_size, in AllocWithGrowth()
173 Thread* self = Thread::Current(); in SizeFootPrintGrowthLimitAndTrimBody() local
174 ScopedObjectAccess soa(self); in SizeFootPrintGrowthLimitAndTrimBody()
196 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr, in SizeFootPrintGrowthLimitAndTrimBody()
199 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr, in SizeFootPrintGrowthLimitAndTrimBody()
240 ScopedThreadStateChange tsc(self, kNative); in SizeFootPrintGrowthLimitAndTrimBody()
269 space->Free(self, object); in SizeFootPrintGrowthLimitAndTrimBody()
294 large_object.Assign(Alloc(space, self, three_quarters_space, &bytes_allocated, nullptr, in SizeFootPrintGrowthLimitAndTrimBody()
297 large_object.Assign(AllocWithGrowth(space, self, three_quarters_space, &bytes_allocated, in SizeFootPrintGrowthLimitAndTrimBody()
309 space->Free(self, large_object.Assign(nullptr)); in SizeFootPrintGrowthLimitAndTrimBody()