RFR: JDK-8314777: GenShen: Alias young and old marking bits to legacy Shenandoah marking bit in gc state

Kelvin Nilsen kdnilsen at openjdk.org
Tue Aug 22 18:31:20 UTC 2023


On Tue, 22 Aug 2023 00:10:42 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> This change sets the MARKING bit of _gc_state whenever either Young marking or Old marking is active.  With this change, barrier code more closely resembles the code in the original single-generation Shenandoah.  The performance impact is negligible.  The primary benefit is to simplify code reviews and clarify that the addition of generational mode to Shenandoah does not negatively impact performance of single-generation Shenandoah.

Seems to be a bug in jcheck white-space error reports.

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

PR Comment: https://git.openjdk.org/shenandoah/pull/309#issuecomment-1688617455


More information about the shenandoah-dev mailing list