Home
last modified time | relevance | path

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

12

/art/runtime/
Dapp_info_test.cc35 std::string reason; in TEST() local
36 app_info.GetPrimaryApkOptimizationStatus(&filter, &reason); in TEST()
40 ASSERT_EQ(reason, "unknown"); in TEST()
58 std::string reason; in TEST() local
59 app_info.GetPrimaryApkOptimizationStatus(&filter, &reason); in TEST()
62 ASSERT_EQ(reason, "reason"); in TEST()
85 std::string reason; in TEST() local
86 app_info.GetPrimaryApkOptimizationStatus(&filter, &reason); in TEST()
90 ASSERT_EQ(reason, "reason"); in TEST()
98 std::string reason; in TEST() local
[all …]
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_attr_setstacksize, (&attr, stack_size), reason); in ThreadPoolWorker()
80 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); in ThreadPoolWorker()
81 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)
209 SuspendReason reason = SuspendReason::kInternal)
Dthread_list.cc665 SuspendReason reason) { in SuspendAllInternal() argument
702 bool updated = thread->ModifySuspendCount(self, +1, &pending_threads, reason); in SuspendAllInternal()
817 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume() argument
823 VLOG(threads) << "Resume(" << reinterpret_cast<void*>(thread) << ") starting..." << reason; in Resume()
842 if (UNLIKELY(!thread->ModifySuspendCount(self, -1, nullptr, reason))) { in Resume()
878 SuspendReason reason, in SuspendThreadByPeer() argument
906 reason); in SuspendThreadByPeer()
933 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByPeer()
969 reason); in SuspendThreadByPeer()
998 SuspendReason reason, in SuspendThreadByThreadId() argument
[all …]
Druntime_callbacks_test.cc214 const char* reason = "ThreadLifecycleCallback test thread"; in TEST_F() local
216 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
217 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack.Begin(), stack.Size()), reason); in TEST_F()
224 reason); in TEST_F()
225 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in TEST_F()
Dthread-inl.h363 SuspendReason reason) { in ModifySuspendCount() argument
368 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { in ModifySuspendCount()
387 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); in ModifySuspendCount()
Dtransaction.h331 explicit ScopedAssertNoNewTransactionRecords(const char* reason) in ScopedAssertNoNewTransactionRecords() argument
332 : transaction_(kIsDebugBuild ? InstallAssertion(reason) : nullptr) {} in ScopedAssertNoNewTransactionRecords()
341 static Transaction* InstallAssertion(const char* reason);
Ddebugger.h118 static void DdmSendHeapInfo(HpifWhen reason)
Dtransaction.cc713 Transaction* ScopedAssertNoNewTransactionRecords::InstallAssertion(const char* reason) { in InstallAssertion() argument
720 << "old: " << transaction->assert_no_new_records_reason_ << " new: " << reason; in InstallAssertion()
721 transaction->assert_no_new_records_reason_ = reason; in InstallAssertion()
Doat_file_assistant.cc1036 const char* reason = oat_file->GetCompilationReason(); in GetOptimizationStatus() local
1037 *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.cc619 void CheckJniAbortCatcher::Hook(void* data, const std::string& reason) { in Hook() argument
621 *reinterpret_cast<std::string*>(data) += reason; in Hook()
Dcommon_runtime_test.h258 static void Hook(void* data, const std::string& reason);
Dmonitor.cc446 template <LockReason reason>
452 CHECK(reason == LockReason::kForLock); in Lock()
512 if (reason == LockReason::kForLock && !called_monitors_callback) { in Lock()
642 CHECK(reason == LockReason::kForLock); in Lock()
Dmonitor.h234 template<LockReason reason = LockReason::kForLock>
/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.h230 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
/art/dex2oat/
Ddex2oat.cc290 message += reason; \
299 const char* reason = "dex2oat watch dog thread startup"; in WatchDog() local
300 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
303 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_init, (&condattr), reason); in WatchDog()
304 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_setclock, (&condattr, CLOCK_MONOTONIC), reason); in WatchDog()
305 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_init, (&cond_, &condattr), reason); in WatchDog()
306 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_destroy, (&condattr), reason); in WatchDog()
308 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_init, (&attr_), reason); in WatchDog()
309 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_create, (&pthread_, &attr_, &CallBack, this), reason); in WatchDog()
310 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_destroy, (&attr_), reason); in WatchDog()
[all …]
/art/runtime/metrics/
Dstatsd.cc144 constexpr int32_t EncodeCompilationReason(CompilationReason reason) { in EncodeCompilationReason() argument
145 switch (reason) { in EncodeCompilationReason()
Dreporter_test.cc174 CompilationReason reason = CompilationReason::kUnknown) { in VerifyReports() argument
185 ASSERT_EQ(backend_->GetSessionData().compilation_reason, reason); in VerifyReports()
/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/libartbase/base/metrics/
Dmetrics.h119 constexpr const char* CompilationReasonName(CompilationReason reason) { in CompilationReasonName() argument
120 switch (reason) { in CompilationReasonName()
/art/tools/runtime_memusage/
DREADME30 The main reason for splitting the functionality across multiple files is because

12