/art/runtime/ |
H A D | thread_pool.cc | 70 void ThreadPoolWorker::SetPthreadPriority(int priority) { argument 71 CHECK_GE(priority, PRIO_MIN); 72 CHECK_LE(priority, PRIO_MAX); 74 int result = setpriority(PRIO_PROCESS, pthread_gettid_np(pthread_), priority); 76 PLOG(ERROR) << "Failed to setpriority to :" << priority; 79 UNUSED(priority); 252 void ThreadPool::SetPthreadPriority(int priority) { argument 254 worker->SetPthreadPriority(priority);
|
H A D | thread_pool.h | 63 void SetPthreadPriority(int priority); 133 void SetPthreadPriority(int priority);
|
H A D | thread.cc | 1617 int priority; local 1639 priority = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_priority) 1656 priority = GetNativePriority(); 1669 os << " prio=" << priority 1678 << " prio=" << priority
|
/art/libartbase/base/ |
H A D | logging.cc | 105 int priority = kLogSeverityToAndroidLogPriority[static_cast<size_t>(log_severity)]; local 108 if (priority == ANDROID_LOG_FATAL) { 117 android_writeLog(priority, tag, buf); 120 android_writeLog(priority, tag, message);
|
/art/test/931-agent-thread/ |
H A D | agent_thread.cc | 37 priority(0) { 43 jint priority; member in struct:art::Test930AgentThread::AgentData 69 // The thread has the requested priority. 71 // CHECK_EQ(info.priority, data->priority); 110 // runtime-only constructor (so we can set priority and daemon state). 149 data.priority = JVMTI_THREAD_MIN_PRIORITY; 152 jvmtiError result = jvmti_env->RunAgentThread(thread.get(), AgentMain, &data, data.priority);
|
/art/openjdkjvmti/ |
H A D | ti_thread.h | 83 jint priority);
|
H A D | ti_thread.cc | 229 info_ptr->priority = target->GetNativePriority(); 285 info_ptr->priority = static_cast<jint>(f->GetInt(peer)); 705 jint priority; member in struct:openjdkjvmti::AgentData 749 jint priority) { 753 if (priority < JVMTI_THREAD_MIN_PRIORITY || priority > JVMTI_THREAD_MAX_PRIORITY) { 786 data->priority = priority; 745 RunAgentThread(jvmtiEnv* jvmti_env, jthread thread, jvmtiStartFunction proc, const void* arg, jint priority) argument
|
H A D | OpenjdkJvmTi.cc | 231 jint priority) { 233 return ThreadUtil::RunAgentThread(env, thread, proc, arg, priority); 227 RunAgentThread(jvmtiEnv* env, jthread thread, jvmtiStartFunction proc, const void* arg, jint priority) argument
|
/art/runtime/jit/ |
H A D | profile_saver.cc | 49 // At what priority to schedule the saver threads. 9 is the lowest foreground priority on device. 52 static void SetProfileSaverThreadPriority(pthread_t thread, int priority) { argument 54 int result = setpriority(PRIO_PROCESS, pthread_gettid_np(thread), priority); 56 LOG(ERROR) << "Failed to setpriority to :" << priority; 60 UNUSED(priority); 308 // Restore profile saver thread priority during the GC critical section. This helps prevent 309 // priority inversions blocking the GC for long periods of time. 311 // Only restore default priority if we are the profile saver thread. Other threads that call this
|
/art/test/924-threads/ |
H A D | threads.cc | 107 // The priority. Use a string for simplicity of construction. 109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str());
|
/art/compiler/optimizing/ |
H A D | register_allocator_graph_color.cc | 92 // In general, we estimate coalesce priority by whether it will definitely avoid a move, 99 // give it the lowest priority. 127 priority(ComputeCoalescePriority(kind, position, liveness)) {} 129 // Compare two coalesce opportunities based on their priority. 130 // Return true if lhs has a lower priority than that of rhs. 133 return lhs->priority < rhs->priority; 143 // The priority of this coalesce opportunity, based on heuristics. 144 const size_t priority; member in struct:art::CoalesceOpportunity 171 // Tiny intervals should have maximum priority, sinc [all...] |
/art/openjdkjvmti/include/ |
H A D | jvmti.h | 520 jint priority; member in struct:_jvmtiThreadInfo 1060 jint priority); 1868 jint priority) { 1869 return functions->RunAgentThread(this, thread, proc, arg, priority); 1865 RunAgentThread(jthread thread, jvmtiStartFunction proc, const void* arg, jint priority) argument
|