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.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Description
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).

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5e990493719e
29-06-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/5e990493719e
13-06-2012

EVALUATION yes
31-05-2012