Integrated: 8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
Henry Lin
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.
This pull request has now been integrated.
Changeset: b5575942
Author: Henry Lin <hny at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b5575942027281166676678e2081b024ec572644
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
Reviewed-by: shade, rkennke
-------------
PR: https://git.openjdk.org/jdk/pull/20163
More information about the hotspot-gc-dev
mailing list