RFR: 8350464: The flags to set the native priority for the VMThread and Java threads need a broader range
Thomas Stuefe
stuefe at openjdk.org
Fri Feb 21 07:54:52 UTC 2025
On Fri, 21 Feb 2025 05:25:44 GMT, David Holmes <dholmes at openjdk.org> wrote:
> See JBS for background details, but basically -1 -> 127 is inappropriate and the priority range should be the full int_min - int_max
>
> Testing:
> - tiers 1-3 sanity testing
>
> Thanks
Wow, good catch. How was this never detected until now? We should have a regression case for this (e.g. scanning the nice value in /proc/pid/stat). I guess the CAP_SYS_NICE requirement makes a regression test more complex.
-------------
Marked as reviewed by stuefe (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23722#pullrequestreview-2632276771
More information about the hotspot-runtime-dev
mailing list