Integrated: Fix preemption of coalesce and fill
Kelvin Nilsen
kdnilsen at openjdk.org
Wed Nov 2 23:33:34 UTC 2022
On Wed, 2 Nov 2022 23:22:20 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
> It is necessary to check the return status of entry_coalesce_and_fill() during ShenandoahOldGeneration::prepare_gc().
>
> Otherwise, when coalesce-and-fill is preempted before it is completed, we will reset the old-gen mark bitmap and invoke old_generation->set_mark_incomplete() before the coalesce-and-fill effort is resumed. This results in an assertion failure with debug builds, or incomplete coalesce-and-fill results with release builds.
This pull request has now been integrated.
Changeset: 50c54581
Author: Kelvin Nilsen <kdnilsen at openjdk.org>
URL: https://git.openjdk.org/shenandoah/commit/50c54581270be169eb5c931dc16dfb4f4c8552bc
Stats: 7 lines in 1 file changed: 3 ins; 2 del; 2 mod
Fix preemption of coalesce and fill
Reviewed-by: wkemper
-------------
PR: https://git.openjdk.org/shenandoah/pull/166
More information about the shenandoah-dev
mailing list