RFR: 8332697: ubsan: shenandoahSimpleBitMap.inline.hpp:68:23: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int' [v4]
William Kemper
wkemper at openjdk.org
Tue Oct 1 21:55:36 UTC 2024
On Tue, 1 Oct 2024 21:44:48 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.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
>
> Inline unnecessary usages of right_n_bits
I'd prefer to keep the scope of these changes limited to this file. This is the only place where this seems to be a problem in the JDK and I think it's just because we abused a macro we shouldn't have.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21236#issuecomment-2387142276
More information about the hotspot-gc-dev
mailing list