RFR: 8316632: Shenandoah: Raise OOME when gc threshold is exceeded
Y. Srinivas Ramakrishna
ysr at openjdk.org
Sat Sep 23 01:50:23 UTC 2023
On Thu, 21 Sep 2023 21:57:16 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> When a mutator allocation fails, it will block on this call and wait to be notified by the control thread to retry the allocation. The notification follows a degenerated or full GC.
>
> With this change, the mutator is also allowed to call the non-blocking version when it cannot allocate because the GC overhead has been exceeded. I didn't make sense to me to have the mutator block and wait for a GC cycle when the GC threshold is already exceeded.
OK, thanks, that makes sense.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15852#discussion_r1334903148
More information about the hotspot-gc-dev
mailing list