United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6814842 Load shortening optimizations
JDK-6814842 : Load shortening optimizations

Details
Type:
Enhancement
Submit Date:
2009-03-09
Status:
Resolved
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2009-06-17
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
hs15
Fixed Versions:
hs16 (b04)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
6797305 handles load widening but no shortening which should be covered here.

For example:

  char c = (char) (intarray[i] & 0xFFFF);

                                    

Comments
EVALUATION

Integer shortening optimizations are no problem and working, but long shorting is difficult (see 6667618).  I will not include long shortening optimizations here.
                                     
2009-03-09
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2056494941db
                                     
2009-05-13



Hardware and Software, Engineered to Work Together