RFR: 8338534: GenShen: Handle alloc failure differently when immediate garbage is pending

Y. Srinivas Ramakrishna ysr at openjdk.org
Fri Aug 30 15:03:21 UTC 2024


On Wed, 21 Aug 2024 14:48:55 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> Several changes are implemented here:
> 
> 1. Re-order the phases that execute immediately after final-mark so that we do concurrent-cleanup quicker (but still after concurrent weak references)
> 2. After immediate garbage has been reclaimed by concurrent cleanup, notify waiting allocators
> 3. If an allocation failure occurs while immediate garbage recycling is pending, stall the allocation but do not cancel the concurrent gc.

% find . -type f -name "*pp" | xargs grep -n " $" 
./src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp:2467:

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

PR Comment: https://git.openjdk.org/shenandoah/pull/479#issuecomment-2319161564


More information about the shenandoah-dev mailing list