RFR: 8344026: [s390x] ubsan failure: signed integer overflow in c1_LIRGenerator_s390.cpp

Amit Kumar amitkumar at openjdk.org
Fri Nov 15 12:44:53 UTC 2024


This PR adds `c > 0 && c < max_jint` check in c1_LIRGenerator_s390.cpp. Please look JBS for more info.

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

Commit messages:
 - parentheses around ||
 - s390x: fix
 - Revert "add safety net"
 - add safety net

Changes: https://git.openjdk.org/jdk/pull/22144/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22144&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344026
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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