RFR(S): 8215265: C2: range check elimination may allow illegal out of bound access
rwestrel at redhat.com
Mon Dec 17 13:06:01 UTC 2018
Thanks for looking at this.
> but like this, you may unnecessarily increase the number of iterations
> of the pre-loop, right?
Right. By one iteration. The other way of doing this would to change the
limit computation to something like:
(loop - limit + scale - 1) /scale
but then we would need to worry about loop - limit + scale - 1
overflowing I think.
More information about the hotspot-compiler-dev