RFR: 8147500: The HashtableTextDump::get_num() should check for integer overflow
Jiangli Zhou
jiangli.zhou at oracle.com
Tue Jan 19 17:02:48 UTC 2016
Thank you, Ioi.
Jiangli
> On Jan 18, 2016, at 8:42 PM, Ioi Lam <ioi.lam at oracle.com> wrote:
>
> Hi Jiangli,
>
> The changes look good to me. Thanks for fixing this.
>
> - Ioi
>
> On 1/15/16 4:05 PM, Jiangli Zhou wrote:
>> Please review the following improvements to HashtableTextDump::get_num() and HashtableTextDump::corrupted_if() described in JDK-8147500 <https://bugs.openjdk.java.net/browse/JDK-8147500>.
>>
>> - The HashtableTextDump::get_num() is use to parse an integer value from the input file. It should check for integer overflow and report error without continuing.
>> - The HashtableTextDump::corrupted_if() should take an additional argument so caller can pass a meaningful error message.
>>
>> Webrev: http://cr.openjdk.java.net/~jiangli/8147500/webrev.00/
>>
>> Thanks,
>> Jiangli
>>
>>
>>
>>
>
More information about the hotspot-runtime-dev
mailing list