Integrated: 8312321: GenShen: Remembered set scan may encounter garbage objects

William Kemper wkemper at openjdk.org
Thu Jul 20 15:47:27 UTC 2023


On Tue, 18 Jul 2023 21:56:20 GMT, William Kemper <wkemper at openjdk.org> wrote:

> During a global cycle, regions with no live objects may be reclaimed early (before evacuation). Once this happens, we _must_ coalesce and fill any dead objects in old regions because they may hold pointers into the reclaimed regions (even if the gc is cancelled before coalesce and fill). A subsequent scan of the remembered set may crash if it encounters these objects.

This pull request has now been integrated.

Changeset: 0fbfe199
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/0fbfe199cd81170463ff717f1e3d48698a72ccb0
Stats:     8 lines in 1 file changed: 4 ins; 0 del; 4 mod

8312321: GenShen: Remembered set scan may encounter garbage objects

Reviewed-by: kdnilsen

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

PR: https://git.openjdk.org/shenandoah/pull/297


More information about the shenandoah-dev mailing list