RFR: 8305892: G1: Fix G1MMUTracker::when_sec documentation

Thomas Schatzl tschatzl at openjdk.org
Mon Apr 17 10:30:33 UTC 2023


On Wed, 12 Apr 2023 09:11:14 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial comment-only change.

Lgtm and trivial. Fwiw I fixed one additional typo.

src/hotspot/share/gc/g1/g1MMUTracker.cpp line 137:

> 135: // Next, return `balance_timestamp - limit`.
> 136: //
> 137: // When there are no enough GC events, i.e. we have a surplus budget, a new GC

Suggestion:

// When there are not enough GC events, i.e. we have a surplus budget, a new GC

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

Marked as reviewed by tschatzl (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13441#pullrequestreview-1387736814
PR Review Comment: https://git.openjdk.org/jdk/pull/13441#discussion_r1168486471


More information about the hotspot-gc-dev mailing list