RFR(XS) 8191854: Null pointer dereference in methodData.hpp:462

dean.long at oracle.com dean.long at oracle.com
Sat Dec 23 06:04:16 UTC 2017


Thanks Vladimir.


dl


On 12/22/17 12:23 PM, Vladimir Kozlov wrote:
> Good.
>
> Thanks,
> Vladimir
>
> On 12/21/17 6:52 PM, dean.long at oracle.com wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8191854
>> http://cr.openjdk.java.net/~dlong/8191854/webrev/
>>
>> This fixes a possible null pointer dereference here:
>>
>>            int count = 
>> mdo->bci_to_data(branch_bci)->as_JumpData()->taken();
>>            tty->print_cr("back branch count = %d", count);
>>
>> if bci_to_data() returns NULL.
>>
>> dl



More information about the hotspot-compiler-dev mailing list