This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [JAVA PATCH] Enable more array bounds check elimination
- From: Andrew Haley <aph at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Mon, 22 Feb 2016 18:13:39 +0000
- Subject: Re: [JAVA PATCH] Enable more array bounds check elimination
- Authentication-results: sourceware.org; auth=none
- References: <4F362C11-3DAA-4A9A-AEAB-089C20B3590C at nextmovesoftware dot com>
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.