/art/runtime/native/ |
D | dalvik_system_VMStack.cc | 46 if (decoded_peer == soa.Self()->GetPeer()) { in GetThreadStack() 47 trace = fn(soa.Self(), soa); in GetThreadStack() 58 ScopedThreadSuspension sts(soa.Self(), kNative); in GetThreadStack() 68 ScopedObjectAccess soa2(soa.Self()); in GetThreadStack() 101 NthCallerVisitor visitor(soa.Self(), 2); in VMStack_getCallingClassLoader() 133 ClosestUserClassLoaderVisitor visitor(soa.Self()); in VMStack_getClosestUserClassLoader() 141 NthCallerVisitor visitor(soa.Self(), 3); in VMStack_getStackClass2()
|
D | java_lang_reflect_Field.cc | 129 soa.Self()->AssertThreadSuspensionIsAllowable(); in CheckReceiver() 133 Thread* self = soa.Self(); in CheckReceiver() 149 DCHECK(soa.Self()->IsExceptionPending()); in CheckReceiver() 160 DCHECK(soa.Self()->IsExceptionPending()); in Field_get() 164 if (!f->IsAccessible() && !VerifyFieldAccess<false>(soa.Self(), f, o)) { in Field_get() 165 DCHECK(soa.Self()->IsExceptionPending()); in Field_get() 173 DCHECK(soa.Self()->IsExceptionPending()); in Field_get() 187 DCHECK(soa.Self()->IsExceptionPending()); in GetPrimitiveField() 192 if (!f->IsAccessible() && !VerifyFieldAccess<false>(soa.Self(), f, o)) { in GetPrimitiveField() 193 DCHECK(soa.Self()->IsExceptionPending()); in GetPrimitiveField() [all …]
|
D | java_lang_reflect_Executable.cc | 50 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0); in Executable_getDeclaredAnnotationsNative() 60 StackHandleScope<1> hs(soa.Self()); in Executable_getAnnotationNative() 87 StackHandleScope<4> hs(soa.Self()); in Executable_getParameterAnnotationsNative() 117 soa.Self(), in Executable_getParameterAnnotationsNative() 121 DCHECK(soa.Self()->IsExceptionPending()); in Executable_getParameterAnnotationsNative() 133 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0)); in Executable_getParameterAnnotationsNative() 135 DCHECK(soa.Self()->IsExceptionPending()); in Executable_getParameterAnnotationsNative() 159 Thread* self = soa.Self(); in Executable_getParameters0() 263 StackHandleScope<1> hs(soa.Self()); in Executable_isAnnotationPresentNative() 334 CHECK(soa.Self()->IsExceptionPending()); in Executable_getMethodReturnTypeInternal() [all …]
|
D | java_lang_reflect_Method.cc | 62 StackHandleScope<1u> hs(soa.Self()); in Method_getExceptionTypes() 66 mirror::ObjectArray<mirror::Class>::Clone(declared_exceptions, soa.Self())); in Method_getExceptionTypes() 75 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Method_getExceptionTypes()
|
D | java_lang_VMClassLoader.cc | 85 soa.Self(), in VMClassLoader_findLoadedClass() 95 Thread* self = soa.Self(); in VMClassLoader_findLoadedClass() 113 StackHandleScope<1> hs(soa.Self()); in VMClassLoader_findLoadedClass() 116 soa.Self(), in VMClassLoader_findLoadedClass()
|
D | java_lang_reflect_Parameter.cc | 70 StackHandleScope<1> hs(soa.Self()); in Parameter_getAnnotationNative() 95 StackHandleScope<1> hs(soa.Self()); in Parameter_getAnnotationNative()
|
D | dalvik_system_VMDebug.cc | 113 soa.Self()->ThrowNewExceptionF("Ljava/lang/RuntimeException;", in VMDebug_startMethodTracingFd() 122 soa.Self()->ThrowNewExceptionF("Ljava/lang/RuntimeException;", in VMDebug_startMethodTracingFd() 183 soa.Self()->ThrowNewException("Ljava/lang/UnsupportedOperationException;", nullptr); in ThrowUnsupportedOperationException() 297 VariableSizedHandleScope hs(soa.Self()); in VMDebug_countInstancesOfClass() 316 VariableSizedHandleScope hs(soa.Self()); in VMDebug_countInstancesOfClasses() 324 ObjPtr<mirror::LongArray> long_counts = mirror::LongArray::Alloc(soa.Self(), counts.size()); in VMDebug_countInstancesOfClasses() 326 soa.Self()->AssertPendingOOMException(); in VMDebug_countInstancesOfClasses() 340 StackHandleScope<2> hs(soa.Self()); in VMDebug_getInstancesOfClasses() 364 VariableSizedHandleScope hs2(soa.Self()); in VMDebug_getInstancesOfClasses() 597 StackHandleScope<1> hs(soa.Self()); in VMDebug_allowHiddenApiReflectionFrom() [all …]
|
/art/runtime/ |
D | instrumentation_test.cc | 197 ScopedThreadSuspension sts(soa.Self(), kSuspended); in CheckConfigureStubs() 198 gc::ScopedGCCriticalSection gcs(soa.Self(), in CheckConfigureStubs() 226 ScopedThreadSuspension sts(soa.Self(), kSuspended); in TestEvent() 240 soa.Self(), in TestEvent() 250 ScopedThreadSuspension sts(soa.Self(), kSuspended); in TestEvent() 260 soa.Self(), in TestEvent() 505 StackHandleScope<1> hs(soa.Self()); in TEST_F() 507 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() 525 StackHandleScope<1> hs(soa.Self()); in TEST_F() 528 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() [all …]
|
D | indirect_reference_table_test.cc | 64 StackHandleScope<5> hs(soa.Self()); in TEST_F() 66 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 68 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 70 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 72 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 74 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 283 StackHandleScope<6> hs(soa.Self()); in TEST_F() 285 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 287 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 289 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() [all …]
|
D | reflection.cc | 458 method->Invoke(soa.Self(), args, arg_array->GetNumBytes(), result, shorty); in InvokeWithArgArray() 488 if (!arg_array.BuildArgArrayFromObjectArray(receiver, objects, np_method, soa.Self())) { in InvokeMethodImpl() 489 CHECK(soa.Self()->IsExceptionPending()); in InvokeMethodImpl() 496 if (soa.Self()->IsExceptionPending()) { in InvokeMethodImpl() 499 soa.Self()->ClearException(); in InvokeMethodImpl() 505 soa.Self()->AssertPendingException(); in InvokeMethodImpl() 525 if (UNLIKELY(__builtin_frame_address(0) < soa.Self()->GetStackEnd())) { in InvokeWithVarArgs() 526 ThrowStackOverflowError(soa.Self()); in InvokeWithVarArgs() 544 UpdateReference(soa.Self(), obj, result.GetL()); in InvokeWithVarArgs() 566 if (UNLIKELY(__builtin_frame_address(0) < soa.Self()->GetStackEnd())) { in InvokeWithJValues() [all …]
|
D | class_table_test.cc | 74 VariableSizedHandleScope hs(soa.Self()); in TEST_F() 79 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_x, class_loader))); in TEST_F() 81 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader))); in TEST_F() 82 Handle<mirror::Object> obj_X = hs.NewHandle(h_X->AllocObject(soa.Self())); in TEST_F()
|
/art/test/626-const-class-linking/ |
D | clear_dex_cache_types.cc | 38 StackHandleScope<1> hs(soa.Self()); in Java_Main_nativeSkipVerification() 42 ObjectLock<mirror::Class> lock(soa.Self(), klass); in Java_Main_nativeSkipVerification() 43 klass->SetStatus(klass, ClassStatus::kVerified, soa.Self()); in Java_Main_nativeSkipVerification() 52 StackHandleScope<1> hs(soa.Self()); in Java_Main_nativeDumpClasses()
|
/art/dex2oat/driver/ |
D | compiler_driver-inl.h | 45 DCHECK_EQ(cls == nullptr, soa.Self()->IsExceptionPending()); in ResolveClass() 48 soa.Self()->ClearException(); in ResolveClass() 72 DCHECK_EQ(resolved_field == nullptr, soa.Self()->IsExceptionPending()); in ResolveField() 75 soa.Self()->ClearException(); in ResolveField()
|
D | compiler_driver.cc | 397 StackHandleScope<1> hs(soa.Self()); in GetDexToDexCompilationLevel() 677 StackHandleScope<1> hs(soa.Self()); in ResolveConstStrings() 683 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in ResolveConstStrings() 797 StackHandleScope<1> hs(soa.Self()); in InitializeTypeCheckBitstrings() 802 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in InitializeTypeCheckBitstrings() 822 StackHandleScope<2> hs(soa.Self()); in EnsureVerifiedOrVerifyAtRuntime() 830 cls.Assign(class_linker->FindClass(soa.Self(), accessor.GetDescriptor(), class_loader)); in EnsureVerifiedOrVerifyAtRuntime() 832 soa.Self()->ClearException(); in EnsureVerifiedOrVerifyAtRuntime() 1631 StackHandleScope<5> hs(soa.Self()); in Visit() 1635 soa.Self(), dex_file))); in Visit() [all …]
|
/art/test/2012-structural-redefinition-failures-jni-id/ |
D | set-jni-id-used.cc | 41 StackHandleScope<1> hs(soa.Self()); in Java_Main_SetPointerIdsUsed() 43 ObjPtr<mirror::ClassExt> ext(h->EnsureExtDataPresent(h, soa.Self())); in Java_Main_SetPointerIdsUsed()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 42 StackHandleScope<2> hs(soa.Self()); in Java_Main_areClassesVerified() 62 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesVerified() 81 StackHandleScope<1> hs(soa.Self()); in Java_Main_hasVdexFile() 109 StackHandleScope<1> hs(soa.Self()); in Java_Main_isBackedByOatFile() 136 StackHandleScope<2> hs(soa.Self()); in Java_Main_areClassesPreverified() 156 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesPreverified()
|
/art/test/566-polymorphic-inlining/ |
D | polymorphic_inline.cc | 44 ScopedThreadSuspension sts(soa.Self(), kSuspended); in do_checks() 49 jit->CompileMethod(method, soa.Self(), CompilationKind::kOptimized, /*prejit=*/ false); in do_checks() 60 ProfilingInfo::Create(soa.Self(), method, /* retry_allocation */ true); in allocate_profiling_info()
|
/art/runtime/gc/ |
D | system_weak_test.cc | 140 StackHandleScope<1> hs(soa.Self()); in TEST_F() 143 Handle<mirror::String> s(hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F() 165 cswh.Set(GcRoot<mirror::Object>(mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F() 185 StackHandleScope<1> hs(soa.Self()); in TEST_F() 188 Handle<mirror::String> s(hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 70 soa.Self()->AssertThreadSuspensionIsAllowable(); in InvokeProxyInvocationHandler() 78 CHECK(soa.Self()->IsExceptionPending()); in InvokeProxyInvocationHandler() 90 CHECK(soa.Self()->IsExceptionPending()); in InvokeProxyInvocationHandler() 109 if (LIKELY(!soa.Self()->IsExceptionPending())) { in InvokeProxyInvocationHandler() 121 DCHECK(soa.Self()->IsExceptionPending()); in InvokeProxyInvocationHandler() 129 ObjPtr<mirror::Throwable> exception = soa.Self()->GetException(); in InvokeProxyInvocationHandler() 156 soa.Self()->ThrowNewWrappedException("Ljava/lang/reflect/UndeclaredThrowableException;", in InvokeProxyInvocationHandler() 282 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
|
/art/runtime/jni/ |
D | jni_internal.cc | 214 soa.Self()->ThrowNewExceptionF("Ljava/lang/NoSuchMethodError;", in ReportInvalidJNINativeMethod() 230 ArtMethod* method = soa.Self()->GetCurrentMethod(nullptr); in GetClassLoader() 234 return soa.Decode<mirror::ClassLoader>(soa.Self()->GetClassLoaderOverride()); in GetClassLoader() 247 class_loader = soa.Decode<mirror::ClassLoader>(soa.Self()->GetClassLoaderOverride()); in GetClassLoader() 273 soa.Self()->ThrowNewExceptionF("Ljava/lang/ArrayIndexOutOfBoundsException;", in ThrowAIOOBE() 281 soa.Self()->ThrowNewExceptionF("Ljava/lang/StringIndexOutOfBoundsException;", in ThrowSIOOBE() 293 soa.Self()->ThrowNewExceptionF("Ljava/lang/NoSuchMethodError;", in ThrowNoSuchMethodError() 319 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)); in FindMethodJNI() 330 if (method != nullptr && ShouldDenyAccessToMember(method, soa.Self())) { in FindMethodJNI() 345 StackHandleScope<2> hs(soa.Self()); in FindFieldJNI() [all …]
|
/art/test/common/ |
D | stack_inspect.cc | 48 NthCallerVisitor caller(soa.Self(), level, false); in IsInterpreted() 119 if (!IsMethodInterpreted(soa.Self(), goal, require_deoptimizable, &is_interpreted)) { in Java_Main_isInterpretedFunction() 139 NthCallerVisitor caller(soa.Self(), level, false); in IsManaged() 204 soa.Self(), in Java_Main_getThisOfCaller()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 217 StackHandleScope<2> scope(soa.Self()); in ExecuteWithRuntime() 239 h_klass.Assign(class_linker->FindClass(soa.Self(), descriptor, h_loader)); in ExecuteWithRuntime() 244 soa.Self()->ClearException(); in ExecuteWithRuntime() 249 verifier::ClassVerifier::VerifyClass(soa.Self(), in ExecuteWithRuntime()
|
/art/compiler/optimizing/ |
D | reference_type_propagation_test.cc | 79 VariableSizedHandleScope handles(soa.Self()); in TEST_F() 88 VariableSizedHandleScope handles(soa.Self()); in TEST_F() 120 VariableSizedHandleScope handles(soa.Self()); in TEST_F()
|
/art/libartbase/base/ |
D | safe_map.h | 34 typedef SafeMap<K, V, Comparator, Allocator> Self; typedef 53 Self& operator=(const Self& rhs) { 70 void swap(Self& other) { map_.swap(other.map_); } in swap() 157 bool Equals(const Self& rhs) const { in Equals()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 354 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_SetThreadPriority() 374 return soa.AddLocalReference<jobject>(soa.Self()->GetPeer()); in JVM_CurrentThread() 379 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_Interrupt() 382 thread->Interrupt(soa.Self()); in JVM_Interrupt() 391 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_IsInterrupted() 404 return soa.Self()->HoldsLock(object); in JVM_HoldsLock() 411 if (soa.Decode<art::mirror::Object>(jthread) == soa.Self()->GetPeer()) { in JVM_SetNativeThreadName() 412 soa.Self()->SetThreadName(name.c_str()); in JVM_SetNativeThreadName()
|