Integrated: 8307139: Fix signed integer overflow in compiler code, part 1

Dean Long dlong at openjdk.org
Thu May 11 18:09:50 UTC 2023


On Wed, 3 May 2023 00:22:58 GMT, Dean Long <dlong at openjdk.org> wrote:

> These changes attempt to fix signed overflow caught by running tier1 with -ftrapv.  I expect more changes will be needed.
> Most of the fixes are straight-forward and involve using unsigned or java_* functions that wrap.  However, I did try to improve the usefulness of _debug_idx because as it was the high digits of the value were monotonic but unpredictable.  Now the high digits use the compile_id, which seems like an improvement.

This pull request has now been integrated.

Changeset: 7fcb0fdc
Author:    Dean Long <dlong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7fcb0fdcd453d02002b751db6d59ad274b3b59c7
Stats:     70 lines in 22 files changed: 6 ins; 22 del; 42 mod

8307139: Fix signed integer overflow in compiler code, part 1

Reviewed-by: thartmann, rcastanedalo, kvn

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

PR: https://git.openjdk.org/jdk/pull/13767


More information about the hotspot-dev mailing list