RFR: 8338534: GenShen: Handle alloc failure differently when immediate garbage is pending
Kelvin Nilsen
kdnilsen at openjdk.org
Fri Aug 30 15:03:20 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.
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.
-------------
PR Comment: https://git.openjdk.org/shenandoah/pull/479#issuecomment-2302574316
More information about the shenandoah-dev
mailing list