A simple optimization proposal (original) (raw)
John Rose john.r.rose at oracle.com
Wed Feb 12 21:47:58 PST 2014
- Previous message: A simple optimization proposal
- Next message: A simple optimization proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
One point behind the bug report is to give a little reward to Java coders who write dominating tests that exclude a.length==0, as:
if (a.length == 0) goAway(); else return a[i & a.length-1];
Kris, can your patch do this? The logic in IfNode can probably elide the duplicate dominating test, if the right normalizations occur. ��
– John
On Feb 12, 2014, at 6:05 PM, Martin Grajcar <maaartinus at gmail.com> wrote:
That's what I've meant with goAway. My point was the jump using already computed flags -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140212/da94ecb2/attachment-0001.html
- Previous message: A simple optimization proposal
- Next message: A simple optimization proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list