Integrated: Use CardTable::card_size_in_words rather than hard coded constant

William Kemper wkemper at openjdk.org
Mon Dec 19 23:22:15 UTC 2022


On Fri, 16 Dec 2022 18:20:20 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Calculation assumed 64 words per card, which does not hold on 32 bit word platforms. The number of words per card also depends on `GCCardSizeInBytes` command line parameter.

This pull request has now been integrated.

Changeset: 1a962380
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/1a9623802c3595300fd796539e1a75aa3533cda6
Stats:     16 lines in 2 files changed: 3 ins; 2 del; 11 mod

Use CardTable::card_size_in_words rather than hard coded constant

Reviewed-by: ysr, kdnilsen

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

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


More information about the shenandoah-dev mailing list