Lines Matching refs:priority
417 prio = java_lang_Thread::priority(thread_oop);
429 trace("get priority", thread);
430 ThreadPriority priority;
432 (void)os::get_priority(thread, priority);
433 assert(MinPriority <= priority && priority <= MaxPriority, "non-Java priority found");
434 return priority;
437 void Thread::set_priority(Thread* thread, ThreadPriority priority) {
438 trace("set priority", thread);
441 (void)os::set_priority(thread, priority);
1208 // Set the watcher thread to the highest OS priority which should not be
1209 // used, unless a Java thread with priority java.lang.Thread.MAX_PRIORITY
1210 // is created. The only normal thread using this priority is the reference
1212 // If the VMThread's priority is not lower than the WatcherThread profiling
2946 ThreadPriority priority = java_lang_Thread::priority(thr_oop);
2947 assert(MinPriority <= priority && priority <= MaxPriority, "sanity check");
2948 return priority;
2975 prio = java_lang_Thread::priority(thread_oop());
2976 assert(prio != NoPriority, "A valid priority should be present");
2979 // Push the Java priority down to the native thread; needs Threads_lock