RFR: 8157133: CompactHashtableWriter SIGFPE when num bucket is zero

Robbin Ehn robbin.ehn at oracle.com
Thu Jun 16 07:36:24 UTC 2016


Hi Dmitry,

This change have already been pushed in hg revision 11272.

Sorry for the confusion and thanks reviewing!

The case I created was for verifying that the calculations are as 
intended. (this is a bit unclear)

My thought was whoever does that can also address your concern with the 
division, since I already pushed this.

Thanks!

/Robbin


On 06/16/2016 09:21 AM, Dmitry Samersoff wrote:
> Robbin,
>
> 1. You are listed as a reporter, but not as an assignee of the CR.
> Please fix it.
>
> 2. This is comments to your fix not to the problem it self. Not sure we
> should put review comments to the CR.
>
> -Dmitry
>
>
> On 2016-06-16 10:09, Robbin Ehn wrote:
>> Hi Dmitry,
>>
>> There is a bug for this calculation:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8157557
>>
>> Please comment your concerns there.
>>
>> /Robbin
>>
>>
>> On 06/15/2016 03:26 PM, Dmitry Samersoff wrote:
>>> Robbin,
>>>
>>> It might be better to refactor the code a bit, to avoid unnecessary
>>> division:
>>>
>>> int number_of_entrises = the_table()->number_of_entries();
>>> int num_buckets =
>>>           (number_of_entries > SharedSymbolTableBucketSize) ?
>>>           number_of_entries/SharedSymbolTableBucketSize : 1;
>>>
>>> -Dmitry
>>>
>>> On 2016-05-17 16:43, Robbin Ehn wrote:
>>>> Hi all,
>>>>
>>>> Please review!
>>>>
>>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8157133
>>>> Webrev: http://cr.openjdk.java.net/~rehn/8157133/webrev/
>>>>
>>>> Tested with hotspot_jprt and
>>>> hotspot/test/runtime/CommandLine/OptionsValidation/
>>>>
>>>> Thanks!
>>>>
>>>> /Robbin
>



More information about the hotspot-runtime-dev mailing list