RFR: 8321401: Shenandoah: Each mutator must see FullGC before throwing OOM

Kelvin Nilsen kdnilsen at openjdk.org
Wed Dec 6 14:16:42 UTC 2023


On Tue, 5 Dec 2023 23:28:18 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

>> Require each thread to observe unproductive Full GC before it throws OOM exception.
>
> src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp line 885:
> 
>> 883:     // This will notify the collector to start a cycle, but will raise
>> 884:     // an OOME to the mutator if the last Full GCs have not made progress.
>> 885:     if (result == nullptr && !req.is_lab_alloc() && get_gc_no_progress_count() > ShenandoahNoProgressThreshold) {
> 
> Does this render `ShenandoahNoProgressThreshold` a dead option?

Good point.  It is no longer relevant.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16985#discussion_r1417391908


More information about the shenandoah-dev mailing list