/art/runtime/ |
H A D | java_vm_ext_test.cc | 89 const char* reason = __PRETTY_FUNCTION__; local 93 nullptr), reason); 95 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); 101 const char* reason = __PRETTY_FUNCTION__; local 105 nullptr), reason); 107 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); 114 const char* reason = __PRETTY_FUNCTION__; local 117 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); 118 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, PTHREAD_STACK_MIN), reason); 120 nullptr), reason); [all...] |
H A D | thread_pool.cc | 58 const char* reason = "new thread pool worker thread"; local 60 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); 61 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack_->Begin(), stack_->Size()), reason); 62 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); 63 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason);
|
H A D | thread_list.h | 68 bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal) 87 SuspendReason reason, 97 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out) 204 SuspendReason reason = SuspendReason::kInternal)
|
H A D | thread_list.cc | 702 SuspendReason reason) { 732 if (reason == SuspendReason::kForDebugger) { 742 bool updated = thread->ModifySuspendCount(self, +1, &pending_threads, reason); 842 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { argument 848 VLOG(threads) << "Resume(" << reinterpret_cast<void*>(thread) << ") starting..." << reason; 867 if (UNLIKELY(!thread->ModifySuspendCount(self, -1, nullptr, reason))) { 903 SuspendReason reason, 931 reason); 958 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); 994 reason); 699 SuspendAllInternal(Thread* self, Thread* ignore1, Thread* ignore2, SuspendReason reason) argument 901 SuspendThreadByPeer(jobject peer, bool request_suspension, SuspendReason reason, bool* timed_out) argument 1022 SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out) argument [all...] |
H A D | thread-inl.h | 358 SuspendReason reason) { 363 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { 382 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); 355 ModifySuspendCount(Thread* self, int delta, AtomicInteger* suspend_barrier, SuspendReason reason) argument
|
H A D | runtime_callbacks_test.cc | 202 const char* reason = "ThreadLifecycleCallback test thread"; local 204 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); 205 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack->Begin(), stack->Size()), reason); 212 reason); 213 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason);
|
H A D | common_runtime_test.h | 273 static void Hook(void* data, const std::string& reason);
|
H A D | java_vm_ext.h | 222 // Used for testing. By default, we'll LOG(FATAL) the reason. 223 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
|
H A D | monitor.h | 216 template<LockReason reason = LockReason::kForLock>
|
H A D | oat_file_assistant.cc | 1331 const char* reason = oat_file->GetCompilationReason(); local 1332 *out_compilation_reason = reason == nullptr ? "unknown" : reason;
|
H A D | monitor.cc | 412 template <LockReason reason> 460 if (reason == LockReason::kForLock && !called_monitors_callback) { 593 CHECK(reason == LockReason::kForLock); 1380 // Is there any reason to believe there's any synchronization in this method?
|
H A D | common_runtime_test.cc | 772 void CheckJniAbortCatcher::Hook(void* data, const std::string& reason) { argument 774 *reinterpret_cast<std::string*>(data) += reason;
|
H A D | thread.h | 262 SuspendReason reason) 1382 SuspendReason reason)
|
H A D | debugger.h | 703 static void DdmSendHeapInfo(HpifWhen reason)
|
H A D | thread.cc | 1220 SuspendReason reason) { 1223 << reason << " " << delta << " " << tls32_.debug_suspend_count << " " << this; 1232 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { 1268 switch (reason) { 1217 ModifySuspendCountInternal(Thread* self, int delta, AtomicInteger* suspend_barrier, SuspendReason reason) argument
|
H A D | debugger.cc | 4019 * However, for compatibility reason with older versions of debuggers (like Eclipse), we 4611 void Dbg::DdmSendHeapInfo(HpifWhen reason) { argument 4613 if (reason == gDdmHpifWhen) { 4630 * [u1]: capture reason (same as 'when' value from server) 4642 JDWP::Append1BE(bytes, reason); 5173 * The chief reason for using a string table here is to keep the size of
|
/art/dex2oat/ |
H A D | dex2oat.cc | 471 UsageError(" --compilation-reason=<string>: optional metadata specifying the reason for"); 475 UsageError(" Example: --compilation-reason=install"); 494 message += reason; \ 503 const char* reason = "dex2oat watch dog thread startup"; local 504 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); 507 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_init, (&condattr), reason); 508 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_setclock, (&condattr, CLOCK_MONOTONIC), reason); 509 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_init, (&cond_, &condattr), reason); 510 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_destroy, (&condattr), reason); 517 const char* reason = "dex2oat watch dog thread shutdown"; local 581 const char* reason = "dex2oat watch dog thread waiting"; local [all...] |
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 660 std::string reason; local 662 LoadNativeLibrary(env_, "", class_loader_, &reason)) 663 << reason; 676 std::string reason; local 678 LoadNativeLibrary(env_, "", class_loader_, &reason)) 679 << reason;
|
/art/test/710-varhandle-creation/src/ |
H A D | Main.java | 226 public static void fail(String reason) { argument 227 throw new RuntimeException("FAIL: " + reason); 2213 protected static void fail(String reason) { argument 2214 Main.fail(reason);
|