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

William Kemper wkemper at openjdk.org
Thu Oct 26 18:28:17 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 16 additional commits since the last revision:

 - Merge remote-tracking branch 'openjdk/master' into shenandoah-oome-redux
 - Remove unnecessary nesting and other differences
 - Update formatting
 - Make explicit field for Shenandoah
 - Restore original retry logic, pull gc overhead check back over retry
 - Merge branch 'openjdk-master' into shenandoah-oome-redux
 - Merge check for no-progress into retry allocation block
 - Revert change to TEST.groups
 - Merge remote-tracking branch 'openjdk/master' into shenandoah-oome-redux
 - Extend exemption for EATests that rely on timely OOME to Shenandoah
 - ... and 6 more: https://git.openjdk.org/jdk/compare/1787b19e...95f3379a

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15852/files
  - new: https://git.openjdk.org/jdk/pull/15852/files/4154370c..95f3379a

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

  Stats: 17285 lines in 730 files changed: 10879 ins; 3673 del; 2733 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