Request for reviews (S): 6814842: Load shortening optimizations

Tom Rodriguez Thomas.Rodriguez at Sun.COM
Mon Mar 9 11:24:59 PDT 2009


You can't simply replace a load of one size with a load of a different  
size without dealing with the endianness issue.  Even if you deal with  
that, I also think there are issues with alias analysis understanding  
that a load at +3 within an int is in the same alias class as a load  
at +0.  The current code assumes that operations start at the  
beginning of the field.  I'm also not sure the rest of the system will  
be very happy with non-int loads on an int memory slice.  I think a  
lot of testing would be required for such a change.

tom

On Mar 9, 2009, at 11:15 AM, Christian Thalinger wrote:

> http://cr.openjdk.java.net/~twisti/6814842/webrev.00/
>




More information about the hotspot-compiler-dev mailing list