RFR: 8371475: HttpClient: Implement CUBIC congestion controller [v3]

Daniel Jeliński djelinski at openjdk.org
Fri Nov 21 10:21:09 UTC 2025


On Mon, 17 Nov 2025 15:24:13 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> It cannot overflow when used correctly (i.e. when packetBytes < congestionWindow, and congestionWindow < 2 * MAX_BYTES_IN_FLIGHT).
>
> if congestionWindow >= minimumWindow is an invariant, maybe we should assert it whenever we change congestionWindow.

Added the assertions in the base class.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28195#discussion_r2549222644


More information about the net-dev mailing list