Regression introduced by the fix for 6773078.
LoadKlass node without control edge moved above the oop NULL check.
Note, during parsing LoadKlass node's control edge is not set
because it will be set during CCP phase when a CastPP is removed.
Restore the code which sets a control edge for a klass load node.
Add the code which sets a control edge for a klass narrow load
node instead of DecodeN node to fix 6773078 bug.
Add the assert to check that a DecodeN node does not have
a control edge (for 6773078).
Fix verified (y/n): y, both tests from 6773078 and 6782820
Comment added by paalst(###@###.###) :
We still get this error with hs14-b16, 64bit vm on Redhat Linux, with -XX:+UseCompressedOops set. See bug #6826736. Please let me know if you need my hs_err files.
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)