RFR: 8273541: Cleaner Thread creates with normal priority instead of MAX_PRIORITY - 2

David Holmes david.holmes at oracle.com
Sun Sep 12 06:20:11 UTC 2021

On 11/09/2021 5:24 am, kabutz wrote:
> On Fri, 10 Sep 2021 14:08:05 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>>> This looks good. @cl4es might want to confirm that change was not intentional.
>> Completely unintentional, and perplexing since it's not a simple copy-paste error..
> The thread priorities in Java are the wrong way round, (high is 10, low is 1) so I was not surprised by this mistake.

They are not "the wrong way around" they followed Solaris Global 
Dispatch Priorities (and Windows priorities for that matter). It makes a 
lot more sense than systems where a "higher priority" means a lower 
numerical priority value IMO.



> -------------
> PR: https://git.openjdk.java.net/jdk/pull/5439

More information about the core-libs-dev mailing list