Integrated: 8359868: Shenandoah: Free threshold heuristic does not use SoftMaxHeapSize

William Kemper wkemper at openjdk.org
Tue Jul 8 22:02:05 UTC 2025


On Tue, 8 Jul 2025 18:42:49 GMT, Rui Li <duke at openjdk.org> wrote:

> Shenandoah some of the usages of [ShenandoahMinFreeThreshold](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shenandoah/shenandoah_globals.hpp#L193) and [ShenandoahCriticalFreeThreshold](https://github.com/openjdk/jdk/blob/ba0c12231b0f5b680951e75765b5d292f31a2cbc/src/hotspot/share/gc/shenandoah/shenandoah_globals.hpp#L445) use max capacity instead of [soft max capacity](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shared/gc_globals.hpp#L528). 
> 
> This change replaces those usages with soft max heap size values.
> 
> tier1 tests are in progress

LGTM. Thank you!

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

Marked as reviewed by wkemper (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26199#pullrequestreview-2999155933


More information about the shenandoah-dev mailing list