Request for review: 8016302: Change type of the number of GC workers to unsigned int (2)
Vladimir Kempik
vladimir.kempik at oracle.com
Wed Apr 9 11:27:49 UTC 2014
Hello
With few modifications this patch can be backported to jdk7.
Do you think it worth to port it to jdk7?
Thanks. Vladimir.
On 03.04.2014 16:40, Thomas Schatzl wrote:
> Hi,
>
> On Thu, 2014-04-03 at 15:41 +0400, Vladimir Kempik wrote:
>> Hello
>>
>> I've used UINT32_FORMAT because:
>>
>> 1) previous format type for worker was INT32_FORMAT, when worker was int
>>
>> 2) there is no such thing as UINT_FORMAT, there is only UINTX_FORMAT
>>
>> Do you think UINTX_FORMAT is better than UINT32_FORMAT for this case ?
> UINTX_FORMAT or uintx is an unsigned data type that has 32 or 64 bit
> size depending on the processes' word size.
>
> I think UINT32_FORMAT is correct here, and used elsewhere for uint
> variables. Afaik uint is 32 bits on all platforms we use.
>
> Thanks,
> Thomas
>
>
More information about the hotspot-gc-dev
mailing list