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

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Dec 22 20:23:29 UTC 2017


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