JDK-7173340 : C2: code cleanup: use PhaseIterGVN::replace_edge(Node*, int, Node*) where applicable
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:hs24
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2012-05-31
Updated:2013-10-23
Resolved:2012-06-16
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Replace next frequent code pattern in C2:
_igvn.hash_delete(n);
n->set_req(i, in);
_igvn._worklist.push(n);
with a call to PhaseIterGVN::replace_edge(Node* n, int i, Node* in).