RFR(S): 8007986: GrowableArray should implement binary search

John Rose john.r.rose at oracle.com
Fri Feb 12 03:18:52 UTC 2016

On Feb 11, 2016, at 4:33 PM, Vitaly Davidovich <vitalyd at gmail.com> wrote:
> Optimize better how? The concern here would be idiv but gcc seems to strength reduce this code without uint just fine.

No, idiv-by-2 is not an issue.  My concern is simply instruction count: add/shift vs. sub/shift/add.

More information about the hotspot-compiler-dev mailing list