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

Y. Srinivas Ramakrishna ysr at openjdk.org
Wed Oct 16 20:09:32 UTC 2024


On Wed, 21 Aug 2024 17:07:53 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.
>
> BTW, I can't figure out what jcheck whitespace is complaining about.  I think it is reporting the wrong line number.  jcheck on my local copy does not report a whitespace problem.

@kdnilsen : Should this become a draft for now?

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

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


More information about the shenandoah-dev mailing list