Integrated: 8306331: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if

Dean Long dlong at openjdk.org
Fri Apr 28 16:07:24 UTC 2023


On Thu, 20 Apr 2023 02:44:00 GMT, Dean Long <dlong at openjdk.org> wrote:

> This change removes undefined behavior caused by signed overflow, which triggered an assert with Xcode14.3+1.0-beta1 on macos aarch64.

This pull request has now been integrated.

Changeset: a177152f
Author:    Dean Long <dlong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a177152f224cdaa3ef24a90baa57f1b42c0cc220
Stats:     26 lines in 1 file changed: 24 ins; 0 del; 2 mod

8306331: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if

Reviewed-by: thartmann, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list