RFR: Assert that region usage accounting is only accessed in generational mode

William Kemper wkemper at openjdk.org
Thu May 11 15:26:43 UTC 2023


On Wed, 10 May 2023 20:39:49 GMT, William Kemper <wkemper at openjdk.org> wrote:

> There was one unrelated test failure in the github actions (running G1).

Yes, it's the latter scenario. The global generation exists in all modes, but the implementation of `used_regions` is only correct for the generational mode. The assert is intended to show that this specific method is only called in generational mode.

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

PR Comment: https://git.openjdk.org/shenandoah/pull/278#issuecomment-1544194800


More information about the shenandoah-dev mailing list