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

Aleksey Shipilev shade at openjdk.org
Wed Nov 8 16:01:06 UTC 2023


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.

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/16564/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16564&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319725
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16564.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16564/head:pull/16564

PR: https://git.openjdk.org/jdk/pull/16564


More information about the hotspot-gc-dev mailing list