/art/runtime/gc/ |
H A D | gc_cause.cc | 26 const char* PrettyCause(GcCause cause) { argument 27 switch (cause) {
|
H A D | scoped_gc_critical_section.cc | 28 GcCause cause, 31 Runtime::Current()->GetHeap()->StartGC(self, cause, collector_type); 27 ScopedGCCriticalSection(Thread* self, GcCause cause, CollectorType collector_type) argument
|
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. 42 // Not a real GC cause, used to implement exclusion between GC and instrumentation. 44 // Not a real GC cause, used to add or remove app image spaces. 48 // Class linker cause, used to guard filling art methods with special values. 50 // Not a real GC cause, used to implement exclusion between code cache metadata and GC. 54 const char* PrettyCause(GcCause cause);
|
H A D | scoped_gc_critical_section.h | 35 ScopedGCCriticalSection(Thread* self, GcCause cause, CollectorType collector_type)
|
H A D | heap.h | 375 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self) REQUIRES(!*gc_complete_lock_); 377 // Update the heap's process state to a new value, may cause compaction to occur. 496 // There is some race conditions in the allocation code that can cause bytes allocated to 525 // spaces in turn. If fail_ok is false then failing to find a space will cause an abort. 799 void StartGC(Thread* self, GcCause cause, CollectorType collector_type) 903 collector::GcType WaitForGcToCompleteLocked(GcCause cause, Thread* self)
|
H A D | heap.cc | 1378 // Deflate the monitors, this can cause a pause but shouldn't matter since we don't care 1424 void Heap::StartGC(Thread* self, GcCause cause, CollectorType collector_type) { argument 1427 WaitForGcToCompleteLocked(cause, self); 1766 // TODO: Run finalization, but this may cause more allocations to occur. 1813 // Always print that we ran homogeneous space compation since this can cause jank. 2050 // cause objects to get finalized. 2135 // cause objects to get finalized. 2426 // We still want to GC in case there is some unreachable non moving objects that could cause a 2706 // calculated in the same thread so that there aren't any races that can cause it to become 3451 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Threa argument 3457 WaitForGcToCompleteLocked(GcCause cause, Thread* self) argument [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 144 Throwable* cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); local 145 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. 147 result += cause [all...] |
H A D | throwable.h | 45 void SetCause(Throwable* cause) SHARED_REQUIRES(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); 135 * its cause. 172 Throwable cause = ite.getCause(); 173 if (cause instanceof NullPointerException) {
|
/art/runtime/ |
H A D | jni_internal.h | 47 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
H A D | thread_list.h | 66 void SuspendAll(const char* cause, bool long_suspend = false) 208 ScopedSuspendAll(const char* cause, bool long_suspend = false)
|
H A D | thread_list.cc | 429 // checkpoint) may cause the flip function to be run for a 469 void ThreadList::SuspendAll(const char* cause, bool long_suspend) { argument 473 VLOG(threads) << *self << " SuspendAll for " << cause << " starting..."; local 475 VLOG(threads) << "Thread[null] SuspendAll for " << cause << " starting..."; 513 ATRACE_BEGIN((std::string("Mutator threads suspended for ") + cause).c_str()); 1330 ScopedSuspendAll::ScopedSuspendAll(const char* cause, bool long_suspend) { argument 1331 Runtime::Current()->GetThreadList()->SuspendAll(cause, long_suspend);
|
H A D | thread.h | 264 // Once called thread suspension will cause an assertion failure. 265 const char* StartAssertNoThreadSuspension(const char* cause) ACQUIRE(Roles::uninterruptible_) { 268 CHECK(cause != nullptr); 271 tlsPtr_.last_no_thread_suspension_cause = cause; 420 // used as the new exception's cause. 1536 ScopedAssertNoThreadSuspension(Thread* self, const char* cause) ACQUIRE(Roles::uninterruptible_) 1537 : self_(self), old_cause_(self->StartAssertNoThreadSuspension(cause)) {
|
H A D | jni_internal.cc | 202 Handle<mirror::Throwable> cause(hs2.NewHandle(soa.Self()->GetException())); 209 soa.Self()->GetException()->SetCause(cause.Get()); 245 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) 256 if (msg == nullptr && cause == nullptr) { 258 } else if (msg != nullptr && cause == nullptr) { 261 } else if (msg == nullptr && cause != nullptr) { 263 args[0].l = cause; 267 args[1].l = cause; 2141 // long time, it could cause longer thread suspension latency
|
H A D | thread.cc | 550 // might cause a segv. 1236 // cause ScopedObjectAccessUnchecked to deadlock. 1431 // IdentityHashCode can cause thread suspension, which would invalidate o if it moved. So 2279 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException())); 2317 if (cause.get() == nullptr) { 2323 if (cause.get() == nullptr) { 2342 if (cause.get() != nullptr) { 2343 exception->SetCause(down_cast<mirror::Throwable*>(DecodeJObject(cause.get()))); 2361 if (cause.get() != nullptr) { 2362 jv_args[i].l = cause [all...] |
H A D | oat_file.cc | 238 std::string cause = GetOatHeader().GetValidationErrorMessage(); local 241 cause.c_str());
|
H A D | class_linker.cc | 195 // exception will be a cause. 216 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); 217 CHECK(cause.get() != nullptr); 220 bool is_error = env->IsInstanceOf(cause.get(), WellKnownClasses::java_lang_Error); 221 env->Throw(cause.get()); 589 // Sanity check Class[] and Object[]'s interfaces. GetDirectInterface may cause thread 2278 // Handles as RegisterDexFile may allocate dex caches (and cause thread suspension). 2511 // We failed to insert because we raced with another thread. Calling EnsureResolved may cause 3813 Handle<mirror::Throwable> cause(hs.NewHandle(self->GetException())); 3814 if (cause [all...] |
/art/test/068-classloader/src/ |
H A D | Main.java | 188 Throwable cause = cnfe.getCause(); 189 if (cause instanceof IllegalAccessError) { 208 Throwable cause = cnfe.getCause(); 209 if (cause instanceof IllegalAccessError) {
|
/art/runtime/native/ |
H A D | java_lang_Class.cc | 81 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); 85 javaName, cause.get()));
|