8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd

Reviewed-by: dcubed, dholmes
This commit is contained in:
Matthias Baesken 2019-01-04 17:46:56 +01:00
parent 839d71f4ca
commit db1518dae2
3 changed files with 15 additions and 15 deletions

View file

@ -2049,7 +2049,8 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
" to higher native thread priorities. This policy should be "\
" used with care, as sometimes it can cause performance "\
" degradation in the application and/or the entire system. On "\
" Linux this policy requires root privilege.") \
" Linux/BSD/macOS this policy requires root privilege or an "\
" extended capability.") \
range(0, 1) \
\
product(bool, ThreadPriorityVerbose, false, \