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

John Rose john.r.rose at oracle.com
Thu Feb 11 20:07:36 UTC 2016

On Feb 11, 2016, at 4:46 AM, Roland Westrelin <roland.westrelin at oracle.com> wrote:
> overflow issue in the binary search 

The outer parens look wrong on the fix.  You want to cast to int *after* dividing by two, I think.

— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160211/1b21be09/attachment-0001.html>

More information about the hotspot-compiler-dev mailing list