RFR: 8235908: omit ThreadPriorityPolicy warning when value is set from image

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Mar 6 17:51:20 UTC 2020


I changed mailing list to wider audience.

Note for reviews, Java SE builds and products are not affected by this change.

This change affects only GraalVM which sets ThreadPriorityPolicy=1 by default in their build.
GraalVM release notes have statement about that to notify GraalVM users because it may affect applications performance.

RFE describes why GraalVM needs that.

Change looks good to me.

Thanks,
Vladimir K

On 3/6/20 12:56 AM, Matthias Neugschwandtner wrote:
> Hello everyone,
> 
> Please review this change, which omits the warning that ThreadPriorityPolicy=1 requires system level permission if the 
> value is set via jlink, the same way it is omitted if the value is set by default.
> 
> https://bugs.openjdk.java.net/browse/JDK-8235908
> http://cr.openjdk.java.net/~mneugschwand/8235908
> 
> Thank you,
> Matthias


More information about the hotspot-dev mailing list