RFR (XXS): 8006105: [parfait] Possible null pointer dereference at hotspot/src/share/vm/c1/c1_LIRGenerator.cpp

Albert Noll albert.noll at oracle.com
Tue Jun 4 02:22:09 PDT 2013


Hi,

I added an assert to check that src_con is not NULL. Is this solution ok?
http://cr.openjdk.java.net/~anoll/8006105/webrev.01/ 
<http://cr.openjdk.java.net/%7Eanoll/8006105/webrev.01/>

Best,
Albert

jbs: https://jbs.oracle.com/bugs/browse/JDK-8006105

On 29.04.2013 20:22, Roland Westrelin wrote:
>> How about using guarantee(...) to ensure that src_con != NULL?
> An assert is really the only thing that would make sense here.
>
> Roland.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130604/bf152bdf/attachment.html 


More information about the hotspot-compiler-dev mailing list