Home
last modified time | relevance | path

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

12

/art/runtime/jni/
Djava_vm_ext_test.cc89 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
93 nullptr), reason); in TEST_F()
95 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
101 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
105 nullptr), reason); in TEST_F()
107 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
115 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
118 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
119 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, PTHREAD_STACK_MIN), reason); in TEST_F()
121 nullptr), reason); in TEST_F()
[all …]
Djava_vm_ext.h229 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
/art/runtime/
Dthread_pool.cc72 const char* reason = "new thread pool worker thread"; in ThreadPoolWorker() local
74 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in ThreadPoolWorker()
76 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack_.Begin(), stack_.Size()), reason); in ThreadPoolWorker()
78 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); in ThreadPoolWorker()
79 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in ThreadPoolWorker()
Dthread_list.h70 bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal)
89 SuspendReason reason,
99 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out)
205 SuspendReason reason = SuspendReason::kInternal)
Dthread_list.cc674 SuspendReason reason) { in SuspendAllInternal() argument
711 bool updated = thread->ModifySuspendCount(self, +1, &pending_threads, reason); in SuspendAllInternal()
826 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume() argument
832 VLOG(threads) << "Resume(" << reinterpret_cast<void*>(thread) << ") starting..." << reason; in Resume()
851 if (UNLIKELY(!thread->ModifySuspendCount(self, -1, nullptr, reason))) { in Resume()
887 SuspendReason reason, in SuspendThreadByPeer() argument
915 reason); in SuspendThreadByPeer()
942 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByPeer()
978 reason); in SuspendThreadByPeer()
1007 SuspendReason reason, in SuspendThreadByThreadId() argument
[all …]
Druntime_callbacks_test.cc202 const char* reason = "ThreadLifecycleCallback test thread"; in TEST_F() local
204 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
205 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack.Begin(), stack.Size()), reason); in TEST_F()
212 reason); in TEST_F()
213 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in TEST_F()
Dthread-inl.h362 SuspendReason reason) { in ModifySuspendCount() argument
367 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { in ModifySuspendCount()
386 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); in ModifySuspendCount()
Dtransaction.h332 explicit ScopedAssertNoNewTransactionRecords(const char* reason) in ScopedAssertNoNewTransactionRecords() argument
333 : transaction_(kIsDebugBuild ? InstallAssertion(reason) : nullptr) {} in ScopedAssertNoNewTransactionRecords()
342 static Transaction* InstallAssertion(const char* reason);
Ddebugger.h118 static void DdmSendHeapInfo(HpifWhen reason)
Dtransaction.cc712 Transaction* ScopedAssertNoNewTransactionRecords::InstallAssertion(const char* reason) { in InstallAssertion() argument
719 << "old: " << transaction->assert_no_new_records_reason_ << " new: " << reason; in InstallAssertion()
720 transaction->assert_no_new_records_reason_ = reason; in InstallAssertion()
Doat_file_assistant.cc968 const char* reason = oat_file->GetCompilationReason(); in GetOptimizationStatus() local
969 *out_compilation_reason = reason == nullptr ? "unknown" : reason; in GetOptimizationStatus()
Ddebugger.cc406 void Dbg::DdmSendHeapInfo(HpifWhen reason) { in DdmSendHeapInfo() argument
408 if (reason == gDdmHpifWhen) { in DdmSendHeapInfo()
437 Append1BE(bytes, reason); in DdmSendHeapInfo()
Dcommon_runtime_test.h251 static void Hook(void* data, const std::string& reason);
Dcommon_runtime_test.cc624 void CheckJniAbortCatcher::Hook(void* data, const std::string& reason) { in Hook() argument
626 *reinterpret_cast<std::string*>(data) += reason; in Hook()
Dmonitor.cc442 template <LockReason reason>
448 CHECK(reason == LockReason::kForLock); in Lock()
508 if (reason == LockReason::kForLock && !called_monitors_callback) { in Lock()
638 CHECK(reason == LockReason::kForLock); in Lock()
Dmonitor.h228 template<LockReason reason = LockReason::kForLock>
Dthread.h278 SuspendReason reason)
1450 SuspendReason reason)
Dthread.cc1413 SuspendReason reason) { in ModifySuspendCountInternal() argument
1416 << reason << " " << delta << " " << this; in ModifySuspendCountInternal()
1424 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { in ModifySuspendCountInternal()
1460 switch (reason) { in ModifySuspendCountInternal()
/art/dex2oat/
Ddex2oat.cc574 message += reason; \
583 const char* reason = "dex2oat watch dog thread startup"; in WatchDog() local
584 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
587 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_init, (&condattr), reason); in WatchDog()
588 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_setclock, (&condattr, CLOCK_MONOTONIC), reason); in WatchDog()
589 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_init, (&cond_, &condattr), reason); in WatchDog()
590 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_destroy, (&condattr), reason); in WatchDog()
592 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_init, (&attr_), reason); in WatchDog()
593 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_create, (&pthread_, &attr_, &CallBack, this), reason); in WatchDog()
594 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_destroy, (&attr_), reason); in WatchDog()
[all …]
/art/test/979-const-method-handle/util-src/transformer/
DConstantTransformer.java162 Method method, Class<?> annotationClass, String reason) {
169 .append(reason);
/art/test/431-type-propagation/smali/
DTypePropagation.smali34 # This environment is the reason why a phi is created at the join block
/art/openjdkjvmti/
Dti_search.cc289 char* reason = strerror(errno); in AddToDexClassLoaderInMemory() local
290 JVMTI_LOG(ERROR, jvmti_env) << "Unable to create memfd due to " << reason; in AddToDexClassLoaderInMemory()
/art/tools/runtime_memusage/
DREADME30 The main reason for splitting the functionality across multiple files is because
/art/compiler/jni/
Djni_compiler_test.cc667 std::string reason; in JNI_TEST() local
669 LoadNativeLibrary(env_, "", class_loader_, nullptr, &reason)) in JNI_TEST()
670 << reason; in JNI_TEST()
683 std::string reason; in JNI_TEST() local
685 LoadNativeLibrary(env_, "", class_loader_, nullptr, &reason)) in JNI_TEST()
686 << reason; in JNI_TEST()
/art/
DNOTICE186 incurred by, or claims asserted against, such Contributor by reason

12