RFR: 8319725: G1: Subtracting virtual time from wall time after JDK-8319204

Albert Mingkun Yang ayang at openjdk.org
Wed Nov 8 16:36:00 UTC 2023


On Wed, 8 Nov 2023 15:52:50 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Noticed this when looking at the [JDK-8319204](https://bugs.openjdk.org/browse/JDK-8319204) changeset: we end subtracting `elapsedVTime()` vs `elapsedTime()`, which looks incorrect, as it does math on two unrelated quantities.

Thank you for catching this.

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

Marked as reviewed by ayang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16564#pullrequestreview-1720794998


More information about the hotspot-gc-dev mailing list