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

Albert Noll albert.noll at oracle.com
Wed Jun 5 03:25:41 PDT 2013


Hi,

I closed this bug as a duplicate of:
https://jbs.oracle.com/bugs/browse/JDK-8010724

Best,
Albert

On 04.06.2013 11:22, Albert Noll wrote:
> 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/20130605/3793a7da/attachment.html 


More information about the hotspot-compiler-dev mailing list