Integrated: 8332697: ubsan: shenandoahSimpleBitMap.inline.hpp:68:23: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int'

William Kemper wkemper at openjdk.org
Wed Oct 2 22:56:42 UTC 2024


On Fri, 27 Sep 2024 21:29:37 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Use a template version of `right_n_bits` to use the same type for minuend and subtrahend.

This pull request has now been integrated.

Changeset: 57c1db58
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/57c1db5843db5f2c864318f3234767f436a836e3
Stats:     34 lines in 3 files changed: 7 ins; 0 del; 27 mod

8332697: ubsan: shenandoahSimpleBitMap.inline.hpp:68:23: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int'

Reviewed-by: phh, kdnilsen

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

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


More information about the shenandoah-dev mailing list