RFR: Usage tracking cleanup

William Kemper wkemper at openjdk.org
Tue Apr 18 00:32:18 UTC 2023


On Mon, 17 Apr 2023 22:33:05 GMT, William Kemper <wkemper at openjdk.org> wrote:

> There are many nuances to tracing memory utilization. Shenandoah track's usage, waste by humongous objects, padding for promotion LABs alignment and all this is also tracked by generation, the heap and feeds into the heuristics and the pacer. The code to update all of these values and route them to the right places was spread across the allocation call stack. This change consolidates all of the logic into one method, invoked near the end of the allocation.

There are no new regressions here.

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

PR Comment: https://git.openjdk.org/shenandoah/pull/260#issuecomment-1512274971


More information about the shenandoah-dev mailing list