RFR: 8310606: Fix signed integer overflow, part 3

Tobias Hartmann thartmann at openjdk.org
Fri Jun 23 06:44:01 UTC 2023


On Thu, 22 Jun 2023 19:53:19 GMT, Dean Long <dlong at openjdk.org> wrote:

> Most of these changes are straight-forward, but these could use some explaining:
> 
> AllocatePrefetchDistance was accessed before it's dynamic constraint function got run.  I changed it to use static constraints.
> 
> RangeCheckEliminator::update_bound(): for constant bounds with meaningless values, bail out.  For X + c bounds, use Java wrap-around semantics.

Looks good to me.

-------------

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14619#pullrequestreview-1494485940


More information about the hotspot-dev mailing list