Re: [JAVA PATCH] Enable more array bounds check elimination

Andrew Haley <[email protected]> Mon, 22 Feb 2016 18:13:39 +0000
Newsgroups gmane.comp.gcc.java.patches
Message-ID <[email protected]>
On 02/22/2016 06:10 PM, [email protected] 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.