RFR: 8316632: Shenandoah: Raise OOME when gc threshold is exceeded [v4]

William Kemper wkemper at openjdk.org
Mon Oct 2 21:31:13 UTC 2023


> Shenandoah will run back-to-back full GCs and _almost_ grind mutator progress to a halt before eventually exhausting memory. This change will have Shenandoah raise a gc threshold exceeded exception if the collector fails to make progress after `ShenandoahNoProgressThreshold` full GC cycles (default is 3).

William Kemper has updated the pull request incrementally with two additional commits since the last revision:

 - Merge check for no-progress into retry allocation block
 - Revert change to TEST.groups

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15852/files
  - new: https://git.openjdk.org/jdk/pull/15852/files/cd4989e7..1971467f

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

  Stats: 33 lines in 2 files changed: 10 ins; 14 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/15852.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15852/head:pull/15852

PR: https://git.openjdk.org/jdk/pull/15852


More information about the hotspot-gc-dev mailing list