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

Roland Westrelin roland.westrelin at oracle.com
Mon Apr 29 08:43:07 PDT 2013


Hi Albert,

It doesn't look like a correct fix to me. src_con == NULL shouldn't be possible here AFAICT. It would mean that src is not of type object which shouldn't happen so by making this change we're actually allowing a broken return value to go unnoticed.
This said, I'm not sure what code change would prevent parfait from complaining while keeping the code correct.

Roland.


More information about the hotspot-compiler-dev mailing list