RFR: Abandon mixed collections if all candidates are pinned [v4]

William Kemper wkemper at openjdk.org
Fri Mar 31 18:13:58 UTC 2023


> A new `WAITING_FOR_FILL` state has been added to the old generation. This state is now entered when all the candidates for a mixed collection cycle are found to be pinned (which should be quite rare). This state permits a new old generation collection cycle to begin (which itself begins with making these regions parseable).
> 
> This change also adds a new diagnostic flag `ShenandoahCoalesceChance` which is the probability (expressed as a percentage) of abandoning all the candidates of a mixed collection. Any abandoned candidate regions will be made parseable.

William Kemper has updated the pull request incrementally with one additional commit since the last revision:

  Fix typos in comments, update ascii state diagram

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

Changes:
  - all: https://git.openjdk.org/shenandoah/pull/236/files
  - new: https://git.openjdk.org/shenandoah/pull/236/files/22b70629..7dddc164

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=shenandoah&pr=236&range=03
 - incr: https://webrevs.openjdk.org/?repo=shenandoah&pr=236&range=02-03

  Stats: 32 lines in 2 files changed: 7 ins; 0 del; 25 mod
  Patch: https://git.openjdk.org/shenandoah/pull/236.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah.git pull/236/head:pull/236

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


More information about the shenandoah-dev mailing list