Integrated: Simplify crossing map implementation

Kelvin Nilsen kdnilsen at openjdk.java.net
Tue Feb 1 22:00:46 UTC 2022


On Tue, 1 Feb 2022 21:11:28 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> The crossing map maintains a record of the first and last objects
> starting within each remembered set card's range of memory addresses.
> The previous implementations used bit-shifts.  It was detected during
> testing that the c++ compiler was emitting incorrect code in certain
> in-line expansions of the register_object() method.  gdb reports that
> there are 56 distinct contexts holding the expansion of this function.
> This simplified implementation does not exhibit the same broken
> behavior.

This pull request has now been integrated.

Changeset: e91c55cc
Author:    Kelvin Nilsen <kdnilsen at openjdk.org>
URL:       https://git.openjdk.java.net/shenandoah/commit/e91c55ccd5885e23d4666ab915860a1f61558f94
Stats:     77 lines in 2 files changed: 21 ins; 31 del; 25 mod

Simplify crossing map implementation

Reviewed-by: wkemper

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

PR: https://git.openjdk.java.net/shenandoah/pull/107


More information about the shenandoah-dev mailing list