/art/runtime/mirror/ |
D | throwable.cc | 44 void Throwable::SetCause(Throwable* cause) { in SetCause() argument 45 CHECK(cause != nullptr); in SetCause() 46 CHECK(cause != this); in SetCause() 50 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause() 52 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause() 121 Throwable* cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in Dump() local 122 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. in Dump() 124 result += cause->Dump(); in Dump()
|
D | throwable.h | 45 void SetCause(Throwable* cause) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/test/086-null-super/src/ |
D | Main.java | 29 public TestFailed(Throwable cause) { in TestFailed() argument 30 super(cause); in TestFailed() 156 Throwable cause = ite.getCause(); in testFailLoadAndGc() 157 if (cause instanceof NullPointerException) { in testFailLoadAndGc()
|
/art/test/087-gc-after-link/src/ |
D | Main.java | 29 public TestFailed(Throwable cause) { in TestFailed() argument 30 super(cause); in TestFailed() 165 Throwable cause = ite.getCause(); in testFailLoadAndGc() 166 if (cause instanceof NullPointerException) { in testFailLoadAndGc()
|
/art/runtime/gc/ |
D | gc_cause.cc | 26 const char* PrettyCause(GcCause cause) { in PrettyCause() argument 27 switch (cause) { in PrettyCause()
|
D | gc_cause.h | 46 const char* PrettyCause(GcCause cause);
|
D | heap.h | 321 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self) 690 collector::GcType WaitForGcToCompleteLocked(GcCause cause, Thread* self)
|
D | heap.cc | 2842 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Thread* self) { in WaitForGcToComplete() argument 2845 return WaitForGcToCompleteLocked(cause, self); in WaitForGcToComplete() 2848 collector::GcType Heap::WaitForGcToCompleteLocked(GcCause cause, Thread* self) { in WaitForGcToCompleteLocked() argument 2862 << " for cause " << cause; in WaitForGcToCompleteLocked()
|
/art/test/068-classloader/src/ |
D | Main.java | 104 Throwable cause = cnfe.getCause(); in testAccess2() 105 if (cause instanceof IllegalAccessError) { in testAccess2() 124 Throwable cause = cnfe.getCause(); in testAccess3() 125 if (cause instanceof IllegalAccessError) { in testAccess3()
|
/art/test/120-hashcode/ |
D | info.txt | 1 Check that object hashCode and System.identityHashCode never cause the hash to change.
|
/art/test/063-process-manager/ |
D | info.txt | 2 doesn't cause the system to busy-wait.
|
/art/runtime/native/ |
D | java_lang_Class.cc | 69 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); in Class_classForName() local 73 javaName, cause.get())); in Class_classForName()
|
/art/test/081-hot-exceptions/ |
D | info.txt | 3 cause a control flow change to deviate from the current method.
|
/art/runtime/ |
D | jni_internal.h | 57 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
D | thread.h | 230 const char* StartAssertNoThreadSuspension(const char* cause) { in StartAssertNoThreadSuspension() argument 232 CHECK(cause != NULL); in StartAssertNoThreadSuspension() 235 tlsPtr_.last_no_thread_suspension_cause = cause; in StartAssertNoThreadSuspension()
|
D | thread.cc | 1671 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException(nullptr))); in ThrowNewWrappedException() local 1718 if (cause.get() == nullptr) { in ThrowNewWrappedException() 1724 if (cause.get() == nullptr) { in ThrowNewWrappedException() 1743 if (cause.get() != nullptr) { in ThrowNewWrappedException() 1744 exception->SetCause(down_cast<mirror::Throwable*>(DecodeJObject(cause.get()))); in ThrowNewWrappedException() 1765 if (cause.get() != nullptr) { in ThrowNewWrappedException() 1766 jv_args[i].l = cause.get(); in ThrowNewWrappedException()
|
D | jni_internal.cc | 218 Handle<mirror::Throwable> cause(hs.NewHandle(soa.Self()->GetException(&throw_location))); in FindFieldID() local 225 soa.Self()->GetException(nullptr)->SetCause(cause.Get()); in FindFieldID() 264 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) in ThrowNewException() argument 275 if (msg == nullptr && cause == nullptr) { in ThrowNewException() 277 } else if (msg != nullptr && cause == nullptr) { in ThrowNewException() 280 } else if (msg == nullptr && cause != nullptr) { in ThrowNewException() 282 args[0].l = cause; in ThrowNewException() 286 args[1].l = cause; in ThrowNewException()
|
D | class_linker.cc | 117 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); in WrapExceptionInInitializer() local 118 CHECK(cause.get() != nullptr); in WrapExceptionInInitializer() 121 bool is_error = env->IsInstanceOf(cause.get(), WellKnownClasses::java_lang_Error); in WrapExceptionInInitializer() 122 env->Throw(cause.get()); in WrapExceptionInInitializer() 3556 Handle<mirror::Throwable> cause(hs.NewHandle(self->GetException(nullptr))); in VerifyClass() local 3557 if (cause.Get() != nullptr) { in VerifyClass() 3561 if (cause.Get() != nullptr) { in VerifyClass() 3562 self->GetException(nullptr)->SetCause(cause.Get()); in VerifyClass() 5658 Handle<mirror::Throwable> cause(hs.NewHandle(self->GetException(nullptr))); in ResolveType() local 5659 if (cause->InstanceOf(GetClassRoot(kJavaLangClassNotFoundException))) { in ResolveType() [all …]
|
/art/ |
D | NOTICE | 31 "control" means (i) the power, direct or indirect, to cause the 110 (b) You must cause any modified files to carry prominent notices
|