提交 fd79a79f 编写于 作者: P phh

7142586: Cannot build on Solaris 11 due to use of ia_nice

Summary: Delete the single use of ia_nice in os_solaris.cpp
Reviewed-by: kamg, kvn
上级 7ac283bb
...@@ -4007,7 +4007,6 @@ int set_lwp_class_and_priority(int ThreadID, int lwpid, ...@@ -4007,7 +4007,6 @@ int set_lwp_class_and_priority(int ThreadID, int lwpid,
iaInfo->ia_uprilim = cur_class == new_class iaInfo->ia_uprilim = cur_class == new_class
? IA_NOCHANGE : (pri_t)iaLimits.maxPrio; ? IA_NOCHANGE : (pri_t)iaLimits.maxPrio;
iaInfo->ia_mode = IA_NOCHANGE; iaInfo->ia_mode = IA_NOCHANGE;
iaInfo->ia_nice = cur_class == new_class ? IA_NOCHANGE : NZERO;
if (ThreadPriorityVerbose) { if (ThreadPriorityVerbose) {
tty->print_cr("IA: [%d...%d] %d->%d\n", tty->print_cr("IA: [%d...%d] %d->%d\n",
iaLimits.minPrio, maxClamped, newPrio, iaInfo->ia_upri); iaLimits.minPrio, maxClamped, newPrio, iaInfo->ia_upri);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册