hotspot/src/share/vm/runtime/thread.cpp
void Thread::set_priority(Thread* thread, ThreadPriority priority) {
  {- -------------------------------------------
  (1) (トレース出力)
      ---------------------------------------- -}
      trace("set priority", thread);
  {- -------------------------------------------
  (1) (デバッグ用の処理)
      ---------------------------------------- -}
      debug_only(check_for_dangling_thread_pointer(thread);)
  {- -------------------------------------------
  (1) os::set_priority() を呼んで, 優先度の設定を行う.
      ---------------------------------------- -}
      // Can return an error!
      (void)os::set_priority(thread, priority);
    }
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.