/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | HprofFormatException.java | 28 HprofFormatException(String msg, Exception cause) { argument 29 super(msg, cause);
|
/art/runtime/gc/ |
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.cc | 29 const char* PrettyCause(GcCause cause) { argument 30 switch (cause) {
|
H A D | scoped_gc_critical_section.h | 35 ScopedGCCriticalSection(Thread* self, GcCause cause, CollectorType collector_type)
|
H A D | gc_cause.h | 27 // Invalid GC cause used as a placeholder. 41 // Not a real GC cause, used when we disable moving GC (currently for GetPrimitiveArrayCritical). 43 // Not a real GC cause, used when we trim the heap. 45 // Not a real GC cause, used to implement exclusion between GC and instrumentation. 47 // Not a real GC cause, used to add or remove app image spaces. 49 // Not a real GC cause, used to implement exclusion between GC and debugger. 53 // Class linker cause, used to guard filling art methods with special values. 55 // Not a real GC cause, used to implement exclusion between code cache metadata and GC. 57 // Not a real GC cause, used to add or remove system-weak holders. 59 // Not a real GC cause, use [all...] |
H A D | heap.cc | 1271 // Deflate the monitors, this can cause a pause but shouldn't matter since we don't care 1319 void Heap::StartGC(Thread* self, GcCause cause, CollectorType collector_type) { argument 1325 WaitForGcToCompleteLocked(cause, self); 1327 last_gc_cause_ = cause; 1652 // TODO: Run finalization, but this may cause more allocations to occur. 1699 // Always print that we ran homogeneous space compation since this can cause jank. 1877 void Heap::CollectGarbage(bool clear_soft_references, GcCause cause) { argument 1880 CollectGarbageInternal(gc_plan_.back(), cause, clear_soft_references); 1918 // cause objects to get finalized. 2008 // cause object 3345 WaitForGcToComplete(GcCause cause, Thread* self) argument 3351 WaitForGcToCompleteLocked(GcCause cause, Thread* self) argument 3578 ConcurrentGCTask(uint64_t target_time, GcCause cause, bool force_full) argument 3601 RequestConcurrentGC(Thread* self, GcCause cause, bool force_full) argument 3610 ConcurrentGC(Thread* self, GcCause cause, bool force_full) argument [all...] |
H A D | heap.h | 337 void CollectGarbage(bool clear_soft_references, GcCause cause = kGcCauseExplicit) 342 void ConcurrentGC(Thread* self, GcCause cause, bool force_full) 409 collector::GcType WaitForGcToComplete(GcCause cause, Thread* self) REQUIRES(!*gc_complete_lock_); 411 // Update the heap's process state to a new value, may cause compaction to occur. 527 // There is some race conditions in the allocation code that can cause bytes allocated to 556 // spaces in turn. If fail_ok is false then failing to find a space will cause an abort. 756 void RequestConcurrentGC(Thread* self, GcCause cause, bool force_full) 848 void StartGC(Thread* self, GcCause cause, CollectorType collector_type) 962 collector::GcType WaitForGcToCompleteLocked(GcCause cause, Thread* self)
|
/art/test/086-null-super/src/ |
H A D | Main.java | 29 public TestFailed(Throwable cause) { argument 30 super(cause); 123 * its cause. 154 Throwable cause = ite.getCause(); 155 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); 133 * its cause. 170 Throwable cause = ite.getCause(); 171 if (cause instanceof NullPointerException) {
|
/art/test/647-jni-get-field-id/src/ |
H A D | Main.java | 72 for (Throwable cause = t.getCause(); cause != null; cause = cause.getCause()) { 73 System.out.println(" caused by " + DescribeThrowable(cause));
|
/art/runtime/mirror/ |
H A D | throwable.cc | 50 void Throwable::SetCause(ObjPtr<Throwable> cause) { argument 51 CHECK(cause != nullptr); 52 CHECK(cause != this); 56 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); local 58 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); local 150 ObjPtr<Throwable> cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); local 151 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. 153 result += cause [all...] |
H A D | throwable.h | 44 void SetCause(ObjPtr<Throwable> cause) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/ |
H A D | jni_internal.h | 33 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
H A D | thread_list.h | 74 void SuspendAll(const char* cause, bool long_suspend = false) 246 explicit ScopedSuspendAll(const char* cause, bool long_suspend = false)
|
H A D | thread_list.cc | 452 // arrives. This could cause a *very rare* deadlock, if not repeated. Most of the cases are 583 // a checkpoint) may cause the flip function to be run for a runnable/suspended thread before 640 void ThreadList::SuspendAll(const char* cause, bool long_suspend) { argument 644 VLOG(threads) << *self << " SuspendAll for " << cause << " starting..."; local 646 VLOG(threads) << "Thread[null] SuspendAll for " << cause << " starting..."; 686 ATRACE_BEGIN((std::string("Mutator threads suspended for ") + cause).c_str()); 1569 ScopedSuspendAll::ScopedSuspendAll(const char* cause, bool long_suspend) { argument 1570 Runtime::Current()->GetThreadList()->SuspendAll(cause, long_suspend);
|
H A D | thread.h | 280 // NB Passing ThreadState::kRunnable may cause the current thread to wait in a condition variable 281 // while holding the mutator_lock_. Callers should ensure that this will not cause any problems 323 // Once called thread suspension will cause an assertion failure. 324 const char* StartAssertNoThreadSuspension(const char* cause) ACQUIRE(Roles::uninterruptible_) { 327 CHECK(cause != nullptr); 330 tlsPtr_.last_no_thread_suspension_cause = cause; 509 // used as the new exception's cause. 1776 ALWAYS_INLINE ScopedAssertNoThreadSuspension(const char* cause, 1785 old_cause_ = self_->StartAssertNoThreadSuspension(cause);
|
H A D | jni_internal.cc | 320 Handle<mirror::Throwable> cause(hs2.NewHandle(soa.Self()->GetException())); 327 soa.Self()->GetException()->SetCause(cause.Get()); 366 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) 377 if (msg == nullptr && cause == nullptr) { 379 } else if (msg != nullptr && cause == nullptr) { 382 } else if (msg == nullptr && cause != nullptr) { 384 args[0].l = cause; 388 args[1].l = cause; 2315 // long time, it could cause longer thread suspension latency
|
H A D | thread.cc | 571 // ESP on x86[-32], SP on ARM) might cause a SIGSEGV (at least on x86 with newer kernels). We 1636 // cause ScopedObjectAccessUnchecked to deadlock. 1889 // Call PrettyTypeOf before IdentityHashCode since IdentityHashCode can cause thread 3001 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException())); 3039 if (cause.get() == nullptr) { 3045 if (cause.get() == nullptr) { 3064 if (cause.get() != nullptr) { 3065 exception->SetCause(DecodeJObject(cause.get())->AsThrowable()); 3083 if (cause.get() != nullptr) { 3084 jv_args[i].l = cause [all...] |
H A D | oat_file.cc | 512 std::string cause = GetOatHeader().GetValidationErrorMessage(); local 515 cause.c_str());
|
H A D | class_linker.cc | 245 // exception will be a cause. 266 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); 267 CHECK(cause.get() != nullptr); 279 bool is_error = env->IsInstanceOf(cause.get(), WellKnownClasses::java_lang_Error); 280 env->Throw(cause.get()); 670 // Sanity check Class[] and Object[]'s interfaces. GetDirectInterface may cause thread 2397 // Handles as RegisterDexFile may allocate dex caches (and cause thread suspension). 2427 // Handles as RegisterDexFile may allocate dex caches (and cause thread suspension). 2748 // We failed to insert because we raced with another thread. Calling EnsureResolved may cause 3527 // same time with the same dex cache. Since the .bss is shared this can cause failin [all...] |
/art/test/068-classloader/src/ |
H A D | Main.java | 187 Throwable cause = cnfe.getCause(); 188 if (cause instanceof IllegalAccessError) { 207 Throwable cause = cnfe.getCause(); 208 if (cause instanceof IllegalAccessError) {
|
/art/test/713-varhandle-invokers/src/ |
H A D | Main.java | 25 TestSetupError(String message, Throwable cause) { argument 26 super(message, cause);
|
/art/runtime/native/ |
H A D | java_lang_Class.cc | 185 ScopedLocalRef<jthrowable> cause(env, env->ExceptionOccurred()); 191 cause.get()));
|