RFR: 8324995: Shenandoah: Skip to full gc for humongous allocation failures [v3]
Kelvin Nilsen
kdnilsen at openjdk.org
Thu Feb 8 22:16:04 UTC 2024
On Wed, 31 Jan 2024 21:50:06 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> Shenandoah degenerated cycles do not compact regions. When a humongous allocation fails, it is likely due to fragmentation which is better addressed by a full gc.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix typo in comment
There isn't enough memory right now. But there may have been at the end of the most recent GC. The question: Is a normal GC likely to reclaim enough contiguous memory to satisfy the humongous allocation request. If the previous normal GC was successful, then the new one is also likely to be successful.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17638#issuecomment-1935015624
More information about the hotspot-gc-dev
mailing list