RFR: 8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
duke
duke at openjdk.org
Mon Jul 22 17:32:36 UTC 2024
On Fri, 12 Jul 2024 20:50:30 GMT, Henry Lin <duke at openjdk.org> wrote:
> Changed the check to require `linear` to be nonzero to prevent division by zero errors report by `ubsan`. `linear > 0` implies that `count > 0` so the count variable is no longer necessary.
@Henry-Lin-A
Your change (at version cf6fb062f7fac3e919ce0427b71ea0bf99054ac9) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20163#issuecomment-2243461577
More information about the hotspot-gc-dev
mailing list