Searched refs:cause (Results 1 - 15 of 15) sorted by relevance
/art/runtime/gc/ |
H A D | gc_cause.cc | 26 const char* PrettyCause(GcCause cause) { argument 27 switch (cause) {
|
H A D | gc_cause.h | 38 // Not a real GC cause, used when we disable moving GC (currently for GetPrimitiveArrayCritical). 40 // Not a real GC cause, used when we trim the heap. 46 const char* PrettyCause(GcCause cause);
|
H A D | heap.h | 321 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self) 324 // Update the heap's process state to a new value, may cause compaction to occur. 425 // There is some race conditions in the allocation code that can cause bytes allocated to 454 // spaces in turn. If fail_ok is false then failing to find a space will cause an abort. 690 collector::GcType WaitForGcToCompleteLocked(GcCause cause, Thread* self)
|
H A D | heap.cc | 969 // Deflate the monitors, this can cause a pause but shouldn't matter since we don't care 1303 // TODO: Run finalization, but this may cause more allocations to occur. 1342 // Always print that we ran homogeneous space compation since this can cause jank. 1564 // cause objects to get finalized. 1645 // cause objects to get finalized. 2111 // Back to back GCs can cause 0 ms of wait time in between GC invocations. 2777 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Thread* self) { argument 2780 return WaitForGcToCompleteLocked(cause, self); 2783 collector::GcType Heap::WaitForGcToCompleteLocked(GcCause cause, Thread* self) { argument 2797 << " for cause " << caus [all...] |
/art/runtime/mirror/ |
H A D | throwable.cc | 44 void Throwable::SetCause(Throwable* cause) { argument 45 CHECK(cause != nullptr); 46 CHECK(cause != this); 50 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); local 52 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); local 121 Throwable* cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); local 122 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. 124 result += cause [all...] |
H A D | throwable.h | 45 void SetCause(Throwable* cause) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/test/086-null-super/src/ |
H A D | Main.java | 29 public TestFailed(Throwable cause) { argument 30 super(cause); 125 * its cause. 156 Throwable cause = ite.getCause(); 157 if (cause instanceof NullPointerException) {
|
/art/test/087-gc-after-link/src/ |
H A D | Main.java | 29 public TestFailed(Throwable cause) { argument 30 super(cause); 134 * its cause. 165 Throwable cause = ite.getCause(); 166 if (cause instanceof NullPointerException) {
|
/art/runtime/native/ |
H A D | java_lang_Class.cc | 69 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); 73 javaName, cause.get()));
|
/art/test/068-classloader/src/ |
H A D | Main.java | 104 Throwable cause = cnfe.getCause(); 105 if (cause instanceof IllegalAccessError) { 124 Throwable cause = cnfe.getCause(); 125 if (cause instanceof IllegalAccessError) {
|
/art/runtime/ |
H A D | jni_internal.h | 57 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
H A D | thread.h | 229 // Once called thread suspension will cause an assertion failure. 230 const char* StartAssertNoThreadSuspension(const char* cause) { argument 232 CHECK(cause != NULL); 235 tlsPtr_.last_no_thread_suspension_cause = cause; 378 // used as the new exception's cause.
|
H A D | thread.cc | 264 // in the kernel. Any access more than a page below the current SP might cause 746 // cause ScopedObjectAccessUnchecked to deadlock. 1633 // Ignore the cause throw location. TODO: should we report this as a re-throw? 1634 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException(nullptr))); 1681 if (cause.get() == nullptr) { 1687 if (cause.get() == nullptr) { 1706 if (cause.get() != nullptr) { 1707 exception->SetCause(down_cast<mirror::Throwable*>(DecodeJObject(cause.get()))); 1728 if (cause.get() != nullptr) { 1729 jv_args[i].l = cause [all...] |
H A D | class_linker.cc | 116 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); 117 CHECK(cause.get() != nullptr); 120 bool is_error = env->IsInstanceOf(cause.get(), WellKnownClasses::java_lang_Error); 121 env->Throw(cause.get()); 2026 // RegisterDexFile may allocate dex caches (and cause thread suspension). 2245 // We failed to insert because we raced with another thread. Calling EnsureResolved may cause 3507 Handle<mirror::Throwable> cause(hs.NewHandle(self->GetException(nullptr))); 3508 if (cause.Get() != nullptr) { 3512 if (cause.Get() != nullptr) { 3513 self->GetException(nullptr)->SetCause(cause [all...] |
H A D | jni_internal.cc | 218 Handle<mirror::Throwable> cause(hs.NewHandle(soa.Self()->GetException(&throw_location))); 225 soa.Self()->GetException(nullptr)->SetCause(cause.Get()); 264 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) 275 if (msg == nullptr && cause == nullptr) { 277 } else if (msg != nullptr && cause == nullptr) { 280 } else if (msg == nullptr && cause != nullptr) { 282 args[0].l = cause; 286 args[1].l = cause; 3392 // Throwing can cause libraries_lock to be reacquired.
|
Completed in 315 milliseconds