RFR: 8329163: C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()

Roland Westrelin roland at openjdk.org
Wed Mar 27 10:04:44 UTC 2024


This change avoids the overflow of `ABS(scale)` when `scale` is `min_jlong`.

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

Commit messages:
 - fix

Changes: https://git.openjdk.org/jdk/pull/18508/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18508&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329163
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18508.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18508/head:pull/18508

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


More information about the hotspot-compiler-dev mailing list