RFR: 8350464: The flags to set the native priority for the VMThread and Java threads need a broader range

Aleksey Shipilev shade at openjdk.org
Fri Feb 21 08:46: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

Looks fine, thanks.

It is a bit sad `-1` remains a special value, but solving that opens another can of worms. At least this allows us to set `VMPriorityThread=-20` on Linux.

-------------

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23722#pullrequestreview-2632389167


More information about the hotspot-runtime-dev mailing list