RFR: 8236073: G1: Use SoftMaxHeapSize to guide GC heuristics [v5]
Thomas Schatzl
tschatzl at openjdk.org
Tue Apr 1 16:09:20 UTC 2025
On Tue, 1 Apr 2025 08:40:09 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> Man Cao has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Revise test summary
>
> src/hotspot/share/gc/g1/g1CollectedHeap.cpp line 2066:
>
>> 2064: size_t G1CollectedHeap::soft_max_capacity() const {
>> 2065: return clamp(align_up(SoftMaxHeapSize, HeapAlignment), MinHeapSize,
>> 2066: max_capacity());
>
> Maybe this clamping of `SoftMaxHeapSize` should be part of argument processing.
Ignore this - `SoftMaxHeapsize` is managable after all.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24211#discussion_r2023162750
More information about the hotspot-gc-dev
mailing list