RFR: 8328822: C2: "negative trip count?" assert failure in profile predicate code
Aleksey Shipilev
shade at openjdk.org
Wed Apr 10 08:51:09 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 and simple enough to me.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18707#pullrequestreview-1991133565
More information about the hotspot-compiler-dev
mailing list