[JAVA PATCH] Enable more array bounds check elimination

Andrew Haley aph@redhat.com
Mon Feb 22 18:13:00 GMT 2016


On 02/22/2016 06:10 PM, roger@nextmovesoftware.com wrote:
> Please let me know what you think (for stage 1 once it reopens)?

It's an interesting approach.  I have a few times discussed with
optimization people the idea of marking some fields as "effectively
const" so that we can do the bounds check elimination.  However, these
discussions came to naught.

I take it that this only really works with new arrays?

Thanks,

Andrew.



More information about the Java-patches mailing list