/art/test/720-thread-priority/src/ |
D | Main.java | 29 int priority = getThreadPlatformPriority(); in run() local 30 if (priority != initialPlatformPriority) { in run() 31 throw new Error("Expected " + initialPlatformPriority + ", got " + priority); in run() 35 priority = getThreadPlatformPriority(); in run() 36 if (priority != maxPlatformPriority) { in run() 37 throw new Error("Expected " + maxPlatformPriority + ", got " + priority); in run()
|
/art/libartpalette/system/ |
D | palette_fake.cc | 36 enum PaletteStatus PaletteSchedSetPriority(int32_t tid, int32_t priority) { in PaletteSchedSetPriority() argument 37 if (priority < art::palette::kMinManagedThreadPriority || in PaletteSchedSetPriority() 38 priority > art::palette::kMaxManagedThreadPriority) { in PaletteSchedSetPriority() 42 g_tid_priority_map[tid] = priority; in PaletteSchedSetPriority() 47 /*out*/int32_t* priority) { in PaletteSchedGetPriority() argument 52 *priority = g_tid_priority_map[tid]; in PaletteSchedGetPriority()
|
/art/runtime/ |
D | thread_pool.cc | 86 void ThreadPoolWorker::SetPthreadPriority(int priority) { in SetPthreadPriority() argument 87 CHECK_GE(priority, PRIO_MIN); in SetPthreadPriority() 88 CHECK_LE(priority, PRIO_MAX); in SetPthreadPriority() 90 int result = setpriority(PRIO_PROCESS, pthread_gettid_np(pthread_), priority); in SetPthreadPriority() 92 PLOG(ERROR) << "Failed to setpriority to :" << priority; in SetPthreadPriority() 95 UNUSED(priority); in SetPthreadPriority() 310 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority() argument 312 worker->SetPthreadPriority(priority); in SetPthreadPriority()
|
D | thread_pool.h | 87 void SetPthreadPriority(int priority); 164 void SetPthreadPriority(int priority);
|
D | thread.cc | 1807 int priority; in DumpState() local 1829 priority = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_priority) in DumpState() 1846 priority = thread->GetNativePriority(); in DumpState() 1848 PaletteStatus status = PaletteSchedGetPriority(tid, &priority); in DumpState() 1862 os << " prio=" << priority in DumpState() 1871 << " prio=" << priority in DumpState() 4313 int priority = 0; in GetNativePriority() local 4314 PaletteStatus status = PaletteSchedGetPriority(GetTid(), &priority); in GetNativePriority() 4316 return priority; in GetNativePriority()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 37 priority(0) { in AgentData() 43 jint priority; member 149 data.priority = JVMTI_THREAD_MIN_PRIORITY; in Java_art_Test931_testAgentThread() 152 jvmtiError result = jvmti_env->RunAgentThread(thread.get(), AgentMain, &data, data.priority); in Java_art_Test931_testAgentThread()
|
/art/libartbase/base/ |
D | logging.cc | 132 int priority = kLogSeverityToAndroidLogPriority[static_cast<size_t>(log_severity)]; in LogLineLowStack() local 135 if (priority == ANDROID_LOG_FATAL) { in LogLineLowStack() 144 android_writeLog(priority, tag, buf); in LogLineLowStack() 147 android_writeLog(priority, tag, message); in LogLineLowStack()
|
/art/test/720-thread-priority/ |
D | info.txt | 1 Regression test for Thread.setPriority, which used to always set the priority
|
D | Android.bp | 3 name: "art-run-test-720-thread-priority",
|
/art/openjdkjvmti/ |
D | ti_thread.cc | 291 info_ptr->priority = target->GetNativePriority(); in GetThreadInfo() 347 info_ptr->priority = static_cast<jint>(f->GetInt(peer)); in GetThreadInfo() 762 jint priority; member 806 jint priority) { in RunAgentThread() argument 810 if (priority < JVMTI_THREAD_MIN_PRIORITY || priority > JVMTI_THREAD_MAX_PRIORITY) { in RunAgentThread() 843 data->priority = priority; in RunAgentThread()
|
D | ti_thread.h | 113 jint priority);
|
D | OpenjdkJvmTi.cc | 243 jint priority) { in RunAgentThread() argument 245 return ThreadUtil::RunAgentThread(env, thread, proc, arg, priority); in RunAgentThread()
|
/art/runtime/jit/ |
D | profile_saver.cc | 60 static void SetProfileSaverThreadPriority(pthread_t thread, int priority) { in SetProfileSaverThreadPriority() argument 62 int result = setpriority(PRIO_PROCESS, pthread_gettid_np(thread), priority); in SetProfileSaverThreadPriority() 64 LOG(ERROR) << "Failed to setpriority to :" << priority; in SetProfileSaverThreadPriority() 68 UNUSED(priority); in SetProfileSaverThreadPriority()
|
/art/test/924-threads/ |
D | threads.cc | 109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str()); in Java_art_Test924_getThreadInfo()
|
/art/tools/ahat/ |
D | README.txt | 37 * [low priority] by site allocations won't line up if the stack has been
|
/art/compiler/optimizing/ |
D | register_allocator_graph_color.cc | 127 priority(ComputeCoalescePriority(kind, position, liveness)) {} in CoalesceOpportunity() 133 return lhs->priority < rhs->priority; in CmpPriority() 144 const size_t priority; member
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 520 jint priority; member 1060 jint priority); 1868 jint priority) { in RunAgentThread() 1869 return functions->RunAgentThread(this, thread, proc, arg, priority); in RunAgentThread()
|
/art/test/utils/ |
D | regen-test-files | 203 art-run-test-720-thread-priority
|
/art/test/ |
D | Android.bp | 633 "720-thread-priority/thread_priority.cc",
|