Home
last modified time | relevance | path

Searched refs:Self (Results 101 – 125 of 133) sorted by relevance

123456

/art/runtime/jit/
Djit.cc777 klass_ = soa.Vm()->AddGlobalRef(soa.Self(), method_->GetDeclaringClass()); in JitCompileTask()
785 soa.Vm()->DeleteGlobalRef(soa.Self(), klass_); in ~JitCompileTask()
980 StackHandleScope<1> hs(soa.Self()); in JitProfileTask()
991 class_loader_ = soa.Vm()->AddGlobalRef(soa.Self(), h_loader.Get()); in JitProfileTask()
1026 soa.Vm()->DeleteGlobalRef(soa.Self(), class_loader_); in ~JitProfileTask()
Dprofile_saver.cc348 VariableSizedHandleScope hs(soa.Self()); in SampleClassesAndExecutedMethods()
359 ReaderMutexLock mu(soa.Self(), *Locks::classlinker_classes_lock_); in SampleClassesAndExecutedMethods()
/art/runtime/
Dcommon_runtime_test.cc149 runtime_->RunRootClinits(soa.Self()); in FinalizeSetup()
184 StackHandleScope<1> hs(soa.Self()); in GetDexFiles()
Dthread_list.cc912 bool updated = suspended_thread->ModifySuspendCount(soa.Self(), in SuspendThreadByPeer()
975 bool updated = suspended_thread->ModifySuspendCount(soa.Self(), in SuspendThreadByPeer()
1084 bool updated = thread->ModifySuspendCount(soa.Self(), -1, nullptr, reason); in SuspendThreadByThreadId()
Doat_file_manager.cc696 CHECK(soa.Self()->IsExceptionPending()); in Run()
697 soa.Self()->ClearException(); in Run()
Doat_file_assistant_test.cc1268 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1271 hs.NewHandle(linker->FindSystemClass(soa.Self(), "Ldalvik/system/DexFile;"))); in TEST_F()
1273 linker->EnsureInitialized(soa.Self(), dexfile, true, true); in TEST_F()
1277 soa.Self(), dexfile.Get(), field.second, "I"); in TEST_F()
Dstring_builder_append.cc266 hs_.Self()->ThrowNewException("Ljava/lang/OutOfMemoryError;", in CalculateLengthWithFlag()
Dclass_loader_context.cc1014 StackHandleScope<1> hs(soa.Self()); in CollectDexFilesFromSupportedClassLoader()
1185 StackHandleScope<2> hs(soa.Self()); in CreateContextForClassLoader()
1207 StackHandleScope<1> hs(soa.Self()); in EncodeClassPathContextsForClassLoader()
Dclass_linker-inl.h385 if (hs.Self()->IsExceptionPending()) { in ResolveMethod()
Dcommon_throws.cc834 stack_state_val.reset(soa.Self()->CreateInternalStackTrace(soa)); in ThrowStackOverflowError()
Dclass_linker.cc2167 ScopedAssertNoThreadSuspension sants("Checking app image", soa.Self()); in AddImageSpace()
2904 return !soa.Self()->IsExceptionPending(); in FindClassInBaseDexClassLoader()
3017 ObjPtr<mirror::Class> klass = DefineClass(soa.Self(), in FindClassInBaseDexClassLoaderClassPath()
3024 CHECK(soa.Self()->IsExceptionPending()) << descriptor; in FindClassInBaseDexClassLoaderClassPath()
3025 FilterDexFileCaughtExceptions(soa.Self(), this); in FindClassInBaseDexClassLoaderClassPath()
3028 DCHECK(!soa.Self()->IsExceptionPending()); in FindClassInBaseDexClassLoaderClassPath()
5029 Thread* self = soa.Self(); in CreateProxyClass()
9566 ReaderMutexLock mu(soa.Self(), *Locks::classlinker_classes_lock_); in DumpForSigQuit()
9569 ReaderMutexLock mu2(soa.Self(), *Locks::dex_lock_); in DumpForSigQuit()
9574 ObjPtr<mirror::ClassLoader>::DownCast(soa.Self()->DecodeJObject(class_loader.weak_root)); in DumpForSigQuit()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime_test.cc893 StackHandleScope<1> hs(soa.Self()); in TEST_F()
896 ObjPtr<mirror::Class> c = class_linker_->FindClass(soa.Self(), "LNested$1;", loader); in TEST_F()
916 class_linker_->FindClass(soa.Self(), "LNested;", loader))); in TEST_F()
918 class_linker_->FindClass(soa.Self(), "LNested$Inner;", loader))); in TEST_F()
920 class_linker_->FindClass(soa.Self(), "LNested$1;", loader))); in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc847 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), interface_method); in artQuickProxyInvokeHandler()
849 soa.Self()->AssertPendingOOMException(); in artQuickProxyInvokeHandler()
858 instr->MethodEnterEvent(soa.Self(), in artQuickProxyInvokeHandler()
862 if (soa.Self()->IsExceptionPending()) { in artQuickProxyInvokeHandler()
871 if (soa.Self()->IsExceptionPending()) { in artQuickProxyInvokeHandler()
1365 StackHandleScope<1> hs(soa.Self()); in artQuickResolutionTrampoline()
1367 success = linker->EnsureInitialized(soa.Self(), h_called_class, true, true); in artQuickResolutionTrampoline()
/art/compiler/optimizing/
Dinstruction_builder.cc852 soa.Self()->ClearException(); in ResolveMethod()
855 DCHECK(!soa.Self()->IsExceptionPending()); in ResolveMethod()
1915 DCHECK_EQ(resolved_field == nullptr, soa.Self()->IsExceptionPending()) in ResolveField()
1919 << (soa.Self()->IsExceptionPending() ? soa.Self()->GetException()->Dump() : "null"); in ResolveField()
1922 soa.Self()->ClearException(); in ResolveField()
1953 StackArtFieldHandleScope<1> rhs(soa.Self()); in ResolveField()
1957 soa.Self()->ClearException(); in ResolveField()
2296 DCHECK_EQ(klass == nullptr, soa.Self()->IsExceptionPending()); in ResolveClass()
2297 soa.Self()->ClearException(); // Clean up the exception left by type resolution if any. in ResolveClass()
Dreference_type_propagation.cc556 ObjPtr<mirror::DexCache> dex_cache = FindDexCacheWithHint(soa.Self(), dex_file, hint_dex_cache_); in UpdateReferenceTypeInfo()
/art/profman/
Dprofile_assistant_test.cc303 StackHandleScope<1> hs(soa.Self()); in GetClass()
305 ObjPtr<mirror::ClassLoader>::DownCast(soa.Self()->DecodeJObject(class_loader)))); in GetClass()
306 return class_linker->FindClass(soa.Self(), clazz.c_str(), h_loader); in GetClass()
1027 StackHandleScope<3> hs(soa.Self()); in TEST_F()
/art/dex2oat/
Ddex2oat.cc765 ScopedObjectAccess soa(hs_->Self()); in ~ThreadLocalHashOverride()
2009 soa.Self(), in CompileDexFilesIndividually()
2011 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), class_loader); in CompileDexFilesIndividually()
2175 soa.Self()->AssertPendingException(); in CompileDexFiles()
2177 << soa.Self()->GetException()->Dump(); in CompileDexFiles()
3136 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef()
/art/dex2oat/linker/
Dimage_test.h159 class_linker->AppendToBootClassPath(soa.Self(), dex_file.get()); in DoCompile()
Doat_writer_test.cc481 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), in TEST_F()
/art/test/common/
Druntime_state.cc88 mirror::String::AllocFromModifiedUtf8(soa.Self(), filter.c_str())); in Java_Main_getCompilerFilter()
/art/runtime/native/
Dsun_misc_Unsafe.cc239 soa.Self()->ThrowOutOfMemoryError("native alloc"); in Unsafe_allocateMemory()
528 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in Unsafe_unpark()
/art/runtime/jni/
Djava_vm_ext.cc645 ScopedThreadSuspension sts(soa.Self(), ThreadState::kNative); in CheckGlobalRefAllocationTracking()
655 ScopedThreadSuspension sts(soa.Self(), ThreadState::kNative); in CheckGlobalRefAllocationTracking()
/art/openjdkjvmti/
Dti_method.cc367 } else if (soa.Self()->IsExceptionPending()) { in GetMethodName()
369 soa.Self()->ClearException(); in GetMethodName()
Devents.cc357 AllocationManager::Get()->EnableAllocationCallback(soa.Self()); in SetupObjectAllocationTracking()
359 AllocationManager::Get()->DisableAllocationCallback(soa.Self()); in SetupObjectAllocationTracking()
/art/adbconnection/
Dadbconnection.cc275 ScopedLocalRef<jobject> thr(soa.Env(), CreateAdbConnectionThread(soa.Self())); in StartDebuggerThreads()

123456