RFR: 8342861: GenShen: Old generation in unexpected state when abandoning mixed gc candidates [v2]

Kelvin Nilsen kdnilsen at openjdk.org
Thu Oct 24 15:32:28 UTC 2024


On Wed, 23 Oct 2024 23:13:00 GMT, William Kemper <wkemper at openjdk.org> wrote:

>> When the generational mode cannot add any old regions to a mixed collection because they are _all_ pinned, it gives up trying to evacuate these regions. The regions must then be made parsable. However, if this phase is interrupted by a young collection it should no longer try to evacuate any old regions. Doing so triggered an assert when testing with `-XX:ShenandoahCoalesceChance=80` and `XX:+ShenandoahAllocFailureALot`.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Problem list failing reference processing test

Marked as reviewed by kdnilsen (Committer).

Wondering if maybe we should introduce a new test as a regression check: Before, we triggered an assert when testing with -XX:ShenandoahCoalesceChance=80 and XX:+ShenandoahAllocFailureALot.

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

PR Review: https://git.openjdk.org/shenandoah/pull/522#pullrequestreview-2393048211
PR Comment: https://git.openjdk.org/shenandoah/pull/522#issuecomment-2435612663


More information about the shenandoah-dev mailing list