Integrated: 8345374: Ubsan: runtime error: division by zero
Kim Barrett
kbarrett at openjdk.org
Thu Jan 2 08:14:40 UTC 2025
On Mon, 30 Dec 2024 01:07:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to G1HeapSizingPolicy to avoid a float division by
> zero when calculating the maximum desired capacity with a MaxHeapFreeRatio
> value of 100%.
>
> Testing: mach5 tier1 with G1 and MaxHeapFreeRatio=100.
This pull request has now been integrated.
Changeset: a87bc7e4
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a87bc7e4f0e797a108f447a1c9801abe39b700da
Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod
8345374: Ubsan: runtime error: division by zero
Reviewed-by: jwaters, ayang, amitkumar
-------------
PR: https://git.openjdk.org/jdk/pull/22893
More information about the hotspot-gc-dev
mailing list