RFR: DRAFT: Expand old on demand [v41]

Kelvin Nilsen kdnilsen at openjdk.org
Thu May 4 23:21:56 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:

  Weaken some assertions
  
  As written, these assertions fail if generation->is_global().  It may
  work to rewrite these assertions using accessor methods used(),
  humongous_waste(), and affiliated_region_count() instead of the instance
  field values.

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

Changes:
  - all: https://git.openjdk.org/shenandoah/pull/248/files
  - new: https://git.openjdk.org/shenandoah/pull/248/files/81ae25aa..53b4b5a2

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

  Stats: 20 lines in 1 file changed: 10 ins; 0 del; 10 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