RFR: Enforce that generation sizes align with region sizes

Kelvin Nilsen kdnilsen at openjdk.org
Wed Jan 4 17:22:29 UTC 2023


On Wed, 4 Jan 2023 16:12:35 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> For correctness, the size of each generation should be a multiple of the region size.
> 
> A recent change violated this requirement.

I discovered this problem because of an assertion failure in a separate branch that was based on mainline.  I added the same assertion into this branch and verified through our internal pipeline regression testing that the two corrections to existing implementation resolve the assertion failure and do not introduce any other regressions.

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

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


More information about the shenandoah-dev mailing list