RFR: DRAFT: Expand old on demand [v22]

Kelvin Nilsen kdnilsen at openjdk.org
Sat Apr 22 18:07:35 UTC 2023


> This PR describes several proposed changes to dynamically adjust the sizes of old-gen and young-gen.  In general, the objective is to keep old-gen as small as possible so that there is an abundance of memory available for the young-gen allocation runway.
> 
> As currently drafted, there are regression failures.  This DRAFT PR is published for the purpose of facilitating a careful code review.

Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:

  More fixes to verification of deferred generation accounting
  
  During promote in place, certain regions are re-affiilated old before the
  total amounts of memory consumed by these regions have been tallied into
  the respective region's totals.

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

Changes:
  - all: https://git.openjdk.org/shenandoah/pull/248/files
  - new: https://git.openjdk.org/shenandoah/pull/248/files/3bce0b19..5ab4fd1f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=shenandoah&pr=248&range=21
 - incr: https://webrevs.openjdk.org/?repo=shenandoah&pr=248&range=20-21

  Stats: 15 lines in 1 file changed: 13 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/shenandoah/pull/248.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah.git pull/248/head:pull/248

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


More information about the shenandoah-dev mailing list