RFR: Reserve regions for the collector according to generational reserves

William Kemper wkemper at openjdk.java.net
Thu Jun 9 17:29:16 UTC 2022


When the freeset is rebuilt, it reserves a number of regions for evacuation proportional to the total size of the heap. With default settings, this will reserve more regions than intended for the generational mode and may lead to premature allocation failures for mutators.

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

Commit messages:
 - Reserve regions for the collector according to generational reserves

Changes: https://git.openjdk.org/shenandoah/pull/143/files
 Webrev: https://webrevs.openjdk.java.net/?repo=shenandoah&pr=143&range=00
  Stats: 20 lines in 2 files changed: 16 ins; 3 del; 1 mod
  Patch: https://git.openjdk.org/shenandoah/pull/143.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah pull/143/head:pull/143

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


More information about the shenandoah-dev mailing list