Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Djava_vm_ext_test.cc88 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
92 nullptr), reason); in TEST_F()
94 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
100 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
104 nullptr), reason); in TEST_F()
106 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
113 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
116 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
117 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, PTHREAD_STACK_MIN), reason); in TEST_F()
119 nullptr), reason); in TEST_F()
[all …]
Dthread_pool.cc54 const char* reason = "new thread pool worker thread"; in ThreadPoolWorker() local
56 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in ThreadPoolWorker()
57 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack_->Begin(), stack_->Size()), reason); in ThreadPoolWorker()
58 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); in ThreadPoolWorker()
59 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in ThreadPoolWorker()
Dthread_list.h68 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)
Druntime_callbacks_test.cc198 const char* reason = "ThreadLifecycleCallback test thread"; in TEST_F() local
200 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
201 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack->Begin(), stack->Size()), reason); in TEST_F()
208 reason); in TEST_F()
209 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in TEST_F()
Dthread_list.cc691 SuspendReason reason) { in SuspendAllInternal() argument
721 if (reason == SuspendReason::kForDebugger) { in SuspendAllInternal()
731 bool updated = thread->ModifySuspendCount(self, +1, &pending_threads, reason); in SuspendAllInternal()
831 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume() argument
837 VLOG(threads) << "Resume(" << reinterpret_cast<void*>(thread) << ") starting..." << reason; in Resume()
856 if (UNLIKELY(!thread->ModifySuspendCount(self, -1, nullptr, reason))) { in Resume()
892 SuspendReason reason, in SuspendThreadByPeer() argument
920 reason); in SuspendThreadByPeer()
947 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByPeer()
983 reason); in SuspendThreadByPeer()
[all …]
Dthread-inl.h357 SuspendReason reason) { in ModifySuspendCount() argument
362 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { in ModifySuspendCount()
381 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); in ModifySuspendCount()
Dcommon_runtime_test.h231 static void Hook(void* data, const std::string& reason);
Djava_vm_ext.h215 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
Dcommon_runtime_test.cc808 void CheckJniAbortCatcher::Hook(void* data, const std::string& reason) { in Hook() argument
810 *reinterpret_cast<std::string*>(data) += reason; in Hook()
Dthread.h253 SuspendReason reason)
1320 SuspendReason reason)
Dthread.cc1201 SuspendReason reason) { in ModifySuspendCountInternal() argument
1204 << reason << " " << delta << " " << tls32_.debug_suspend_count << " " << this; in ModifySuspendCountInternal()
1213 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { in ModifySuspendCountInternal()
1249 switch (reason) { in ModifySuspendCountInternal()
Ddebugger.h683 static void DdmSendHeapInfo(HpifWhen reason)
Ddebugger.cc4518 void Dbg::DdmSendHeapInfo(HpifWhen reason) { in DdmSendHeapInfo() argument
4520 if (reason == gDdmHpifWhen) { in DdmSendHeapInfo()
4549 JDWP::Append1BE(bytes, reason); in DdmSendHeapInfo()
/art/dex2oat/
Ddex2oat.cc457 message += reason; \
466 const char* reason = "dex2oat watch dog thread startup"; in WatchDog() local
467 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
470 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_init, (&condattr), reason); in WatchDog()
471 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_setclock, (&condattr, CLOCK_MONOTONIC), reason); in WatchDog()
472 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_init, (&cond_, &condattr), reason); in WatchDog()
473 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_destroy, (&condattr), reason); in WatchDog()
475 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_init, (&attr_), reason); in WatchDog()
476 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_create, (&pthread_, &attr_, &CallBack, this), reason); in WatchDog()
477 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_destroy, (&attr_), reason); in WatchDog()
[all …]
/art/test/431-type-propagation/smali/
DTypePropagation.smali34 # This environment is the reason why a phi is created at the join block
/art/tools/runtime_memusage/
DREADME30 The main reason for splitting the functionality across multiple files is because
/art/compiler/jni/
Djni_compiler_test.cc661 std::string reason; in JNI_TEST() local
663 LoadNativeLibrary(env_, "", class_loader_, library_search_path_, &reason)) in JNI_TEST()
664 << reason; in JNI_TEST()
677 std::string reason; in JNI_TEST_NORMAL_ONLY() local
679 LoadNativeLibrary(env_, "", class_loader_, library_search_path_, &reason)) in JNI_TEST_NORMAL_ONLY()
680 << reason; in JNI_TEST_NORMAL_ONLY()
/art/
DNOTICE186 incurred by, or claims asserted against, such Contributor by reason