RFR(xxs): 8146695: FinalizeTest04 crashes VM with EXCEPTION_INT_DIVIDE_BY_ZERO

sangheon sangheon.kim at oracle.com
Fri Jan 8 16:34:21 UTC 2016


Hi Jesper,

Thanks for the review!

Sangheon


On 01/08/2016 08:33 AM, Jesper Wilhelmsson wrote:
> Looks good!
> /Jesper
>
> Den 8/1/16 kl. 17:30, skrev sangheon:
>> Hi all,
>>
>> Could I have reviews for the below tiny change to avoid zero division?
>>
>> Recent change introduced to divide by current non-daemon thread count 
>> and we
>> need to check the value to be at least larger than zero when we divide.
>>
>> CR: https://bugs.openjdk.java.net/browse/JDK-8146695
>> Webrev: http://cr.openjdk.java.net/~sangheki/8146695/webrev.00/
>> Testing: JPRT
>>
>> Thanks,
>> Sangheon




More information about the hotspot-gc-dev mailing list