Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 19 of 19) sorted by relevance

/art/runtime/mirror/
Dthrowable.cc44 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()
Dthrowable.h45 void SetCause(Throwable* cause) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/test/086-null-super/src/
DMain.java29 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/
DMain.java29 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/
Dgc_cause.cc26 const char* PrettyCause(GcCause cause) { in PrettyCause() argument
27 switch (cause) { in PrettyCause()
Dgc_cause.h46 const char* PrettyCause(GcCause cause);
Dheap.h321 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self)
690 collector::GcType WaitForGcToCompleteLocked(GcCause cause, Thread* self)
Dheap.cc2842 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/
DMain.java104 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/
Dinfo.txt1 Check that object hashCode and System.identityHashCode never cause the hash to change.
/art/test/063-process-manager/
Dinfo.txt2 doesn't cause the system to busy-wait.
/art/runtime/native/
Djava_lang_Class.cc69 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); in Class_classForName() local
73 javaName, cause.get())); in Class_classForName()
/art/test/081-hot-exceptions/
Dinfo.txt3 cause a control flow change to deviate from the current method.
/art/runtime/
Djni_internal.h57 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
Dthread.h230 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()
Dthread.cc1671 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()
Djni_internal.cc218 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()
Dclass_linker.cc117 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/
DNOTICE31 "control" means (i) the power, direct or indirect, to cause the
110 (b) You must cause any modified files to carry prominent notices