Lines Matching refs:self

349     Thread* self, const CompilerDriver& driver, Handle<mirror::ClassLoader> class_loader,  in GetDexToDexCompilationLevel()  argument
362 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationLevel()
364 CHECK(self->IsExceptionPending()); in GetDexToDexCompilationLevel()
365 self->ClearException(); in GetDexToDexCompilationLevel()
391 Thread* self, in GetDexToDexCompilationLevel() argument
396 ScopedObjectAccess soa(self); in GetDexToDexCompilationLevel()
400 return GetDexToDexCompilationLevel(self, driver, class_loader, dex_file, class_def); in GetDexToDexCompilationLevel()
418 Thread* self, in CompileMethodHarness() argument
435 compiled_method = compile_fn(self, in CompileMethodHarness()
459 if (self->IsExceptionPending()) { in CompileMethodHarness()
460 ScopedObjectAccess soa(self); in CompileMethodHarness()
462 << self->GetException()->Dump(); in CompileMethodHarness()
467 Thread* self, in CompileMethodDex2Dex() argument
478 auto dex_2_dex_fn = [](Thread* self ATTRIBUTE_UNUSED, in CompileMethodDex2Dex()
514 CompileMethodHarness(self, in CompileMethodDex2Dex()
529 Thread* self, in CompileMethodQuick() argument
541 Thread* self, in CompileMethodQuick()
627 driver->GetDexToDexCompiler().MarkForCompilation(self, method_ref); in CompileMethodQuick()
632 CompileMethodHarness(self, in CompileMethodQuick()
1116 Thread* self = Thread::Current(); in LoadImageClasses() local
1117 ScopedObjectAccess soa(self); in LoadImageClasses()
1122 StackHandleScope<1> hs(self); in LoadImageClasses()
1124 hs.NewHandle(class_linker->FindSystemClass(self, descriptor.c_str()))); in LoadImageClasses()
1128 self->ClearException(); in LoadImageClasses()
1138 StackHandleScope<2u> hs(self); in LoadImageClasses()
1140 hs.NewHandle(class_linker->FindSystemClass(self, "Ljava/lang/Throwable;"))); in LoadImageClasses()
1166 self->ClearException(); in LoadImageClasses()
1188 static void MaybeAddToImageClasses(Thread* self, in MaybeAddToImageClasses() argument
1192 DCHECK_EQ(self, Thread::Current()); in MaybeAddToImageClasses()
1210 ObjPtr<mirror::Class> interface = mirror::Class::GetDirectInterface(self, klass, i); in MaybeAddToImageClasses()
1212 MaybeAddToImageClasses(self, interface, image_classes); in MaybeAddToImageClasses()
1215 MaybeAddToImageClasses(self, m.GetDeclaringClass(), image_classes); in MaybeAddToImageClasses()
1218 MaybeAddToImageClasses(self, klass->GetComponentType(), image_classes); in MaybeAddToImageClasses()
1229 Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) in ClinitImageUpdate() argument
1230 : hs_(self), in ClinitImageUpdate()
1232 self_(self) { in ClinitImageUpdate()
1236 old_cause_ = self->StartAssertNoThreadSuspension("Boot image closure"); in ClinitImageUpdate()
1497 Thread* self = Thread::Current(); in ForAllLambda() local
1498 self->AssertNoPendingException(); in ForAllLambda()
1503 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn)); in ForAllLambda()
1505 thread_pool_->StartWorkers(self); in ForAllLambda()
1509 CHECK_NE(self->GetState(), kRunnable); in ForAllLambda()
1512 thread_pool_->Wait(self, true, false); in ForAllLambda()
1515 thread_pool_->StopWorkers(self); in ForAllLambda()
1531 void Run(Thread* self) override { in Run() argument
1538 self->AssertNoPendingException(); in Run()
1580 static void CheckAndClearResolveException(Thread* self) in CheckAndClearResolveException() argument
1582 CHECK(self->IsExceptionPending()); in CheckAndClearResolveException()
1583 mirror::Throwable* exception = self->GetException(); in CheckAndClearResolveException()
1607 self->ClearException(); in CheckAndClearResolveException()
1617 Thread* const self = Thread::Current(); in Visit() local
1630 ScopedObjectAccess soa(self); in Visit()
1664 hklass->IsSubClass(class_linker->FindClass(self, in Visit()
1808 Thread* self) in LoadAndUpdateStatus() argument
1810 StackHandleScope<1> hs(self); in LoadAndUpdateStatus()
1814 class_linker->FindClass(self, descriptor, class_loader))); in LoadAndUpdateStatus()
1820 ObjectLock<mirror::Class> lock(self, cls); in LoadAndUpdateStatus()
1821 mirror::Class::SetStatus(cls, status, self); in LoadAndUpdateStatus()
1827 DCHECK(self->IsExceptionPending()); in LoadAndUpdateStatus()
1828 self->ClearException(); in LoadAndUpdateStatus()
2165 Thread* self = soa.Self(); in Visit() local
2166 DCHECK(self->IsExceptionPending()); in Visit()
2167 self->ClearException(); in Visit()
2459 bool ResolveTypesOfMethods(Thread* self, ArtMethod* m) in ResolveTypesOfMethods() argument
2464 self->ClearException(); in ResolveTypesOfMethods()
2473 self->ClearException(); in ResolveTypesOfMethods()
2483 bool PreResolveTypes(Thread* self, const Handle<mirror::Class>& klass) in PreResolveTypes() argument
2487 if (!ResolveTypesOfMethods(self, &m)) { in PreResolveTypes()
2494 StackHandleScope<1> hs(self); in PreResolveTypes()
2499 if (!ResolveTypesOfMethods(self, m) || !ResolveTypesOfMethods(self, super_m)) { in PreResolveTypes()
2511 if (!ResolveTypesOfMethods(self, m) || !ResolveTypesOfMethods(self, super_m)) { in PreResolveTypes()
2526 Thread* self) in InitializeDependencies() argument
2529 StackHandleScope<1> hs(self); in InitializeDependencies()
2542 StackHandleScope<1> hs(self); in InitializeDependencies()
2553 return PreResolveTypes(self, klass); in InitializeDependencies()
2559 Thread* self, in NoClinitInDependency() argument
2570 StackHandleScope<1> hs(self); in NoClinitInDependency()
2572 if (!NoClinitInDependency(handle_scope_super, self, class_loader)) { in NoClinitInDependency()
2580 interface = mirror::Class::GetDirectInterface(self, klass.Get(), i); in NoClinitInDependency()
2581 StackHandleScope<1> hs(self); in NoClinitInDependency()
2583 if (!NoClinitInDependency(handle_interface, self, class_loader)) { in NoClinitInDependency()