RFR: 8308975: Fix signed integer overflow in compiler code, part 2

Andrew Haley aph at openjdk.org
Sat May 27 08:42:54 UTC 2023


On Fri, 26 May 2023 22:20:17 GMT, Dean Long <dlong at openjdk.org> wrote:

> This is a followup from part 1.  I had to use java_add/subtract/multiply/negate in a few more places.
> cpu_loads_process had an overflow on BSD when the first snapshot is relative to the epoch in 1970.
> Use unsigned for C2 Type hash functions.

Thanks, that looks like a great improvement.

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

Marked as reviewed by aph (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14188#pullrequestreview-1447231303


More information about the hotspot-dev mailing list