RFR: 8366157: Clarify in man pages that only G1 and Parallel supports MaxGCPauseMillis [v3]

Albert Mingkun Yang ayang at openjdk.org
Fri Aug 29 09:34:44 UTC 2025


On Fri, 29 Aug 2025 09:29:10 GMT, Jonas Norlinder <duke at openjdk.org> wrote:

>> Hi all,
>> 
>> This patch clarifies the description of `MaxGCPauseMillis`.
>
> Jonas Norlinder has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Parallel do support a pause time target but does not use it by default

src/java.base/share/man/java.md line 2505:

> 2503: :   Sets a target for the maximum GC pause time (in milliseconds). This is a
> 2504:     soft goal, and the JVM will make its best effort to achieve it. Only G1
> 2505:     and Parallel supports a maximum GC pause time target. For G1, the default

I guess  "Only G1 and Parallel support this flag." is enough to convey the meaning.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26940#discussion_r2309678849


More information about the hotspot-gc-dev mailing list