RFR: 8312610: GenShen: Old generation available is unintentionally restricted by mutator's available memory [v2]

Kelvin Nilsen kdnilsen at openjdk.org
Mon Jul 24 17:57:19 UTC 2023


On Mon, 24 Jul 2023 15:42:46 GMT, William Kemper <wkemper at openjdk.org> wrote:

>> Only young gen allocations should be restricted to memory in the mutator's view of the freeset.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Restore single-generation computation of "soft" available

Marked as reviewed by kdnilsen (Committer).

src/hotspot/share/gc/shenandoah/shenandoahYoungGeneration.cpp line 101:

> 99: size_t ShenandoahYoungGeneration::available() const {
> 100:   // The collector reserve may eat into what the mutator is allowed to use. Make sure we are looking
> 101:   // at what is available to the mutator when reporting how much memory is avilable.

small typo here: available

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

PR Review: https://git.openjdk.org/shenandoah/pull/301#pullrequestreview-1543948317
PR Review Comment: https://git.openjdk.org/shenandoah/pull/301#discussion_r1272554793


More information about the shenandoah-dev mailing list