Lines Matching refs:self

421   Thread* self = Thread::Current();
423 MutexLock mu(self, compiled_classes_lock_);
427 MutexLock mu(self, compiled_methods_lock_);
431 MutexLock mu(self, compiled_methods_lock_);
435 MutexLock mu(self, compiled_methods_lock_);
439 MutexLock mu(self, compiled_methods_lock_);
519 Thread* self, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file,
523 mirror::Class* klass = class_linker->FindClass(self, descriptor, class_loader);
525 CHECK(self->IsExceptionPending());
526 self->ClearException();
550 Thread* self = Thread::Current();
558 ScopedObjectAccessUnchecked soa(self);
568 self->TransitionFromRunnableToSuspended(kNative);
584 dex_to_dex_compilation_level = GetDexToDexCompilationlevel(self, class_loader, *dex_file,
590 self->GetJniEnv()->DeleteGlobalRef(jclass_loader);
592 self->TransitionFromSuspendedToRunnable();
704 Thread* self = Thread::Current();
705 ScopedObjectAccess soa(self);
710 StackHandleScope<1> hs(self);
712 hs.NewHandle(class_linker->FindSystemClass(self, descriptor.c_str())));
716 self->ClearException();
726 StackHandleScope<1> hs(self);
728 hs.NewHandle(class_linker->FindSystemClass(self, "Ljava/lang/Throwable;")));
736 StackHandleScope<2> hs(self);
762 Thread* self = Thread::Current();
763 StackHandleScope<1> hs(self);
775 StackHandleScope<1> hs(self);
776 MaybeAddToImageClasses(hs.NewHandle(mirror::Class::GetDirectInterface(self, klass, i)),
780 StackHandleScope<1> hs(self);
799 Thread* self = Thread::Current();
800 const char* old_cause = self->StartAssertNoThreadSuspension("ImageWriter");
804 WriterMutexLock mu(self, *Locks::heap_bitmap_lock_);
806 self->EndAssertNoThreadSuspension(old_cause);
1401 Thread* self = Thread::Current();
1402 self->AssertNoPendingException();
1407 thread_pool_->AddTask(self, new ForAllClosure(this, end, callback));
1409 thread_pool_->StartWorkers(self);
1413 CHECK_NE(self->GetState(), kRunnable);
1416 thread_pool_->Wait(self, true, false);
1431 virtual void Run(Thread* self) {
1438 self->AssertNoPendingException();
1480 static void CheckAndClearResolveException(Thread* self)
1482 CHECK(self->IsExceptionPending());
1483 mirror::Throwable* exception = self->GetException(nullptr);
1504 self->ClearException();
1511 Thread* self = Thread::Current();
1529 ScopedObjectAccess soa(self);
1610 manager->GetCompiler()->AddRequiresConstructorBarrier(self, &dex_file, class_def_index);
1762 Thread* self = soa.Self();
1763 DCHECK(self->IsExceptionPending());
1764 self->ClearException();
2041 Thread* self = Thread::Current();
2046 MutexLock mu(self, compiled_methods_lock_);
2052 if (self->IsExceptionPending()) {
2053 ScopedObjectAccess soa(self);
2055 << self->GetException(nullptr)->Dump();
2105 void CompilerDriver::AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file,
2107 WriterMutexLock mu(self, freezing_constructor_lock_);
2111 bool CompilerDriver::RequiresConstructorBarrier(Thread* self, const DexFile* dex_file,
2113 ReaderMutexLock mu(self, freezing_constructor_lock_);