RFR(XS) 8029446: assert(_cfg.get_block_for_node(proj) == borig) failed: incorrect block for kill projections

Niclas Adlertz niclas.adlertz at oracle.com
Tue Dec 17 06:50:35 PST 2013


Hi all,

Problem:
In this crash we are trying to re-materialize a loadConP0 node. When 
cloning it, we also want to clone its kill projection node (if any) and 
we check that the kill projection node is in the same block as the 
loadConP0 node. The problem is that the kill projection node is never 
added to the loadConP0 node's block when it is created so we end up 
failing the assert.

Solution:
Add the kill projection node to the same block as the loadConP0 node 
during creation.

Kind Regards,
Niclas Adlertz

BUG: https://bugs.openjdk.java.net/browse/JDK-8029446
WEBREV: http://cr.openjdk.java.net/~adlertz/JDK-8029446/webrev00/



More information about the hotspot-compiler-dev mailing list