JDK-6807084 : AutoBox elimination is broken with compressed oops
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-02-18
  • Updated: 2010-04-03
  • Resolved: 2009-03-18
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 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
Description
Compressed oops broke AutoBox elimination because of DecodeN nodes in ideal graph.
AutoBox elimination optimization looks for Integer objects load from AutoBox cache array
in an ideal graph and expects LoadP nodes.
With compressed oops it gets DecodeN( LoadN ) instead of LoadP.

Comments
PUBLIC COMMENTS Problem: AutoBox elimination code looks for an Integer object load from AutoBox cache array in ideal graph and expects LoadP nodes. With compressed oops it gets DecodeN( LoadN ) instead of LoadP and bails out. Solution: Add checks for DecodeN nodes into AutoBox elimination code.
19-02-2009

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/5d75ab5f6698
19-02-2009