Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dthrowable.cc49 void Throwable::SetCause(ObjPtr<Throwable> cause) { in SetCause() argument
50 CHECK(cause != nullptr); in SetCause()
51 CHECK(cause != this); in SetCause()
55 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
57 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
149 ObjPtr<Throwable> cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in Dump() local
150 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. in Dump()
152 result += cause->Dump(); in Dump()
Dthrowable.h45 void SetCause(ObjPtr<Throwable> cause) REQUIRES_SHARED(Locks::mutator_lock_);
/art/test/647-jni-get-field-id/src/
DMain.java72 for (Throwable cause = t.getCause(); cause != null; cause = cause.getCause()) { in testGetFieldId()
73 System.out.println(" caused by " + DescribeThrowable(cause)); in testGetFieldId()
/art/test/086-null-super/src/
DMain.java29 public TestFailed(Throwable cause) { in TestFailed() argument
30 super(cause); in TestFailed()
154 Throwable cause = ite.getCause(); in testFailLoadAndGc()
155 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()
170 Throwable cause = ite.getCause(); in processFailLoadAndGc()
171 if (cause instanceof NullPointerException) { in processFailLoadAndGc()
/art/runtime/gc/
Dscoped_gc_critical_section.cc28 GcCause cause, in ScopedGCCriticalSection() argument
31 Runtime::Current()->GetHeap()->StartGC(self, cause, collector_type); in ScopedGCCriticalSection()
Dgc_cause.cc26 const char* PrettyCause(GcCause cause) { in PrettyCause() argument
27 switch (cause) { in PrettyCause()
Dscoped_gc_critical_section.h35 ScopedGCCriticalSection(Thread* self, GcCause cause, CollectorType collector_type)
Dgc_cause.h66 const char* PrettyCause(GcCause cause);
Dheap.cc1409 void Heap::StartGC(Thread* self, GcCause cause, CollectorType collector_type) { in StartGC() argument
1415 WaitForGcToCompleteLocked(cause, self); in StartGC()
3484 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Thread* self) { in WaitForGcToComplete() argument
3487 return WaitForGcToCompleteLocked(cause, self); in WaitForGcToComplete()
3490 collector::GcType Heap::WaitForGcToCompleteLocked(GcCause cause, Thread* self) { in WaitForGcToCompleteLocked() argument
3500 VLOG(gc) << "Waiting for a blocking GC " << cause; in WaitForGcToCompleteLocked()
3511 << " for cause " << cause; in WaitForGcToCompleteLocked()
3520 if (cause == kGcCauseForAlloc || in WaitForGcToCompleteLocked()
3521 cause == kGcCauseForNativeAlloc || in WaitForGcToCompleteLocked()
3522 cause == kGcCauseDisableMovingGc) { in WaitForGcToCompleteLocked()
[all …]
Dheap.h334 void ConcurrentGC(Thread* self, GcCause cause, bool force_full)
400 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self) REQUIRES(!*gc_complete_lock_);
747 void RequestConcurrentGC(Thread* self, GcCause cause, bool force_full)
839 void StartGC(Thread* self, GcCause cause, CollectorType collector_type)
953 collector::GcType WaitForGcToCompleteLocked(GcCause cause, Thread* self)
/art/test/008-exceptions/
Dexpected.txt23 cause: java.lang.Error: MultiDexBadInit
25 cause: java.lang.Error: MultiDexBadInit
/art/test/120-hashcode/
Dinfo.txt1 Check that object hashCode and System.identityHashCode never cause the hash to change.
/art/test/579-inline-infinite/
Dinfo.txt2 Inlining of method with infinite loop cause a crash.
/art/test/063-process-manager/
Dinfo.txt2 doesn't cause the system to busy-wait.
/art/test/801-VoidCheckCast/
Dinfo.txt4 cause the compiler to crash.
/art/test/081-hot-exceptions/
Dinfo.txt3 cause a control flow change to deviate from the current method.
/art/test/944-transform-classloaders/
Dinfo.txt7 dalvik.system.BaseDexClassLoader might cause this test to fail.
/art/test/068-classloader/src/
DMain.java187 Throwable cause = cnfe.getCause(); in testAccess2()
188 if (cause instanceof IllegalAccessError) { in testAccess2()
207 Throwable cause = cnfe.getCause(); in testAccess3()
208 if (cause instanceof IllegalAccessError) { in testAccess3()
/art/runtime/
Djni_internal.h42 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
Dthread_list.h70 void SuspendAll(const char* cause, bool long_suspend = false)
235 explicit ScopedSuspendAll(const char* cause, bool long_suspend = false)
Dthread_list.cc613 void ThreadList::SuspendAll(const char* cause, bool long_suspend) { in SuspendAll() argument
617 VLOG(threads) << *self << " SuspendAll for " << cause << " starting..."; in SuspendAll()
619 VLOG(threads) << "Thread[null] SuspendAll for " << cause << " starting..."; in SuspendAll()
659 ATRACE_BEGIN((std::string("Mutator threads suspended for ") + cause).c_str()); in SuspendAll()
1533 ScopedSuspendAll::ScopedSuspendAll(const char* cause, bool long_suspend) { in ScopedSuspendAll() argument
1534 Runtime::Current()->GetThreadList()->SuspendAll(cause, long_suspend); in ScopedSuspendAll()
Dthread.h287 const char* StartAssertNoThreadSuspension(const char* cause) ACQUIRE(Roles::uninterruptible_) { in StartAssertNoThreadSuspension() argument
290 CHECK(cause != nullptr); in StartAssertNoThreadSuspension()
293 tlsPtr_.last_no_thread_suspension_cause = cause; in StartAssertNoThreadSuspension()
1674 ALWAYS_INLINE explicit ScopedAssertNoThreadSuspension(const char* cause) in ScopedAssertNoThreadSuspension() argument
1678 old_cause_ = self_->StartAssertNoThreadSuspension(cause); in ScopedAssertNoThreadSuspension()
Dthread.cc2657 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException())); in ThrowNewWrappedException() local
2695 if (cause.get() == nullptr) { in ThrowNewWrappedException()
2701 if (cause.get() == nullptr) { in ThrowNewWrappedException()
2720 if (cause.get() != nullptr) { in ThrowNewWrappedException()
2721 exception->SetCause(DecodeJObject(cause.get())->AsThrowable()); in ThrowNewWrappedException()
2739 if (cause.get() != nullptr) { in ThrowNewWrappedException()
2740 jv_args[i].l = cause.get(); in ThrowNewWrappedException()
/art/build/
DAndroid.bp111 // clang/libunwind bugs that cause SEGVs in run-test-004-ThreadStress.

12