RFR: 8324995: Shenandoah: Skip to full gc for humongous allocation failures [v3]
William Kemper
wkemper at openjdk.org
Thu Feb 8 21:56:06 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
So, it sounds like there is not much value in going straight to a full GC? I don't think we can really know ahead of time whether or not a degenerated cycle will free up enough contiguous regions to satisfy the humongous allocation request. We could make an educated guess based on heap fragmentation and occupancy.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17638#issuecomment-1934992101
More information about the shenandoah-dev
mailing list