United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6807084 AutoBox elimination is broken with compressed oops
JDK-6807084 : AutoBox elimination is broken with compressed oops

Details
Type:
Enhancement
Submit Date:
2009-02-18
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2009-03-18
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs15 (b03)

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

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
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/5d75ab5f6698
                                     
2009-02-19
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.
                                     
2009-02-19



Hardware and Software, Engineered to Work Together