RFR: 8345374: Ubsan: runtime error: division by zero
Amit Kumar
amitkumar at openjdk.org
Thu Jan 2 06:54:37 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.
Marked as reviewed by amitkumar (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/22893#pullrequestreview-2527088351
More information about the hotspot-gc-dev
mailing list