RFR: 8328822: C2: "negative trip count?" assert failure in profile predicate code

Roland Westrelin roland at openjdk.org
Wed Apr 10 07:42:20 UTC 2024


The assert failure is caused by:

ABS(min_jint) = min_jint


Given the `ABS` is part of a floating computation, the fix I propose
is to cast the value to float before the `ABS`.

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

Commit messages:
 - test
 - test
 - fix

Changes: https://git.openjdk.org/jdk/pull/18707/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18707&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328822
  Stats: 65 lines in 2 files changed: 64 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18707.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18707/head:pull/18707

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


More information about the hotspot-compiler-dev mailing list