RFR: 8321401: Shenandoah: Each mutator must see FullGC before throwing OOM
Y. Srinivas Ramakrishna
ysr at openjdk.org
Tue Dec 5 23:30:35 UTC 2023
On Tue, 5 Dec 2023 20:30:54 GMT, Kelvin Nilsen <kdnilsen 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?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16985#discussion_r1416398792
More information about the hotspot-gc-dev
mailing list