Integrated: Fix assertion error with advance promotion budgeting

Kelvin Nilsen kdnilsen at openjdk.org
Tue Nov 1 16:32:08 UTC 2022


On Mon, 31 Oct 2022 14:31:49 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> Round-off errors were resulting in an assertion error.  Budgeting calculations are "complicated" because only regions that are fully empty may be loaned from old-gen to young-gen.  This change recalculates certain values during budgeting adjustments that follow collection set selection rather than endeavoring to make changes to the values computed before collection set selection.  The API is simpler as a result.

This pull request has now been integrated.

Changeset: 22ff4b91
Author:    Kelvin Nilsen <kdnilsen at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/22ff4b919f7b8af0fd880f56a3a23edd701bb322
Stats:     282 lines in 2 files changed: 173 ins; 53 del; 56 mod

Fix assertion error with advance promotion budgeting

Reviewed-by: rkennke

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

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


More information about the shenandoah-dev mailing list