RFR: 8260042: G1 Post-cleanup liveness printing occurs too early

Thomas Schatzl tschatzl at openjdk.java.net
Thu Jan 21 08:54:05 UTC 2021


Hi all,

  can I have reviews for this small change that fixes position of the Post-cleanup liveness printing, causing wrong gc efficiencies to be printed?

I.e. due to some older changes, the calculation of gc efficiences got moved below the printing of the Post-cleanup liveness which should be about these values. This change corrects that.

Note that there is a sister issue about not printing the gc efficiencies in the "Post-Marking" phase. This is not scope of this change.

Testing: manual testing that values are correct, hs-tier1+2

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

Commit messages:
 - Initial version

Changes: https://git.openjdk.java.net/jdk/pull/2168/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2168&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260042
  Stats: 10 lines in 2 files changed: 5 ins; 5 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2168.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2168/head:pull/2168

PR: https://git.openjdk.java.net/jdk/pull/2168



More information about the hotspot-gc-dev mailing list