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

David Holmes david.holmes at oracle.com
Mon Mar 9 04:33:09 UTC 2020


The changes in relation to exposing the origin of the flag as a 
JIMAGE_RESOURCE look fine. (Could potentially have been its own RFE but 
that's just bookkeeping.)

No further comment on the actual ThreadPriorityPolicy change. :)

Cheers,
David

On 7/03/2020 3:51 am, Vladimir Kozlov wrote:
> 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