RFR: 8344026: Ubsan: prevent potential integer overflow in c1_LIRGenerator_<arch>.cpp file [v7]

Amit Kumar amitkumar at openjdk.org
Fri Nov 22 16:53:34 UTC 2024


> This PR converts datatype from `jint` to `juint` for contstant `c` check in c1_LIRGenerator_<arch>.cpp. Please look JBS for more info.

Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:

  revert to c for -1 check

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22144/files
  - new: https://git.openjdk.org/jdk/pull/22144/files/38428857..cad8a9bc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22144&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22144&range=05-06

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/22144.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22144/head:pull/22144

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


More information about the hotspot-compiler-dev mailing list