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

Christian Hagedorn chagedorn at openjdk.org
Wed Apr 10 10:40:10 UTC 2024


On Wed, 10 Apr 2024 07:37:20 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> 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`.

Looks good to me, too.

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18707#pullrequestreview-1991348810


More information about the hotspot-compiler-dev mailing list