RFR: 8332697: ubsan: shenandoahSimpleBitMap.inline.hpp:68:23: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int' [v4]

William Kemper wkemper at openjdk.org
Tue Oct 1 21:44:48 UTC 2024


> Use a template version of `right_n_bits` to use the same type for minuend and subtrahend.

William Kemper has updated the pull request incrementally with one additional commit since the last revision:

  Inline unnecessary usages of right_n_bits

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21236/files
  - new: https://git.openjdk.org/jdk/pull/21236/files/97d1272b..fdff7d68

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21236&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21236&range=02-03

  Stats: 37 lines in 3 files changed: 7 ins; 4 del; 26 mod
  Patch: https://git.openjdk.org/jdk/pull/21236.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21236/head:pull/21236

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


More information about the hotspot-gc-dev mailing list