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

Rui Li duke 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

This pull request has now been integrated.

Changeset: 974ad4e8
Author:    Rui Li <ruiamzn at amazon.com>
Committer: William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/974ad4e8cdddee7d932e8375258067f9d2ca6a8b
Stats:     7 lines in 4 files changed: 0 ins; 3 del; 4 mod

8359868: Shenandoah: Free threshold heuristic does not use SoftMaxHeapSize

Reviewed-by: wkemper

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

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


More information about the shenandoah-dev mailing list