JDK-5057225 : Remove useless I2L conversions
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2004-06-03
  • Updated: 2014-01-18
  • Resolved: 2009-12-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
6u18Fixed 7Fixed hs16Fixed
Related Reports
Relates :  
Relates :  
The optimizer should be told to normalize (AndL (ConvI2L x) 0xFF) to (ConvI2L   
(AndI x 0xFF)), and then the existing matcher rule will work for free.  The    
suggested fix is OK only as a point fix in Tiger, since it mixes optimizer     
knowledge into the matcher.                                                    
The optimizer should commute I2L with And for any mask that fits in 32 bits.    
Also, the matcher should get rid of LDSB for any mask less than 0xFF.   Also,  
the matcher should remove useless I2UL conversions in more places.  These are  
more profitable and complex fixes, for Dragon.                         

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/18a08a7e16b5

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang

EVALUATION Dragon work ###@###.### 2004-06-03