RFR: 8345374: Ubsan: runtime error: division by zeroavoid divide by zero
Julian Waters
jwaters at openjdk.org
Tue Dec 31 06:58:34 UTC 2024
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.
Looks alright, but I think the title needs to be changed to match the one on the tracker
-------------
Marked as reviewed by jwaters (Committer).
PR Review: https://git.openjdk.org/jdk/pull/22893#pullrequestreview-2526212615
More information about the hotspot-gc-dev
mailing list