Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dthrowable.cc50 void Throwable::SetCause(ObjPtr<Throwable> cause) { in SetCause() argument
51 CHECK(cause != nullptr); in SetCause()
52 CHECK(cause != this); in SetCause()
56 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
58 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
150 ObjPtr<Throwable> cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in Dump() local
151 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. in Dump()
153 result += cause->Dump(); in Dump()
Dthrowable.h44 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.h70 const char* PrettyCause(GcCause cause);
Dheap.cc1322 void Heap::StartGC(Thread* self, GcCause cause, CollectorType collector_type) { in StartGC() argument
1328 WaitForGcToCompleteLocked(cause, self); in StartGC()
1330 last_gc_cause_ = cause; in StartGC()
3336 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Thread* self) { in WaitForGcToComplete() argument
3339 return WaitForGcToCompleteLocked(cause, self); in WaitForGcToComplete()
3342 collector::GcType Heap::WaitForGcToCompleteLocked(GcCause cause, Thread* self) { in WaitForGcToCompleteLocked() argument
3353 VLOG(gc) << "Waiting for a blocking GC " << cause; in WaitForGcToCompleteLocked()
3364 LOG(INFO) << "WaitForGcToComplete blocked " << cause << " on " << last_gc_cause << " for " in WaitForGcToCompleteLocked()
3374 if (cause == kGcCauseForAlloc || in WaitForGcToCompleteLocked()
3375 cause == kGcCauseForNativeAlloc || in WaitForGcToCompleteLocked()
[all …]
Dheap.h333 void ConcurrentGC(Thread* self, GcCause cause, bool force_full)
399 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self) REQUIRES(!*gc_complete_lock_);
746 void RequestConcurrentGC(Thread* self, GcCause cause, bool force_full)
838 void StartGC(Thread* self, GcCause cause, CollectorType collector_type)
952 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/runtime/
Djni_internal.h33 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
Dthread_list.h74 void SuspendAll(const char* cause, bool long_suspend = false)
246 explicit ScopedSuspendAll(const char* cause, bool long_suspend = false)
Dthread_list.cc629 void ThreadList::SuspendAll(const char* cause, bool long_suspend) { in SuspendAll() argument
633 VLOG(threads) << *self << " SuspendAll for " << cause << " starting..."; in SuspendAll()
635 VLOG(threads) << "Thread[null] SuspendAll for " << cause << " starting..."; in SuspendAll()
675 ATRACE_BEGIN((std::string("Mutator threads suspended for ") + cause).c_str()); in SuspendAll()
1558 ScopedSuspendAll::ScopedSuspendAll(const char* cause, bool long_suspend) { in ScopedSuspendAll() argument
1559 Runtime::Current()->GetThreadList()->SuspendAll(cause, long_suspend); in ScopedSuspendAll()
Dthread.h296 const char* StartAssertNoThreadSuspension(const char* cause) ACQUIRE(Roles::uninterruptible_) { in StartAssertNoThreadSuspension() argument
299 CHECK(cause != nullptr); in StartAssertNoThreadSuspension()
302 tlsPtr_.last_no_thread_suspension_cause = cause; in StartAssertNoThreadSuspension()
1707 ALWAYS_INLINE explicit ScopedAssertNoThreadSuspension(const char* cause) in ScopedAssertNoThreadSuspension() argument
1711 old_cause_ = self_->StartAssertNoThreadSuspension(cause); in ScopedAssertNoThreadSuspension()
/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/test/998-redefine-use-after-free/
Dinfo.txt9 Hitting this use-after-free can cause many strange outcomes, from CHECK failures
/art/build/
DAndroid.bp100 // clang/libunwind bugs that cause SEGVs in run-test-004-ThreadStress.

12