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

William Kemper wkemper at openjdk.org
Fri Dec 16 18:26:21 UTC 2022


Calculation assumed 64 words per card, which does not hold on 32 bit word platforms

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

Commit messages:
 - Use CardTable::card_size_in_words rather than hard coded constant
 - Add more detail to assertion message

Changes: https://git.openjdk.org/shenandoah/pull/186/files
 Webrev: https://webrevs.openjdk.org/?repo=shenandoah&pr=186&range=00
  Stats: 17 lines in 2 files changed: 6 ins; 4 del; 7 mod
  Patch: https://git.openjdk.org/shenandoah/pull/186.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah pull/186/head:pull/186

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


More information about the shenandoah-dev mailing list