Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6814842
Votes 0
Synopsis Load shortening optimizations
Category hotspot:compiler2
Reported Against
Release Fixed hs16(b04), 7(b61) (Bug ID:2179095) , 6u18(b01) (Bug ID:2180633)
State 10-Fix Delivered, request for enhancement
Priority: 5-Very Low
Related Bugs 6667618
Submit Date 09-MAR-2009
Description
6797305 handles load widening but no shortening which should be covered here.

For example:

  char c = (char) (intarray[i] & 0xFFFF);
Posted Date : 2009-03-09 14:34:51.0
Work Around
N/A
Evaluation
Integer shortening optimizations are no problem and working, but long shorting is difficult (see 6667618).  I will not include long shortening optimizations here.
Posted Date : 2009-03-09 17:26:33.0

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2056494941db
Posted Date : 2009-05-13 10:04:31.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang