RFR: 8316632: Shenandoah: Raise OOME when gc threshold is exceeded
William Kemper
wkemper at openjdk.org
Wed Sep 20 22:49:50 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).
-------------
Commit messages:
- Fix 32-bit build error
- Do not use atomics in header
- Signal gc threshold exceeded when appropriate
Changes: https://git.openjdk.org/jdk/pull/15852/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15852&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316632
Stats: 55 lines in 6 files changed: 42 ins; 3 del; 10 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