Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6515373
Votes 0
Synopsis Self referenced phi causes assert in falltrough case in RegionNode::Ideal
Category hotspot:compiler2
Reported Against
Release Fixed hs10(b07), 6u2(b01) (Bug ID:2146112) , 7(b07) (Bug ID:2176841)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 5067347
Submit Date 19-JAN-2007
Description
Self referenced phi causes assert in falltrough case in RegionNode::Ideal():

 assert(dead->outcnt() == 0 && !dead->is_top(), "node must be dead");

The stack looks like:

  [3] PhaseIterGVN::remove_dead_node()
  [4] PhaseIterGVN::subsume_node()
  [5] RegionNode::Ideal()
  [6] PhaseIterGVN::transform_old()
  [7] PhaseIterGVN::optimize

The ideal case has found a phi with a single input and wants to replace it. The single input is itself!

 2644   Phi     ===  2641  2644
Posted Date : 2007-01-19 20:38:44.0
Work Around
N/A
Evaluation
The assert is causes by this call where n == n->in(1):

  igv->subsume_node(n, n->in(1));
Posted Date : 2007-01-19 20:38:44.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang